Innovenergy_trunk/csharp/Lib/Devices/Amax5070/Amax5070Registers.cs

85 lines
5.0 KiB
C#
Raw Normal View History

using System.Diagnostics.CodeAnalysis;
using InnovEnergy.Lib.Protocols.Modbus.Reflection.Attributes;
namespace InnovEnergy.Lib.Devices.Amax5070
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
[SuppressMessage("ReSharper", "UnusedMember.Global")]
[AddressOffset(-1)]
public class Amax5070Registers
{
[Coil(1)] public Boolean DigitalOutput0 { get; private set; }
[Coil(2)] public Boolean DigitalOutput1 { get; private set; }
[Coil(3)] public Boolean DigitalOutput2 { get; private set; }
[Coil(4)] public Boolean DigitalOutput3 { get; private set; }
[Coil(5)] public Boolean DigitalOutput4 { get; private set; }
[Coil(6)] public Boolean DigitalOutput5 { get; private set; }
[Coil(7)] public Boolean DigitalOutput6 { get; private set; }
[Coil(8)] public Boolean DigitalOutput7 { get; private set; }
[Coil(9)] public Boolean DigitalOutput8 { get; private set; }
[Coil(10)] public Boolean DigitalOutput9 { get; private set; }
[Coil(11)] public Boolean DigitalOutput10 { get; private set; }
[Coil(12)] public Boolean DigitalOutput11 { get; private set; }
[Coil(13)] public Boolean DigitalOutput12 { get; private set; }
[Coil(14)] public Boolean DigitalOutput13 { get; private set; }
[Coil(15)] public Boolean DigitalOutput14 { get; private set; }
[Coil(16)] public Boolean DigitalOutput15 { get; private set; }
[Coil(17)] public Boolean Relay10 { get; set; } // Relay5060 1
[Coil(18)] public Boolean Relay11 { get; set; } // Relay5060 1
[Coil(19)] public Boolean Relay12 { get; set; } // Relay5060 1
[Coil(20)] public Boolean Relay13 { get; set; } // Relay5060 1
[Coil(25)] public Boolean Relay20 { get; set; } // Relay5060 2
[Coil(26)] public Boolean Relay21 { get; set; } // Relay5060 2
[Coil(27)] public Boolean Relay22 { get; set; } // Relay5060 2
[Coil(28)] public Boolean Relay23 { get; set; } // Relay5060 2
[Coil(33)] public Boolean Relay30 { get; set; } // Relay5060 3
[Coil(34)] public Boolean Relay31 { get; set; } // Relay5060 3
[Coil(35)] public Boolean Relay32 { get; set; } // Relay5060 3
[Coil(36)] public Boolean Relay33 { get; set; } // Relay5060 3
[Coil(41)] public Boolean Relay40 { get; set; } // Relay5060 4
[Coil(42)] public Boolean Relay41 { get; set; } // Relay5060 4
[Coil(43)] public Boolean Relay42 { get; set; } // Relay5060 4
[Coil(44)] public Boolean Relay43 { get; set; } // Relay5060 4
2024-04-22 06:46:28 +00:00
[Coil(49)] public Boolean Relay50 { get; set; } // Relay5060 5
[Coil(50)] public Boolean Relay51 { get; set; } // Relay5060 5
[Coil(51)] public Boolean Relay52 { get; set; } // Relay5060 5
[Coil(52)] public Boolean Relay53 { get; set; } // Relay5060 5
2024-04-22 06:46:28 +00:00
[Coil(57)] public Boolean DigitalInput0 { get; private set; }
[Coil(58)] public Boolean DigitalInput1 { get; private set; }
[Coil(59)] public Boolean DigitalInput2 { get; private set; }
[Coil(60)] public Boolean DigitalInput3 { get; private set; }
[Coil(61)] public Boolean DigitalInput4 { get; private set; }
[Coil(62)] public Boolean DigitalInput5 { get; private set; }
[Coil(63)] public Boolean DigitalInput6 { get; private set; }
[Coil(64)] public Boolean DigitalInput7 { get; private set; }
[Coil(65)] public Boolean DigitalInput8 { get; private set; }
[Coil(66)] public Boolean DigitalInput9 { get; private set; }
[Coil(67)] public Boolean DigitalInput10 { get; private set; }
[Coil(68)] public Boolean DigitalInput11 { get; private set; }
[Coil(69)] public Boolean DigitalInput12 { get; private set; }
[Coil(70)] public Boolean DigitalInput13 { get; private set; }
[Coil(71)] public Boolean DigitalInput14 { get; private set; }
[Coil(72)] public Boolean DigitalInput15 { get; private set; }
2024-04-22 06:46:28 +00:00
[Coil(73)] public Boolean DigitalInput16 { get; private set; } // Relay5060 1
[Coil(74)] public Boolean DigitalInput17 { get; private set; } // Relay5060 1
2024-04-22 06:46:28 +00:00
[Coil(81)] public Boolean DigitalInput18 { get; private set; } // Relay5060 2
[Coil(82)] public Boolean DigitalInput19 { get; private set; } // Relay5060 2
2024-04-22 06:46:28 +00:00
[Coil(89)] public Boolean DigitalInput20 { get; private set; } // Relay5060 3
[Coil(90)] public Boolean DigitalInput21 { get; private set; } // Relay5060 3
[Coil(97)] public Boolean DigitalInput22 { get; private set; } // Relay5060 4
[Coil(98)] public Boolean DigitalInput23 { get; private set; } // Relay5060 4
[Coil(105)] public Boolean DigitalInput24 { get; private set; }// Relay5060 5
[Coil(106)] public Boolean DigitalInput25 { get; private set; }// Relay5060 5
}
}