ÎļþÃû´Ó Service/HStation.Service.Assets.Core/02-model/19-Pressmeter/AssetsPressmeterMain.cs ÐÞ¸Ä |
| | |
| | | namespace HStation.Model |
| | | { |
| | | /// <summary> |
| | | /// åå表 |
| | | ///</summary> |
| | | [SysType("assets-pressmeter-main")] |
| | | /// åå表åå· |
| | | /// </summary> |
| | | public class AssetsPressmeterMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public AssetsPressmeterMain() |
| | | { } |
| | | public AssetsPressmeterMain() { } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public AssetsPressmeterMain(AssetsPressmeterMain rhs) : base(rhs) |
| | | { |
| | | this.Name = rhs.Name; |
| | | this.SeriesID = rhs.SeriesID; |
| | | this.Name = rhs.Name; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.Paras = rhs.Paras == null ? null : new(rhs.Paras); |
| | | this.KeyWords = rhs.KeyWords?.ToList(); |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.SortCode = rhs.SortCode; |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// |
| | | /// </summary> |
| | | public void Reset(AssetsPressmeterMain rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.SeriesID = rhs.SeriesID; |
| | | this.Name = rhs.Name; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.Paras = rhs.Paras == null ? null : new(rhs.Paras); |
| | | this.KeyWords = rhs.KeyWords?.ToList(); |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.SortCode = rhs.SortCode; |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åç§° |
| | | ///</summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç³»åID |
| | | ///</summary> |
| | | /// ç³»åid |
| | | /// </summary> |
| | | public long SeriesID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åç§° |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å±é»ç³»æ° |
| | | ///</summary> |
| | | /// </summary> |
| | | public double MinorLoss { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¯å«å
³é®å |
| | | ///</summary> |
| | | public List<string> KeyWord { get; set; } |
| | | /// å
³é®å |
| | | /// </summary> |
| | | public List<string> KeyWords { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ° |
| | | ///</summary> |
| | | /// </summary> |
| | | public Dictionary<string, string> Paras { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ ç¾ |
| | | ///</summary> |
| | | /// </summary> |
| | | public List<string> Flags { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ å¿ |
| | | ///</summary> |
| | | /// </summary> |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåºç |
| | | ///</summary> |
| | | /// </summary> |
| | | public int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说æ |
| | | ///</summary> |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public AssetsPressmeterMain Clone() |
| | | { |
| | | return (AssetsPressmeterMain)this.MemberwiseClone(); |
| | | return new AssetsPressmeterMain(this); |
| | | } |
| | | |
| | | object ICloneable.Clone() |
| | | { |
| | | return this.MemberwiseClone(); |
| | | return this.Clone(); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |