|
@@ -1682,11 +1682,11 @@ namespace WpfTest1
|
|
(byte)treatmentCustomModeList[i].tcInactiveTime,
|
|
(byte)treatmentCustomModeList[i].tcInactiveTime,
|
|
(ushort)(treatmentCustomModeList[i].tcActiveTime + treatmentCustomModeList[i].tcInactiveTime));
|
|
(ushort)(treatmentCustomModeList[i].tcActiveTime + treatmentCustomModeList[i].tcInactiveTime));
|
|
}
|
|
}
|
|
- comAgent.enqueueCommand(Com.createStartManualCommand(parseTreatmentTime(treatmentTime), (byte)(sliderStrength.Value * 100), steps));
|
|
|
|
|
|
+ comAgent.enqueueCommand(Com.createStartManualCommand(parseTreatmentTime(treatmentTime), (byte)sliderStrength.Value, steps));
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- comAgent.enqueueCommand(Com.createStartDefinedCommand(targetTreatment.id, parseTreatmentTime(treatmentTime), (byte)(sliderStrength.Value * 100)));
|
|
|
|
|
|
+ comAgent.enqueueCommand(Com.createStartDefinedCommand(targetTreatment.id, parseTreatmentTime(treatmentTime), (byte)sliderStrength.Value));
|
|
}
|
|
}
|
|
|
|
|
|
isRunning = true;
|
|
isRunning = true;
|