using System; using System.Collections.Generic; namespace SWS.Model { /// /// 版 本 PIT-ADMS V7.0.3 敏捷开发框架 /// Copyright (c) 2013-2018 Hexagon PPM /// 创 建:YuXH /// 日 期:2022-06-21 15:32 /// 描 述:开关实体 /// public class ec_CircuitBreaker { #region 实体成员 /// /// 分电箱的Id(不在Enginedata_rel中存储) /// /// public string PDBId { get; set; } /// /// 电缆的工程ID,而不是ec_cable里的id,如果多个就逗号分隔 /// /// public string CableID { get; set; } /// /// 顺序 /// public int OrderId { get; set; } ///// ///// ID ///// ///// //[Column("ID")] //public string ID { get; set; } /// /// 脱扣线圈的Id /// /// public string CoilId { get; set; } = ""; /// /// 名字 /// public string Name { get; set; } = ""; /// /// 目前只有在本表里有,不会在表里出现对应的记录 /// /// public string EngineerDataID { get; set; } /// /// 创建人 /// /// public string CreateUserID { get; set; } /// /// 创建时间 /// /// public DateTime? CreateTime { get; set; } /// /// 更新人 /// /// public string UpdateUserID { get; set; } /// /// 更新时间 /// /// public DateTime? UpdateTime { get; set; } #endregion #region 扩展字段 /// /// 是否需要起动器 /// /// public int? NeedStarter { get; set; } /// /// 起动类型 /// /// public string StartType { get; set; } /// /// 顺序起动分组结果 /// /// public string SequentialStartGroup { get; set; } /// /// 是否带交流电流表 /// /// public int? ACAmmeter { get; set; } /// /// 起动方式 /// /// public string StartModel { get; set; } /// /// 可逆 /// /// public int? REV { get; set; } /// /// 是否自动起动 /// /// public int? AutoStart { get; set; } /// /// 是否带运行时间表 /// /// public int? RHM { get; set; } /// /// 欠压方式 /// /// public string UVMode { get; set; } /// /// GUFO里有 /// public string Relay_Type { get; set; } = ""; /// /// GUFO里有 /// public double? Delay_Time { get; set; } = 0.0; /// /// GUFO里有 /// public string Power_Opening { get; set; } = ""; /// /// GUFO里有 /// public string Power_Closing { get; set; } = ""; /// /// 相数 /// public int Phase { get; set; } /// /// 额定电压 /// public string Rated_Voltage { get; set; } = ""; /// /// 开关的类型,输入(In)输出(Out) /// /// public string CB_Type { get; set; } = ""; /// /// 最大值(额定电流) 负载的 /// public string Capacity_Max { get; set; } = ""; /// /// 整定电流 /// public string Capacity_Set { get; set; } = ""; /// /// 实际电流(但是具体存储是在property里,只是getBreaker时,用到这个结构而已) /// public string Capacity_Act { get; set; } = ""; /// /// 分电箱的位号(表enginedata里) /// public string PDBName { get; set; } /// /// 分电箱的类型(表objecttype里) /// public string ObjectTypeName { get; set; } public Coil Coil { get; set; } /// /// 电缆,如果多个就逗号分隔 /// /// public string CableName { get; set; } /// /// 关联的电缆ID(可能有多个) /// public List CableIDs { get; set; } /// /// 关联的电缆名字(实际上就一个) /// public List CableTagNumbers { get; set; } /// /// 对面的设备信息(包括设备类型、设备位号、开关号等) /// public string RemoteDeviceId { get; set; } /// /// 对面的开关(不一定有) /// public ec_CircuitBreaker RemoteCB { get; set; } public string RemoteDeviceName { get; set; } public string RemoteDeviceObjectType { get; set; } #endregion } /// /// 脱扣线圈 /// public class Coil { public string Id { get; set; } public string Name { get; set; } /// /// ES功能 /// public string Func_ES { get; set; } /// /// PT功能 /// public string Func_PT { get; set; } } }