namespace AmrControl.Clients { /// /// 德派的电动起子返回的数据结构 /// public class DeprageElecScrewdriver { public GeneralState General { get; set; } //所有的螺丝扭力点监控数据 public List Steps { get; set; } } public class GeneralState { public DateTime Date { get; set; } public int SequenceNumber { get; set; } //状态 “OK/NotOK" public string State { get; set; } //持续运行时间 public int Duration { get; set; } //错误码,0为正常,>0为错误 public int ErrorCode { get; set; } //"超时" public string ErrorText { get; set; } } public class StepState { //步骤点 public int StepNumber { get; set; } //扭力 public ValueNode Torque { get; set; } //角度 public ValueNode Angle { get; set; } //状态 “OK/NotOK" public string State { get; set; } } public class ValueNode { public string Unit{get;set;} public float Value { get;set; } public TargetNode Target { get;set; } } public class TargetNode { public float Target { get; set; } public float Lower { get; set; } public float Upper { get; set; } } }