8 changed files with 77 additions and 6 deletions
-
6build.gradle
-
16src/main/java/com/iflytop/handacid/app/common/enums/SystemConfigKey.java
-
8src/main/java/com/iflytop/handacid/app/core/state/ChannelState.java
-
5src/main/java/com/iflytop/handacid/app/core/state/DeviceState.java
-
19src/main/java/com/iflytop/handacid/app/model/bo/DeviceInfo.java
-
14src/main/java/com/iflytop/handacid/app/service/ChannelCtrlService.java
-
7src/main/java/com/iflytop/handacid/app/service/DeviceInitService.java
-
8src/main/resources/sql/init.sql
@ -1,6 +1,20 @@ |
|||
package com.iflytop.handacid.app.common.enums; |
|||
|
|||
public enum SystemConfigKey { |
|||
/** |
|||
* 加液模式 |
|||
*/ |
|||
SOLUTION_ADD_MODE, |
|||
SOLUTION_ADD_DELAY |
|||
/** |
|||
* 自动加液间隔 |
|||
*/ |
|||
SOLUTION_ADD_DELAY, |
|||
/** |
|||
* 蠕动泵转数与泵位置换算系数 |
|||
*/ |
|||
PUMP_CONVERSION_FACTOR, |
|||
/** |
|||
* 设备SN码 |
|||
*/ |
|||
DEVICE_SN, |
|||
} |
@ -0,0 +1,19 @@ |
|||
package com.iflytop.handacid.app.model.bo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class DeviceInfo { |
|||
@Schema(description = "后台软件版本") |
|||
private String backendSoftwareVersion; |
|||
|
|||
@Schema(description = "设备软件版本") |
|||
private String deviceSoftwareVersion; |
|||
|
|||
@Schema(description = "遥控器软件版本") |
|||
private String remoteControlSoftwareVersion; |
|||
|
|||
@Schema(description = "设备SN码") |
|||
private String deviceSn; |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue