1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- namespace AmrControl.Clients
- {
- /// <summary>
- /// 德派的电动起子返回的数据结构
- /// </summary>
- public class DeprageElecScrewdriver
- {
- public GeneralState General { get; set; }
- //所有的螺丝扭力点监控数据
- public List<StepState> 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; }
- }
- }
|