using System; using System.Runtime.InteropServices; namespace IStation.Model { public class PumpSignalRecord { public PumpSignalRecord() { } public PumpSignalRecord(Model.PumpSignalRecord rhs) { this.EnginePumpID = rhs.EnginePumpID; this.RunStatus = rhs.RunStatus; this.FlowRate = rhs.FlowRate; this.TotalFlow = rhs.TotalFlow; this.InletPressure = rhs.InletPressure; this.OutletPressure = rhs.OutletPressure; this.InstantaneousPower = rhs.InstantaneousPower; this.TotalActiveEnergy = rhs.TotalActiveEnergy; } /// /// 机泵标识 /// public long EnginePumpID { get; set; } /// /// 运行状态 /// public int? RunStatus { get; set; } /// /// 瞬时流量 /// public double? FlowRate { get; set; } /// /// 累计流量 /// public double? TotalFlow { get; set; } /// /// 进口压力 /// public double? InletPressure { get; set; } /// /// 出口压力 /// public double? OutletPressure { get; set; } /// /// 瞬时功率 /// public double? InstantaneousPower { get; set; } /// /// 有功电能 /// public double? TotalActiveEnergy { get; set; } } }