From d5dab07dc674de7edbbc1bd6ade0486f54fbdb26 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 06 五月 2025 19:19:35 +0800 Subject: [PATCH] 1、实现万用token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandType.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandType.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandType.java new file mode 100644 index 0000000..345acb7 --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandType.java @@ -0,0 +1,28 @@ +package com.dy.common.mw.protocol; + +public class CommandType { + + /** + * 閽堝鐩戞帶涓棿浠剁殑鍐呴儴鍛戒护 + * 鍙疄鐜板悓姝ワ紝鍛戒护缁撴灉閫氳繃鍛戒护鐨勫彂閫佺綉缁滈�氶亾杩斿洖 + */ + public static final String innerCommand = "innerCommand" ; + + /** + * 閽堝Rtu澶栭儴鍛戒护 + * 鍙兘鏄紓姝ワ紝鍛戒护缁撴灉閫氳繃鐩稿叧鐨勪俊鎭彂甯冮�氶亾鍙戝竷鍑哄幓 + */ + public static final String outerCommand = "outerCommand" ; + + /** + * 閽堝Rtu澶栭儴閫忎紶鍛戒护 + * 鍙兘鏄紓姝ワ紝鍛戒护缁撴灉閫氳繃鐩稿叧鐨勪俊鎭彂甯冮�氶亾鍙戝竷鍑哄幓 + */ + public static final String outerTransCommand = "outerTransCommand" ; + + /** + * 鏈懡浠ゆ槸涓�涓埆鐨勫懡浠ょ殑缁撴灉锛堢粨鏋滀互鍛戒护鐨勬柟寮忚〃绀猴級 + */ + public static final String resultCommand = "resultCommand" ; + +} -- Gitblit v1.8.0