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