JobAction.cs 686 字节
using System;
using System.Collections.Generic;
using System.Text;

namespace DeviceLib.Model.AGV
{
    /// <summary>
    /// Job运行动作
    /// </summary>
    public class JobAction
    {
        /// <summary>
        /// 主运行动作
        /// </summary>
        public ActionType ActionType { get; private set; } = ActionType.CommonToLine;
        /// <summary>
        /// 手动确认后运行动作
        /// </summary>
        public ActionType SubActionType { get; private set; } = ActionType.None;
        public void SetAction(int main,int sub)
        {
            ActionType =(ActionType) main;
            SubActionType = (ActionType)sub;
        }
    }
}