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