辽宁前置代码
This commit is contained in:
@@ -49,6 +49,8 @@ public enum PvDeviceResponseEnum {
|
||||
PROJECT_OR_NOT("A00550","项目名称为空,请检查信息是否存在!"),
|
||||
PROVINCE_OR_NOT("A00550","省级名称为空,请检查信息是否存在!"),
|
||||
GD_OR_NOT("A00550","供电公司名称为空,请检查信息是否存在!"),
|
||||
OVER_LIMIT("A00550","前置机配置设备过多"),
|
||||
NO_DEVICE("A00550","前置机下无设备"),
|
||||
|
||||
;
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ public class DeviceInfo {
|
||||
private String series;
|
||||
//终端识别码
|
||||
private String devKey;
|
||||
|
||||
private Integer processNo;
|
||||
//
|
||||
private List<MonitorInfo> monitorData;
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ import java.util.List;
|
||||
@ApiModel
|
||||
public class NodeDeviceParam {
|
||||
|
||||
|
||||
/**
|
||||
* 服务器IP
|
||||
*/
|
||||
@@ -31,4 +30,6 @@ public class NodeDeviceParam {
|
||||
private String ip;
|
||||
|
||||
private List<Integer> runFlag;
|
||||
|
||||
private String devId;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.njcn.device.pq.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2025/01/22 下午 1:53【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("pq_device_process")
|
||||
public class DeviceProcess implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
//设备id
|
||||
private String id;
|
||||
//设备设备所在前置机进程号
|
||||
private Integer processNo;
|
||||
|
||||
}
|
||||
@@ -55,6 +55,14 @@ public class Node extends BaseEntity {
|
||||
*/
|
||||
private Integer nodeDevNum;
|
||||
|
||||
|
||||
/**
|
||||
* 前置机支持最大进程数量
|
||||
*/
|
||||
private Integer maxProcessNum;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user