using System; using System.Collections.Generic; namespace IMCS.CCS.Models.vo { public class ResponseDigitalTwinsData { /// /// id /// public string id { get; set; } /// /// 设备类型 /// public string deviceType { get; set; } /// /// 设备资源Id /// public string resourceId { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备加工状态 /// public string monitoringStatus { get; set; } /// /// 工序名称 /// public string operationName { get; set; } /// /// 订单名称 /// public string orderName { get; set; } /// /// 订单编号 /// public string orderNumber { get; set; } /// /// 产品名称 /// public string productName { get; set; } /// /// 产品编号 /// public string productNumber { get; set; } /// /// 进给倍率 /// public string feedRate { get; set; } /// /// 主轴倍率 /// public string spindleMagnification { get; set; } /// /// 主轴转速 /// public string spindleSpeed { get; set; } /// /// 主轴负载 /// public string spindleLoad { get; set; } public string mainProg //主程序号 { get; set; } public int partsCount //工件数 { get; set; } public string actFeedSpeed //主轴进给速度 { get; set; } public string feedAxisLoad //进给轴负载 { get; set; } public string servoLoad //伺服负载 { get; set; } public string powerOnTime //开机时长 { get; set; } public string ncSysTime //nc系统时间 { get; set; } public string ncModel //nc型号 { get; set; } public string machineCoordinate //机械坐标 { get; set; } public string relativeCoordinate //相对坐标 { get; set; } public string absoluteCoordinate //绝对坐标 { get; set; } public string runMode //运行模式 { get; set; } public string ncRunTime //NC运行时间 { get; set; } public string currentToolNo //当前刀号 { get; set; } public string runStatus //运行状态 { get; set; } = "空闲"; public string deviceState //设备状态 { get; set; } = "离线"; public List toolsInfo { get; set; } = new List(); public List alarms { get; set; } = new List(); } public class ToolsInfo { public string position { get; set; } public string number { get; set; } public string name { get; set; } public string targetLife { get; set; } //额定寿命 public string rateLife { get; set; } public string useLife { get; set; } public string curTime { get; set; } //0:时间 1:次数 public int lifeType { get; set; } = 0; public string length { get; set; } public string radius { get; set; } public string wearLength { get; set; } public string wearRadius { get; set; } } public class ErrorInfo { public string no { get; set; } public string msg { get; set; } } public class ProcessingParametersData { /// /// 进给倍率 /// public string feedRate { get; set; } /// /// 主轴倍率 /// public string spindleMagnification { get; set; } /// /// 主轴转速 /// public string spindleSpeed { get; set; } /// /// 主轴负载 /// public string spindleLoad { get; set; } } }