Create ConstantSensor.java