using System.Collections.Generic; /// /// 项目帧 /// public class P_OPERATION { /// /// 一组项目帧 /// public C_OPERATION OPERATION { set; get; } = new C_OPERATION(); } /// /// 帧集合 /// public class C_OPERATION { /// /// 帧集合 /// public List frames { set; get; } = new List(); } /// /// 帧 /// public class C_Frames { /// /// 帧 /// public string time { set; get; } = "0.01"; /// /// 帧内容集合 /// public List objStates { set; get; } = new List(); public List crafts { set; get; } = new List(); public List signalwrites { set; get; } = new List(); public List visibles { set; get; } = new List(); public List rotations { set; get; } = new List(); public List waits { set; get; } = new List(); public List attachs { set; get; } = new List(); } /// /// 帧内容 /// public class C_ObjStates { /// /// 模型代码 /// public string i { set; get; } = ""; /// /// tx /// public string tx { set; get; } = ""; /// /// ty /// public string ty { set; get; } = ""; /// /// tz /// public string tz { set; get; } = ""; /// /// qx /// public string qx { set; get; } = ""; /// /// qy /// public string qy { set; get; } = ""; /// /// qz /// public string qz { set; get; } = ""; /// /// qw /// public string qw { set; get; } = ""; } /// /// /// public class C_Craft { public string CraftCode { get; set; } public string CraftValue { get; set; } } /// /// 帧信号 /// public class C_Signalwrite { /// /// TagID /// public string TagID { get; set; } /// /// TagValue /// public string TagValue { get; set; } } /// /// /// public class C_Visible { public string ModelCode { get; set; } public string Visible { get; set; } } public class C_Rotation { public string ModelCode { get; set; } public string Axis { get; set; } public int Rate { get; set; } } public class C_Wait { public string WaitStr { get; set; } } public class C_Attach { /// /// /// public string AttachToModelCode { get; set; } = ""; public string AttachToModelName { get; set; } = ""; /// /// /// public List List_AttachModel { get; set; } = new List(); /// /// /// public bool IsTwoWay { get; set; } = false; /// /// /// public bool IsAttach { get; set; } = false; }