DeviceCheckDto.cs 1.3 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceLib.WebApi.Schemas
{
    public class DeviceCheckDto
    {
        /// <summary>
        /// 设备标识
        /// </summary>
        public string device_code { get; set; }
        /// <summary>
        /// 操作
        /// </summary>
        public string operate { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public string task_type { get; set; }
        /// <summary>
        /// 上料请求
        /// </summary>
        public const string LOAD_REQ = "LOAD_REQ";
        /// <summary>
        /// 上料完成
        /// </summary>
        public const string LOAD_DONE = "LOAD_DONE";
        /// <summary>
        /// 下料请求
        /// </summary>
        public const string UNLOAD_REQ = "UNLOAD_REQ";
        /// <summary>
        /// 下料完成
        /// </summary>
        public const string UNLOAD_DONE = "UNLOAD_DONE";
        /// <summary>
        /// 开门请求
        /// </summary>
        public const string OPEN_DOOR = "OPEN_DOOR";
        /// <summary>
        /// 关门请求
        /// </summary>
        public const string CLOSE_DOOR = "CLOSE_DOOR";
    }
}