From 8b5f7469e4470e4b89f1659e1dc361dff5ea1b09 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 11 九月 2024 09:52:54 +0800
Subject: [PATCH] 修改
---
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/iotda/enums/ServiceIdMenu.java | 61 +++++++++++++++++-------------
1 files changed, 35 insertions(+), 26 deletions(-)
diff --git a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/iotda/enums/ServiceIdMenu.java b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/iotda/enums/ServiceIdMenu.java
index e54b94b..12ea9d4 100644
--- a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/iotda/enums/ServiceIdMenu.java
+++ b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/iotda/enums/ServiceIdMenu.java
@@ -9,91 +9,100 @@
/**
* 登录认证应答
*/
- ONLINE_REPLY ("online_reply"),
+ ONLINE_REPLY ("登录认证应答","online_reply"),
/**
* 登录认证应答
*/
- PONG ("pong"),
+ PONG ("登录认证应答","pong"),
/**
* 计费模型验证请求应答
*/
- BILLING_MODE_VERIFY_REPLY ("billing_mode_verify_reply"),
+ BILLING_MODE_VERIFY_REPLY ("计费模型验证请求应答","billing_mode_verify_reply"),
/**
* 计费模型请求应答
*/
- ACQUISITION_BILLING_MODE_REPLY ("acquisition_billing_mode_reply"),
+ ACQUISITION_BILLING_MODE_REPLY ("计费模型请求应答","acquisition_billing_mode_reply"),
/**
* 读取实时监测数据
*/
- READ_REAL_TIME_MONITORING_DATA ("read_real_time_monitoring_data"),
- /**
- * 充电结束
- */
- END_CHARGE ("end_charge"),
+ READ_REAL_TIME_MONITORING_DATA ("读取实时监测数据","read_real_time_monitoring_data"),
+// /**
+// * 充电结束
+// */
+// END_CHARGE ("充电结束","end_charge"),
/**
* 运营平台确认启动充电
*/
- PLATFORM_CONFIRMATION_CHARGING ("platform_confirmation_charging"),
+ PLATFORM_CONFIRMATION_CHARGING ("运营平台确认启动充电","platform_confirmation_charging"),
/**
* 运营平台远程控制启机
*/
- PLATFORM_START_CHARGING ("platform_start_charging"),
+ PLATFORM_START_CHARGING ("运营平台远程控制启机","platform_start_charging"),
/**
* 运营平台远程停机
*/
- PLATFORM_STOP_CHARGING ("platform_stop_charging"),
+ PLATFORM_STOP_CHARGING ("运营平台远程停机","platform_stop_charging"),
/**
* 交易记录确认
*/
- CONFIRM_TRANSACTION_RECORD ("confirm_transaction_record"),
+ CONFIRM_TRANSACTION_RECORD ("交易记录确认","confirm_transaction_record"),
/**
* 远程账户余额更新
*/
- UPDATE_BALANCE ("update_balance"),
+ UPDATE_BALANCE ("远程账户余额更新","update_balance"),
/**
* 离线卡数据同步
*/
- SYNCHRONIZE_OFFLINE_CARD ("synchronize_offline_card"),
+ SYNCHRONIZE_OFFLINE_CARD ("离线卡数据同步","synchronize_offline_card"),
/**
* 离线卡数据清除
*/
- CLEAR_OFFLINE_CARD ("clear_offline_card"),
+ CLEAR_OFFLINE_CARD ("离线卡数据清除","clear_offline_card"),
/**
* 离线卡数据查询
*/
- QUERY_OFFLINE_CARD ("query_offline_card"),
+ QUERY_OFFLINE_CARD ("离线卡数据查询","query_offline_card"),
/**
* 充电桩工作参数设置
*/
- WORKING_PARAMETER_SETTING ("working_parameter_setting"),
+ WORKING_PARAMETER_SETTING ("充电桩工作参数设置","working_parameter_setting"),
/**
- * 对时设置
+ * 对时设置应答
*/
- TIMING_SETTING ("timing_setting"),
+ TIMING_SETTING_REPLY ("对时设置应答","timing_setting_reply"),
/**
* 计费模型设置
*/
- SETUP_BILLING_MODEL ("setup_billing_model"),
+ SETUP_BILLING_MODEL ("计费模型设置","setup_billing_model"),
/**
* 遥控地锁升锁与降锁命令 (下行)
*/
- OPEN_OR_CLOSE_GROUND_LOCK ("open_or_close_ground_lock"),
+ OPEN_OR_CLOSE_GROUND_LOCK ("遥控地锁升锁与降锁命令 (下行)","open_or_close_ground_lock"),
/**
* 远程重启
*/
- PLATFORM_RESTART ("platform_restart"),
+ PLATFORM_RESTART ("远程重启","platform_restart"),
/**
* 远程更新
*/
- PLATFORM_REMOTE_UPDATE ("platform_remote_update"),
+ PLATFORM_REMOTE_UPDATE ("远程更新","platform_remote_update"),
;
+ private String key;
private String value;
- ServiceIdMenu(String value) {
+ ServiceIdMenu(String key,String value) {
this.value = value;
}
-
+
+ public String getKey() {
+ return key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
public String getValue() {
return value;
}
--
Gitblit v1.7.1