Beispiel #1
0
 public LongRegister(MODBUSAddress address, bool byteSwap, bool wordSwap)
     : base(address)
 {
     this.ByteSwap = byteSwap;
     this.WordSwap = wordSwap;
     Value         = 0;
 }
Beispiel #2
0
 public StringRegister(MODBUSAddress address, bool byteSwap, bool wordSwap, byte length)
     : base(address)
 {
     Length        = length;
     this.ByteSwap = byteSwap;
     this.WordSwap = wordSwap;
     Value         = "";
 }
Beispiel #3
0
 public ShortRegister(MODBUSAddress address, bool byteSwap)
     : base(address)
 {
     this.ByteSwap = byteSwap;
     Value         = 0;
 }
Beispiel #4
0
 public ShortRegister(MODBUSAddress address)
     : base(address)
 {
     Value = 0;
 }
Beispiel #5
0
 internal MODBUSRegister(MODBUSAddress address)
 {
     this.address = address;
     this.data    = null;
 }
Beispiel #6
0
 public StringRegister(MODBUSAddress address, byte length)
     : base(address)
 {
     Length = length;
     Value  = "";
 }
 public BooleanRegister(MODBUSAddress address)
     : base(address)
 {
     Value = false;
 }
Beispiel #8
0
 public DiscreteInputRegister(MODBUSAddress address)
     : base(address)
 {
     Value = false;
 }
Beispiel #9
0
 public InputRegister(MODBUSAddress address)
     : base(address)
 {
     Value = 0;
 }
Beispiel #10
0
 public LongRegister(MODBUSAddress address)
     : base(address)
 {
     Value = 0;
 }
Beispiel #11
0
 public CoilRegister(MODBUSAddress address)
     : base(address)
 {
     Value = false;
 }
Beispiel #12
0
 public FloatRegister(MODBUSAddress address)
     : base(address)
 {
     Value = 0;
 }