using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MewtocolNet { /// /// The special register type /// public enum RegisterType { /// /// Physical input as a bool (Relay) /// X, /// /// Physical output as a bool (Relay) /// Y, /// /// Internal as a bool (Relay) /// R, /// /// Data area as a short (Register) /// DT_short, /// /// Data area as an unsigned short (Register) /// DT_ushort, /// /// Double data area as an integer (Register) /// DDT_int, /// /// Double data area as an unsigned integer (Register) /// DDT_uint, /// /// Double data area as an floating point number (Register) /// DDT_float, } /// /// The special input / output channel address /// public enum SpecialAddress { #pragma warning disable CS1591 /// /// No defined /// None, A = -10, B = -11, C = -12, D = -13, E = -14, F = -15, #pragma warning restore } }