first commit -push

This commit is contained in:
dungtt
2025-10-15 15:15:53 +07:00
parent 674ae395be
commit a9577c5756
885 changed files with 74595 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
namespace RobotNet.Script;
/// <summary>
/// Trạng thái trả về mỗi step trong quá trình thực hiện nhiệm vụ.
/// </summary>
/// <param name="Step"></param>
/// <param name="Message"></param>
public record MissionState(int Step, string Message);
/// <summary>
/// Khai báo một nhiệm vụ trong hệ thống RobotNet.
/// </summary>
/// <param name="isMultipleRun"></param>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class MissionAttribute(bool isMultipleRun = true) : Attribute
{
/// <summary>
/// Cho phép nhiệm vụ này có thể chạy nhiều lần hay không.
/// </summary>
public bool IsMultipleRun { get; } = isMultipleRun;
}