|
@@ -120,7 +120,7 @@ public class FloatSensorDevice extends SmartDevice implements FloatSensor, Sched
|
|
public void simulateEvent(long time) {
|
|
public void simulateEvent(long time) {
|
|
updateData();
|
|
updateData();
|
|
//Update again in 10 seconds
|
|
//Update again in 10 seconds
|
|
- nextSimulationTime=time *10000;
|
|
|
|
|
|
+ nextSimulationTime=time + 10000;
|
|
SimulationManager.scheduleEvent(this);
|
|
SimulationManager.scheduleEvent(this);
|
|
}
|
|
}
|
|
|
|
|