using HybirdFrameworkDriver.ModbusTcpMaster; namespace Service.Ups.Msg; /// /// 遥信 /// public class UpsRemoteComm { public ModbusProperty BypassVoltPhA { get; set; } = new(40001, scale: 0.1, round: 1); public ModbusProperty BypassVoltPhB { get; set; } = new(40002, scale: 0.1, round: 1); public ModbusProperty BypassVoltPhC { get; set; } = new(40003, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhA { get; set; } = new(40004, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhB { get; set; } = new(40005, scale: 0.1, round: 1); public ModbusProperty BypassCurrentPhC { get; set; } = new(40006, scale: 0.1, round: 1); public ModbusProperty BypassFreqencyPhA { get; set; } = new(40007, scale: 0.01, round: 2); public ModbusProperty BypassFreqencyPhB { get; set; } = new(40008, scale: 0.01, round: 2); public ModbusProperty BypassFreqencyPhC { get; set; } = new(40009, scale: 0.01, round: 2); public ModbusProperty BypassPfA { get; set; } = new(40010, scale: 0.01, round: 2); public ModbusProperty BypassPfB { get; set; } = new(40011, scale: 0.01, round: 2); public ModbusProperty BypassPfC { get; set; } = new(40012, scale: 0.01, round: 2); public ModbusProperty InputVoltPhaseA { get; set; } = new(40013, scale: 0.1, round: 1); public ModbusProperty InputVoltPhaseB { get; set; } = new(40014, scale: 0.1, round: 1); public ModbusProperty InputVoltPhaseC { get; set; } = new(40015, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseA { get; set; } = new(40016, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseB { get; set; } = new(40017, scale: 0.1, round: 1); public ModbusProperty InputCurrentPhaseC { get; set; } = new(40018, scale: 0.1, round: 1); public ModbusProperty InputFrequencyPhaseA { get; set; } = new(40019, scale: 0.01, round: 2); public ModbusProperty InputFrequencyPhaseB { get; set; } = new(40020, scale: 0.01, round: 2); public ModbusProperty InputFrequencyPhaseC { get; set; } = new(40021, scale: 0.01, round: 2); public ModbusProperty InputPfA { get; set; } = new(40022, scale: 0.01, round: 2); public ModbusProperty InputPfB { get; set; } = new(40023, scale: 0.01, round: 2); public ModbusProperty InputPfC { get; set; } = new(40024, scale: 0.01, round: 2); public ModbusProperty OutputVoltPhaseA { get; set; } = new(40025, scale: 0.1, round: 1); public ModbusProperty OutputVoltPhaseB { get; set; } = new(40026, scale: 0.1, round: 1); public ModbusProperty OutputVoltPhaseC { get; set; } = new(40027, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseA { get; set; } = new(40028, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseB { get; set; } = new(40029, scale: 0.1, round: 1); public ModbusProperty OutputCurrentPhaseC { get; set; } = new(40030, scale: 0.1, round: 1); public ModbusProperty OutputFrequencyPhaseA { get; set; } = new(40031, scale: 0.01, round: 2); public ModbusProperty OutputFrequencyPhaseB { get; set; } = new(40032, scale: 0.01, round: 2); public ModbusProperty OutputFrequencyPhaseC { get; set; } = new(40033, scale: 0.01, round: 2); public ModbusProperty OutputPfA { get; set; } = new(40034, scale: 0.01, round: 2); public ModbusProperty OutputPfB { get; set; } = new(40035, scale: 0.01, round: 2); public ModbusProperty OutputPfC { get; set; } = new(40036, scale: 0.01, round: 2); //TODO:: 0.1/1 public ModbusProperty OutputKvaPhaseA { get; set; } = new(40037, scale: 0.1, round: 1); public ModbusProperty OutputKvaPhaseB { get; set; } = new(40038, scale: 0.1, round: 1); public ModbusProperty OutputKvaPhaseC { get; set; } = new(40039, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseA { get; set; } = new(40040, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseB { get; set; } = new(40041, scale: 0.1, round: 1); public ModbusProperty OutputKwPhaseC { get; set; } = new(40042, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseA { get; set; } = new(40043, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseB { get; set; } = new(40044, scale: 0.1, round: 1); public ModbusProperty OutputKvarPhaseC { get; set; } = new(40045, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseA { get; set; } = new(40046, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseB { get; set; } = new(40047, scale: 0.1, round: 1); public ModbusProperty LoadPercentPhaseC { get; set; } = new(40048, scale: 0.1, round: 1); public ModbusProperty EnvironmentTemp { get; set; } = new(40049, scale: 0.1, round: 1); public ModbusProperty BatteryVoltPositive { get; set; } = new(40050, scale: 0.1, round: 1); public ModbusProperty BatteryVoltNegative { get; set; } = new(40051, scale: 0.1, round: 1); public ModbusProperty BatteryCurrentPositive { get; set; } = new(40052, scale: 0.1, round: 1); public ModbusProperty BatteryCurrentNegative { get; set; } = new(40053, scale: 0.1, round: 1); public ModbusProperty BatteryTemp { get; set; } = new(40054, scale: 0.1, round: 1); public ModbusProperty BatteryRemainTime { get; set; } = new(40055, scale: 0.1, round: 1); public ModbusProperty BatteryCapacity { get; set; } = new(40056, scale: 0.1, round: 1); public ModbusProperty Reserved1 { get; set; } = new(40057); public ModbusProperty Reserved2 { get; set; } = new(40058); public ModbusProperty Reserved3 { get; set; } = new(40059); public ModbusProperty Reserved4 { get; set; } = new(40060); public ModbusProperty Reserved5 { get; set; } = new(40061); public ModbusProperty Reserved6 { get; set; } = new(40062); public ModbusProperty Reserved7 { get; set; } = new(40063); public ModbusProperty Reserved8 { get; set; } = new(40064); public ModbusProperty Reserved9 { get; set; } = new(40065); public ModbusProperty Reserved10 { get; set; } = new(40066); public ModbusProperty Reserved11 { get; set; } = new(40067); public ModbusProperty MonitorSeriesNum { get; set; } = new(40068); public ModbusProperty FristMonitorVersionNum { get; set; } = new(40069); public ModbusProperty SecondMonitorVersionNum { get; set; } = new(40070); public ModbusProperty InversionCalibratPosition { get; set; } = new(40071, start: 0, length: 1, ModbusDataType.Bit); public ModbusProperty BypassCalibratPosition { get; set; } = new(40071, start: 1, length: 1, ModbusDataType.Bit); public ModbusProperty InputCalibratPosition { get; set; } = new(40071, start: 2, length: 1, ModbusDataType.Bit); public ModbusProperty BatteryCalibratPosition { get; set; } = new(40071, start: 3, length: 1, ModbusDataType.Bit); public ModbusProperty UnitNInvVoltA { get; set; } = new(40072, scale: 0.1, round: 1); public ModbusProperty UnitNInvVoltB { get; set; } = new(40073, scale: 0.1, round: 1); public ModbusProperty UnitNInvVoltC { get; set; } = new(40074, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltA { get; set; } = new(40075, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltB { get; set; } = new(40076, scale: 0.1, round: 1); public ModbusProperty UnitNBypassVoltC { get; set; } = new(40077, scale: 0.1, round: 1); public ModbusProperty UpsSeriesNum { get; set; } = new(40078,start:0,length:6); public ModbusProperty Reserve12 { get; set; } = new(40079); public ModbusProperty ProtocolVersion1 { get; set; } = new(40080); }