using HybirdFrameworkDriver.ModbusTcpMaster; namespace Service.Ups.Msg; /// /// 遥测 /// public class UpsRemoteComm { public ModbusProperty BypassVoltPhA { get; set; } = new(30001, scale: 0.1, round: 1); public ModbusProperty BypassVoltPhB { get; set; } = new(30002, scale: 0.1, round: 1); public ModbusProperty BypassVoltPhC { get; set; } = new(30003, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhA { get; set; } = new(30004, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhB { get; set; } = new(30005, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhC { get; set; } = new(30006, scale: 0.1, round: 1); public ModbusProperty BypassFreqencyPhA { get; set; } = new(30007, scale: 0.01, round: 2); public ModbusProperty BypassFreqencyPhB { get; set; } = new(30008, scale: 0.01, round: 2); public ModbusProperty BypassFreqencyPhC { get; set; } = new(30009, scale: 0.01, round: 2); public ModbusProperty BypassPfA { get; set; } = new(30010, scale: 0.01, round: 2); public ModbusProperty BypassPfB { get; set; } = new(30011, scale: 0.01, round: 2); public ModbusProperty BypassPfC { get; set; } = new(30012, scale: 0.01, round: 2); public ModbusProperty InputVoltPhaseA { get; set; } = new(30013, scale: 0.1, round: 1); public ModbusProperty InputVoltPhaseB { get; set; } = new(30014, scale: 0.1, round: 1); public ModbusProperty InputVoltPhaseC { get; set; } = new(30015, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseA { get; set; } = new(30016, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseB { get; set; } = new(30017, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseC { get; set; } = new(30018, scale: 0.1, round: 1); public ModbusProperty InputFrequencyPhaseA { get; set; } = new(30019, scale: 0.01, round: 2); public ModbusProperty InputFrequencyPhaseB { get; set; } = new(30020, scale: 0.01, round: 2); public ModbusProperty InputFrequencyPhaseC { get; set; } = new(30021, scale: 0.01, round: 2); public ModbusProperty InputPfA { get; set; } = new(30022, scale: 0.01, round: 2); public ModbusProperty InputPfB { get; set; } = new(30023, scale: 0.01, round: 2); public ModbusProperty InputPfC { get; set; } = new(30024, scale: 0.01, round: 2); public ModbusProperty OutputVoltPhaseA { get; set; } = new(30025, scale: 0.1, round: 1); public ModbusProperty OutputVoltPhaseB { get; set; } = new(30026, scale: 0.1, round: 1); public ModbusProperty OutputVoltPhaseC { get; set; } = new(30027, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseA { get; set; } = new(30028, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseB { get; set; } = new(30029, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseC { get; set; } = new(30030, scale: 0.1, round: 1); public ModbusProperty OutputFrequencyPhaseA { get; set; } = new(30031, scale: 0.01, round: 2); public ModbusProperty OutputFrequencyPhaseB { get; set; } = new(30032, scale: 0.01, round: 2); public ModbusProperty OutputFrequencyPhaseC { get; set; } = new(30033, scale: 0.01, round: 2); public ModbusProperty OutputPfA { get; set; } = new(30034, scale: 0.01, round: 2); public ModbusProperty OutputPfB { get; set; } = new(30035, scale: 0.01, round: 2); public ModbusProperty OutputPfC { get; set; } = new(30036, scale: 0.01, round: 2); //TODO:: 0.1/1 public ModbusProperty OutputKvaPhaseA { get; set; } = new(30037, scale: 0.1, round: 1); public ModbusProperty OutputKvaPhaseB { get; set; } = new(30038, scale: 0.1, round: 1); public ModbusProperty OutputKvaPhaseC { get; set; } = new(30039, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseA { get; set; } = new(30040, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseB { get; set; } = new(30041, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseC { get; set; } = new(30042, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseA { get; set; } = new(30043, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseB { get; set; } = new(30044, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseC { get; set; } = new(30045, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseA { get; set; } = new(30046, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseB { get; set; } = new(30047, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseC { get; set; } = new(30048, scale: 0.1, round: 1); public ModbusProperty EnvironmentTemp { get; set; } = new(30049, scale: 0.1, round: 1); public ModbusProperty BatteryVoltPositive { get; set; } = new(30050, scale: 0.1, round: 1); public ModbusProperty BatteryVoltNegative { get; set; } = new(30051, scale: 0.1, round: 1); public ModbusProperty BatteryCurrentPositive { get; set; } = new(30052, scale: 0.1, round: 1); public ModbusProperty BatteryCurrentNegative { get; set; } = new(30053, scale: 0.1, round: 1); public ModbusProperty BatteryTemp { get; set; } = new(30054, scale: 0.1, round: 1); public ModbusProperty BatteryRemainTime { get; set; } = new(30055, scale: 0.1, round: 1); public ModbusProperty BatteryCapacity { get; set; } = new(30056, scale: 0.1, round: 1); public ModbusProperty Reserved1 { get; set; } = new(30057); public ModbusProperty Reserved2 { get; set; } = new(30058); public ModbusProperty Reserved3 { get; set; } = new(30059); public ModbusProperty Reserved4 { get; set; } = new(30060); public ModbusProperty Reserved5 { get; set; } = new(30061); public ModbusProperty Reserved6 { get; set; } = new(30062); public ModbusProperty Reserved7 { get; set; } = new(30063); public ModbusProperty Reserved8 { get; set; } = new(30064); public ModbusProperty Reserved9 { get; set; } = new(30065); public ModbusProperty Reserved10 { get; set; } = new(30066); public ModbusProperty Reserved11 { get; set; } = new(30067); public ModbusProperty MonitorSeriesNum { get; set; } = new(30068); public ModbusProperty FristMonitorVersionNum { get; set; } = new(30069); public ModbusProperty SecondMonitorVersionNum { get; set; } = new(30070); public ModbusProperty InversionCalibratPosition { get; set; } = new(30071, start: 0, length: 1, ModbusDataType.Bit); public ModbusProperty BypassCalibratPosition { get; set; } = new(30071, start: 1, length: 1, ModbusDataType.Bit); public ModbusProperty InputCalibratPosition { get; set; } = new(30071, start: 2, length: 1, ModbusDataType.Bit); public ModbusProperty BatteryCalibratPosition { get; set; } = new(30071, start: 3, length: 1, ModbusDataType.Bit); public ModbusProperty UnitNInvVoltA { get; set; } = new(30072, scale: 0.1, round: 1); public ModbusProperty UnitNInvVoltB { get; set; } = new(30073, scale: 0.1, round: 1); public ModbusProperty UnitNInvVoltC { get; set; } = new(30074, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltA { get; set; } = new(30075, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltB { get; set; } = new(30076, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltC { get; set; } = new(30077, scale: 0.1, round: 1); //public ModbusProperty UpsSeriesNum { get; set; } = new(30078,start:0,length:6); public ModbusProperty Reserve12 { get; set; } = new(30079); public ModbusProperty ProtocolVersion1 { get; set; } = new(30080); }