|
@@ -78,7 +78,7 @@ namespace WpfTest1.ComAgent
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- public static byte[] createStartDefinedCommand(int mode, ushort time, byte strongth)
|
|
|
|
|
|
+ public static byte[] createStartDefinedCommand(int mode, short time, byte strongth)
|
|
{
|
|
{
|
|
List<byte> buff = new List<byte>();
|
|
List<byte> buff = new List<byte>();
|
|
buff.Add(getTCIDByIndex(mode));
|
|
buff.Add(getTCIDByIndex(mode));
|
|
@@ -89,7 +89,7 @@ namespace WpfTest1.ComAgent
|
|
return buff.ToArray();
|
|
return buff.ToArray();
|
|
}
|
|
}
|
|
|
|
|
|
- public static byte[] createStartManualCommand(ushort time, byte strongth, params TreatmentStep[] steps)
|
|
|
|
|
|
+ public static byte[] createStartManualCommand(short time, byte strongth, params TreatmentStep[] steps)
|
|
{
|
|
{
|
|
List<byte> buff = new List<byte>();
|
|
List<byte> buff = new List<byte>();
|
|
buff.Add(0x53);
|
|
buff.Add(0x53);
|