将终端台账拆分为pq&pms两类

This commit is contained in:
2022-09-29 19:43:14 +08:00
parent 5385e7521b
commit ab8e86f257
530 changed files with 5060 additions and 1863 deletions

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>pqs-device</artifactId>
<groupId>com.njcn</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-device-biz</artifactId>
<packaging>jar</packaging>
<name>台账通用业务</name>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>common-db</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>common-microservice</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>common-poi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,35 @@
package com.njcn.device.biz.enums;
import lombok.Getter;
/**
* @author hongawen
* @version 1.0.0
* @date 2022年02月23日 15:24
*/
@Getter
public enum LineFlagEnum {
/**
* 区分监测点的类型标志
*/
//非网公司
LINE_MONITOR_NOT_NET_COMPANY(0),
//网公司
LINE_MONITOR_NET_COMPANY(1),
//所有公司
LINE_MONITOR_ALL(2),
//电网侧
LINE_POWER_GRID(0),
//非电网侧
LINE_POWER(1),
//所有
LINE_POWER_ALL(2);
private final int flag;
LineFlagEnum(int flag) {
this.flag = flag;
}
}