|
@ -786,7 +786,7 @@ public class DeviceCommandGenerator { |
|
|
// =========================================== 滴定移动电机 ==================================================== |
|
|
// =========================================== 滴定移动电机 ==================================================== |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 回原点 |
|
|
|
|
|
|
|
|
* titration_motor_1 回原点 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1Origin() { |
|
|
public static DeviceCommand titrationMotor1Origin() { |
|
|
|
|
|
|
|
@ -794,7 +794,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 停止 |
|
|
|
|
|
|
|
|
* titration_motor_1 停止 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1Stop() { |
|
|
public static DeviceCommand titrationMotor1Stop() { |
|
|
|
|
|
|
|
@ -802,7 +802,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 使能 |
|
|
|
|
|
|
|
|
* titration_motor_1 使能 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1Enable() { |
|
|
public static DeviceCommand titrationMotor1Enable() { |
|
|
|
|
|
|
|
@ -810,7 +810,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 失能 |
|
|
|
|
|
|
|
|
* titration_motor_1 失能 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1Disable() { |
|
|
public static DeviceCommand titrationMotor1Disable() { |
|
|
|
|
|
|
|
@ -818,7 +818,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 设置速度 |
|
|
|
|
|
|
|
|
* titration_motor_1 设置速度 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1SetSpeed(double speed) { |
|
|
public static DeviceCommand titrationMotor1SetSpeed(double speed) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
@ -827,7 +827,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 绝对移动 |
|
|
|
|
|
|
|
|
* titration_motor_1 绝对移动 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1MoveTo(double position) { |
|
|
public static DeviceCommand titrationMotor1MoveTo(double position) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
@ -836,7 +836,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_01 相对移动 |
|
|
|
|
|
|
|
|
* titration_motor_1 相对移动 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor1MoveBy(double distance) { |
|
|
public static DeviceCommand titrationMotor1MoveBy(double distance) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
@ -845,7 +845,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 回原点 |
|
|
|
|
|
|
|
|
* titration_motor_2 回原点 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2Origin() { |
|
|
public static DeviceCommand titrationMotor2Origin() { |
|
|
|
|
|
|
|
@ -853,7 +853,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 停止 |
|
|
|
|
|
|
|
|
* titration_motor_2 停止 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2Stop() { |
|
|
public static DeviceCommand titrationMotor2Stop() { |
|
|
|
|
|
|
|
@ -861,7 +861,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 使能 |
|
|
|
|
|
|
|
|
* titration_motor_2 使能 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2Enable() { |
|
|
public static DeviceCommand titrationMotor2Enable() { |
|
|
|
|
|
|
|
@ -869,7 +869,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 失能 |
|
|
|
|
|
|
|
|
* titration_motor_2 失能 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2Disable() { |
|
|
public static DeviceCommand titrationMotor2Disable() { |
|
|
|
|
|
|
|
@ -877,7 +877,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 设置速度 |
|
|
|
|
|
|
|
|
* titration_motor_2 设置速度 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2SetSpeed(double speed) { |
|
|
public static DeviceCommand titrationMotor2SetSpeed(double speed) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
@ -887,7 +887,7 @@ public class DeviceCommandGenerator { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 绝对移动 |
|
|
|
|
|
|
|
|
* titration_motor_2 绝对移动 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2MoveTo(double position) { |
|
|
public static DeviceCommand titrationMotor2MoveTo(double position) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
@ -896,7 +896,7 @@ public class DeviceCommandGenerator { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* titration_motor_02 相对移动 |
|
|
|
|
|
|
|
|
* titration_motor_2 相对移动 |
|
|
*/ |
|
|
*/ |
|
|
public static DeviceCommand titrationMotor2MoveBy(double distance) { |
|
|
public static DeviceCommand titrationMotor2MoveBy(double distance) { |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|
DeviceCommandParams params = new DeviceCommandParams(); |
|
|