¶Ô±ÈÐÂÎļþ |
| | |
| | | using Yw.Model; |
| | | |
| | | namespace HStation.Model |
| | | { |
| | | /// <summary> |
| | | /// æ³µåå· |
| | | /// </summary> |
| | | [SysType("xhs-pumpmain")] |
| | | [SugarTable("xhs-pumpmain")] |
| | | public class PumpMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain() |
| | | { } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain(PumpMain rhs) : base(rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.PumpSeriesID = rhs.PumpSeriesID; |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.RatedEfficiency = rhs.RatedEfficiency; |
| | | this.RatedPower = rhs.RatedPower; |
| | | this.Erosion = rhs.Erosion; |
| | | this.D2 = rhs.D2; |
| | | this.TagName = rhs.TagName; |
| | | this.RatedSpeed = rhs.RatedSpeed; |
| | | this.RatedHead = rhs.RatedHead; |
| | | this.RatedFlow = rhs.RatedFlow; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | public void Reset(PumpMain rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.PumpSeriesID = rhs.PumpSeriesID; |
| | | this.RatedEfficiency = rhs.RatedEfficiency; |
| | | this.RatedPower = rhs.RatedPower; |
| | | this.Erosion = rhs.Erosion; |
| | | this.D2 = rhs.D2; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.PumpSeriesID = rhs.PumpSeriesID; |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.RatedSpeed = rhs.RatedSpeed; |
| | | this.RatedHead = rhs.RatedHead; |
| | | this.RatedFlow = rhs.RatedFlow; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åç§° |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 泵系åID |
| | | /// </summary> |
| | | public long PumpSeriesID { 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 int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®è½¬é |
| | | /// </summary> |
| | | public double RatedSpeed { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æµé |
| | | /// </summary> |
| | | public double RatedFlow { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æ¬ç¨ |
| | | /// </summary> |
| | | public double RatedHead { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æç |
| | | /// </summary> |
| | | public double RatedEfficiency { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®åç |
| | | /// </summary> |
| | | public double RatedPower { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ°è |
| | | /// </summary> |
| | | public double? Erosion { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¶è½®å¤å¾ |
| | | /// </summary> |
| | | public double? D2 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说æ |
| | | /// </summary> |
| | | public string? Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain Clone() |
| | | { |
| | | return (PumpMain)this.MemberwiseClone(); |
| | | } |
| | | |
| | | object ICloneable.Clone() |
| | | { |
| | | return this.MemberwiseClone(); |
| | | } |
| | | } |
| | | } |