read csv file and add some comments
This commit is contained in:
		| @@ -1,12 +1,14 @@ | ||||
| package ch.hevs.isi.field; | ||||
|  | ||||
| import ch.hevs.isi.core.DataPoint; | ||||
| import ch.hevs.isi.core.FloatDataPoint; | ||||
|  | ||||
| import java.util.HashMap; | ||||
|  | ||||
| public class FloatRegister extends ModbusRegister{ | ||||
|     private Float value; | ||||
|     private FloatDataPoint fdp; | ||||
|  | ||||
|     public FloatRegister(String label, boolean isOutPut, int address) { | ||||
|     public FloatRegister(String label, boolean isOutPut, int address, float range, float offset) { | ||||
|         this.fdp = new FloatDataPoint(label, isOutPut); | ||||
|         value = fdp.getValue(); | ||||
|         updateMapOfRegisters(fdp,address); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user