From 6c88a90d2330a27c0052a22538f6ebd6200faae7 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 21 八月 2024 18:02:15 +0800 Subject: [PATCH] 完善主界面 --- Service/HStation.Service.Assets.Core/02-model/PumpGroupAndMainMap.cs | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/PumpGroupAndMainMap.cs b/Service/HStation.Service.Assets.Core/02-model/PumpGroupAndMainMap.cs new file mode 100644 index 0000000..f32780d --- /dev/null +++ b/Service/HStation.Service.Assets.Core/02-model/PumpGroupAndMainMap.cs @@ -0,0 +1,86 @@ +锘縰sing Yw.Model; + +namespace HStation.Model +{ + /// <summary> + /// 涓氬姟绔� + /// </summary> + [SysType("xhs-pumpmap")] + [SugarTable("xhs-pumpmap")] + public class PumpGroupAndMainMap : BaseModel, IParas, IFlags, ITagName, System.ICloneable + { + /// <summary> + /// + /// </summary> + public PumpGroupAndMainMap() + { } + + /// <summary> + /// + /// </summary> + public PumpGroupAndMainMap(PumpGroupAndMainMap rhs) : base(rhs) + { + this.ID = rhs.ID; + this.PumpGroupID = rhs.PumpGroupID; + this.Paras = rhs.Paras; + this.Flags = rhs.Flags; + this.PumpMainID = rhs.PumpMainID; + this.TagName = rhs.TagName; + this.Description = rhs.Description; + } + + public void Reset(PumpGroupAndMainMap rhs) + { + this.ID = rhs.ID; + this.PumpGroupID = rhs.PumpGroupID; + this.Paras = rhs.Paras; + this.PumpMainID = rhs.PumpMainID; + this.Flags = rhs.Flags; + this.TagName = rhs.TagName; + this.Description = rhs.Description; + } + + /// <summary> + /// 娉电粍ID + /// </summary> + public long PumpGroupID { get; set; } + + /// <summary> + /// 娉靛瀷鍙稩D + /// </summary> + public long PumpMainID { get; set; } + + /// <summary> + /// 鍙傛暟 + /// </summary> + public Dictionary<string, string> Paras { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + public List<string> Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + public string TagName { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + public string Description { get; set; } + + /// <summary> + /// + /// </summary> + public PumpGroupAndMainMap Clone() + { + return (PumpGroupAndMainMap)this.MemberwiseClone(); + } + + object ICloneable.Clone() + { + return this.MemberwiseClone(); + } + } +} \ No newline at end of file -- Gitblit v1.9.3