称重优化
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package top.wms.admin.common.enums;
|
||||
|
||||
|
||||
/**
|
||||
* DPA6024V-2T-1.0 数字控制器命令类型枚举
|
||||
* 定义控制器支持的指令字
|
||||
@@ -35,6 +34,7 @@ public enum CommandTypeEnum {
|
||||
|
||||
/**
|
||||
* 获取指令字字符
|
||||
*
|
||||
* @return 指令字 (如 '1', '2', '3', '4')
|
||||
*/
|
||||
public char getCommandCode() {
|
||||
@@ -43,6 +43,7 @@ public enum CommandTypeEnum {
|
||||
|
||||
/**
|
||||
* 根据指令字获取对应的命令类型
|
||||
*
|
||||
* @param commandCode 指令字字符
|
||||
* @return 对应的CommandType,找不到返回null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user