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; }
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; }