|
|
@ -72,12 +72,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 摇匀电机 设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 r/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle shakeMotorSet(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle shakeMotorSet(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.shake_motor, CmdAction.set, params, "摇匀 设置参数"); |
|
|
|
} |
|
|
@ -121,12 +119,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 拍子升降电机 设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle trayMotorSet(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle trayMotorSet(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.tray_motor, CmdAction.set, params, "拍子升降电机 设置参数"); |
|
|
|
} |
|
|
@ -234,12 +230,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 龙门架 x轴设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle gantryXSet(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle gantryXSet(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.gantry_x, CmdAction.set, params, "龙门架 x轴设置参数"); |
|
|
|
} |
|
|
@ -247,12 +241,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 龙门架 y轴设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle gantryYSet(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle gantryYSet(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.gantry_y, CmdAction.set, params, "龙门架 y轴设置参数"); |
|
|
|
} |
|
|
@ -260,12 +252,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 龙门架 z轴设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle gantryZSet(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle gantryZSet(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.gantry_z, CmdAction.set, params, "龙门架 z轴设置参数"); |
|
|
|
} |
|
|
@ -383,12 +373,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位1设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor1Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor1Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_1, CmdAction.set, params, "加热区顶升电机 加热位1设置参数"); |
|
|
|
} |
|
|
@ -396,12 +384,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位2设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor2Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor2Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_2, CmdAction.set, params, "加热区顶升电机 加热位2设置参数"); |
|
|
|
} |
|
|
@ -409,12 +395,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位3设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor3Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor3Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_3, CmdAction.set, params, "加热区顶升电机 加热位3设置参数"); |
|
|
|
} |
|
|
@ -422,12 +406,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位4设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor4Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor4Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_4, CmdAction.set, params, "加热区顶升电机 加热位4设置参数"); |
|
|
|
} |
|
|
@ -435,12 +417,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位5设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor5Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor5Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_5, CmdAction.set, params, "加热区顶升电机 加热位5设置参数"); |
|
|
|
} |
|
|
@ -448,12 +428,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加热区顶升电机 加热位6设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle heaterMotor6Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle heaterMotor6Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.heater_motor_6, CmdAction.set, params, "加热区顶升电机 加热位6设置参数"); |
|
|
|
} |
|
|
@ -679,12 +657,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵1设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump1Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump1Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_1, CmdAction.set, params, "加液泵1 设置参数"); |
|
|
|
} |
|
|
@ -692,12 +668,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵2设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump2Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump2Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_2, CmdAction.set, params, "加液泵2 设置参数"); |
|
|
|
} |
|
|
@ -705,12 +679,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵3设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump3Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump3Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_3, CmdAction.set, params, "加液泵3 设置参数"); |
|
|
|
} |
|
|
@ -718,12 +690,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵4设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump4Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump4Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_4, CmdAction.set, params, "加液泵4 设置参数"); |
|
|
|
} |
|
|
@ -731,12 +701,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵5设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump5Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump5Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_5, CmdAction.set, params, "加液泵5 设置参数"); |
|
|
|
} |
|
|
@ -744,12 +712,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵6设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump6Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump6Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_6, CmdAction.set, params, "加液泵6 设置参数"); |
|
|
|
} |
|
|
@ -757,12 +723,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵7设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump7Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump7Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_7, CmdAction.set, params, "加液泵7 设置参数"); |
|
|
|
} |
|
|
@ -770,12 +734,10 @@ public class DeviceCommandGenerator { |
|
|
|
/** |
|
|
|
* 加液泵 泵8设置参数 |
|
|
|
* |
|
|
|
* @param current 电流 [0-31] |
|
|
|
* @param speed 速度 单位 mm/s |
|
|
|
*/ |
|
|
|
public static DeviceCommandBundle acidPump8Set(Integer current, Double speed) { |
|
|
|
public static DeviceCommandBundle acidPump8Set(Double speed) { |
|
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
|
params.setCurrent(current); |
|
|
|
params.setSpeed(speed); |
|
|
|
return setInfoCmd(CmdDevice.acid_pump_8, CmdAction.set, params, "加液泵8 设置参数"); |
|
|
|
} |
|
|
|