add writable systemcontrol
This commit is contained in:
parent
b6b1cfccb9
commit
4d27515c14
|
|
@ -19,14 +19,14 @@ public partial record SystemControlRegisters
|
|||
{
|
||||
private const UInt16 NoTimeout = UInt16.MaxValue;
|
||||
|
||||
[HoldingRegister(1016)] private UInt16 _CommunicationTimeoutSeconds;
|
||||
[HoldingRegister(1016, writable: true)] private UInt16 _CommunicationTimeoutSeconds;
|
||||
|
||||
[HoldingRegister(1018)] public SystemConfig SystemConfig { get; set; }
|
||||
[HoldingRegister(1018, writable: true)] public SystemConfig SystemConfig { get; set; }
|
||||
|
||||
//[Coil(4002)]
|
||||
[HoldingRegister(4002)] public Boolean ResetAlarmsAndWarnings { get; set; }
|
||||
[HoldingRegister(4002, writable: true)] public Boolean ResetAlarmsAndWarnings { get; set; }
|
||||
|
||||
[HoldingRegister(4007)] public UInt16 TargetSlave { get; set; }
|
||||
[HoldingRegister(4007, writable: true)] public UInt16 TargetSlave { get; set; }
|
||||
|
||||
//[Coil(4011)]
|
||||
[HoldingRegister(4011, writable: true)] public Boolean UseSlaveIdForAddressing { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue