using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 机泵 /// public partial class EnginePump : JsonModel, System.ICloneable { /// /// /// public EnginePump() { } /// /// /// public EnginePump(EnginePump rhs) { this.LayoutType = rhs.LayoutType; this.SupportType = rhs.SupportType; this.CouplerType = rhs.CouplerType; this.IsGearbox = rhs.IsGearbox; } /// /// /// public void Reset(EnginePump rhs) { this.LayoutType = rhs.LayoutType; this.SupportType = rhs.SupportType; this.CouplerType = rhs.CouplerType; this.IsGearbox = rhs.IsGearbox; } /// /// 布置类型 /// public eLayoutType LayoutType { get; set; } = eLayoutType.WoShi; /// /// 支撑类型 /// public eSupportType SupportType { get; set; } = eSupportType.GunDongZhouCheng; /// /// 联轴器类型 /// public eCouplerType CouplerType { get; set; } = eCouplerType.GangXing; /// /// 是否存在变速箱 /// public bool IsGearbox { get; set; } /// /// /// public EnginePump Clone() { return (EnginePump)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }