using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.ViewModel.DEV
{
    //命令
    public class DevCmdViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_Number { get; set; }
        public string C_Description { get; set; }
        public string C_Type { get; set; }
        public string C_TypeName { get; set; }
        public string C_OrgCode { get; set; }
        public string C_OrgName { get; set; }
        public ulong B_RollBack { get; set; }
        public string C_Remark { get; set; }
        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public string C_Creator { get; set; }
        public string C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Modifier { get; set; }
        public string C_Status { get; set; } = "1";
    }

    //指令
    public class DevInstructionViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_Number { get; set; }
        public string C_Protocol { get; set; }
        public string C_ProtocolName { get; set; }
        public string C_Params { get; set; }
        public string C_BoxCode { get; set; }
        public string C_BoxName { get; set; }
        public string C_Remark { get; set; }
        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public string C_Creator { get; set; }
        public string C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Modifier { get; set; }
        public string C_Status { get; set; } = "1";
        public string C_CmdCode { get; set; }
        public int? I_ExeOrder { get; set; }
    }

    //命令-指令
    public class DevCmdInstructionViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_CmdCode { get; set; }
        public string C_CmdName { get; set; }
        public string C_Instruction { get; set; }
        public string C_InstructionName { get; set; }
        public int I_ExeOrder { get; set; }
        public string C_Remark { get; set; }
        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public string C_Creator { get; set; }
    }

    //指令-信息
    public class DevInstructionInfo
    {
        public string C_CmdCode { get; set; }
        public int? I_ExeOrder { get; set; }
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_Number { get; set; }
        public string C_Protocol { get; set; }
        public string C_ProtocolName { get; set; }
        public string C_Params { get; set; }
        public string C_BoxCode { get; set; }
        public string C_BoxName { get; set; }
        public string C_Remark { get; set; }
    }
    //
    public class SendComRabbitMQParam
    {
        public string EveId { get; set; }
        public string BoxId { get; set; }
        public string cmdId { get; set; }
        public string pms { get; set; }
        public string protocol { get; set; }
        public int? sort { get; set; }
    }
}