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