Ejemplo n.º 1
0
 public ROVInput(ushort[] registers, int registerIndex, double toMin, double toMax)
 {
     mapping            = new LinearMapping(UInt16.MinValue, UInt16.MaxValue, toMin, toMax);
     this.registerIndex = registerIndex;
     this.registers     = registers;
 }
Ejemplo n.º 2
0
 public ROVOutput(ushort[] registers, int registerIndex, double fromMin, double fromMax)
 {
     mapping            = new LinearMapping(fromMin, fromMax, UInt16.MinValue, UInt16.MaxValue);
     this.registerIndex = registerIndex;
     this.registers     = registers;
 }