change - 铝内胆数据信息、LOSS统计
parent
5cbf5e2707
commit
7ba83e087d
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: cn.easyproject:orai18n:12.1.0.2.0">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,54 @@
|
||||
package com.productionboard.entity.AluminumDevice;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 铝内胆设备数据信息
|
||||
* @author WenJY
|
||||
* @date 2022年06月06日 16:06
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("SCADA_LCB_DEVICEINFO_1")
|
||||
public class AluminumDeviceDataInformation implements Serializable {
|
||||
|
||||
/** 设备编号 */
|
||||
@TableField("DEVICEID")
|
||||
private String deviceId;
|
||||
|
||||
/** 设备状态 */
|
||||
@TableField("DEVICESTATUS")
|
||||
private String deviceStatus;
|
||||
|
||||
/** 设备节拍 */
|
||||
@TableField("DEVICETAKT")
|
||||
private String deviceTakt;
|
||||
|
||||
/** 开机时间 */
|
||||
@TableField("OPENTIME")
|
||||
private String openTime;
|
||||
|
||||
/** 运行时间 */
|
||||
@TableField("RUNTIME")
|
||||
private String runTime;
|
||||
|
||||
/** 设备功率 */
|
||||
@TableField("DEVICEPOWER")
|
||||
private String devicePower;
|
||||
|
||||
/** 设备能耗 */
|
||||
@TableField("DEVICEENERGY")
|
||||
private String deviceEnergy;
|
||||
|
||||
/** 采集时间 */
|
||||
@TableField("COLLECTTIME")
|
||||
private Date collectTime;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.productionboard.entity.AluminumDevice;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author WenJY
|
||||
* @date 2022年06月07日 10:51
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("SCADA_LCB_DEVICEINFO_1")
|
||||
public class AluminumEnergyProduction implements Serializable {
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.productionboard.entity.AluminumDevice;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Loss统计
|
||||
* @author WenJY
|
||||
* @date 2022年06月07日 10:55
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("SCADA_LCB_DEVICEINFO_3")
|
||||
public class AluminumLossStatistics implements Serializable {
|
||||
|
||||
@TableField("NAME")
|
||||
public String xValue;
|
||||
|
||||
@TableField("VALUE")
|
||||
public String yValue;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.productionboard.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.productionboard.entity.AluminumDevice.AluminumDeviceDataInformation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @author WenJY
|
||||
* @date 2022年06月06日 16:24
|
||||
*/
|
||||
@Mapper
|
||||
public interface AluminumDeviceDataInformationMapper extends BaseMapper<AluminumDeviceDataInformation> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.productionboard.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.productionboard.entity.AluminumDevice.AluminumLossStatistics;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @author WenJY
|
||||
* @date 2022年06月07日 11:00
|
||||
*/
|
||||
@Mapper
|
||||
public interface AluminumLossStatisticsMapper extends BaseMapper<AluminumLossStatistics> {
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.productionboard.service;
|
||||
|
||||
import com.productionboard.entity.AluminumDevice.AluminumDeviceDataInformation;
|
||||
import com.productionboard.entity.AluminumDevice.AluminumLossStatistics;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author WenJY
|
||||
* @date 2022年06月06日 16:23
|
||||
*/
|
||||
public interface IAluminumDeviceInfoService {
|
||||
/**
|
||||
* 获取数据信息
|
||||
* @author WenJY
|
||||
* @date 2022-06-06 16:24
|
||||
* @return java.util.List<com.productionboard.entity.AluminumDevice.AluminumDeviceDataInformation>
|
||||
*/
|
||||
public List<AluminumDeviceDataInformation> getDataInformationList();
|
||||
|
||||
/**
|
||||
* 获取Loss统计数据
|
||||
* @author WenJY
|
||||
* @date 2022-06-07 11:00
|
||||
* @return java.util.List<com.productionboard.entity.AluminumDevice.AluminumLossStatistics>
|
||||
*/
|
||||
public List<AluminumLossStatistics> getLossStatisticsList();
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package com.productionboard.service.impl;
|
||||
|
||||
import com.productionboard.entity.AluminumDevice.AluminumDeviceDataInformation;
|
||||
import com.productionboard.entity.AluminumDevice.AluminumLossStatistics;
|
||||
import com.productionboard.mapper.AluminumDeviceDataInformationMapper;
|
||||
import com.productionboard.mapper.AluminumLossStatisticsMapper;
|
||||
import com.productionboard.service.IAluminumDeviceInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author WenJY
|
||||
* @date 2022年06月06日 16:18
|
||||
*/
|
||||
@Service
|
||||
public class AluminumDeviceInfoServiceImpl implements IAluminumDeviceInfoService
|
||||
{
|
||||
@Autowired
|
||||
private AluminumDeviceDataInformationMapper dataInformationMapper;
|
||||
|
||||
@Autowired
|
||||
private AluminumLossStatisticsMapper aluminumLossStatisticsMapper;
|
||||
|
||||
/**
|
||||
* 获取数据信息
|
||||
* @author WenJY
|
||||
* @date 2022-06-07 11:01
|
||||
* @return java.util.List<com.productionboard.entity.AluminumDevice.AluminumDeviceDataInformation>
|
||||
*/
|
||||
@Override
|
||||
public List<AluminumDeviceDataInformation> getDataInformationList() {
|
||||
|
||||
return dataInformationMapper.selectList(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取Loss统计数据
|
||||
* @author WenJY
|
||||
* @date 2022-06-07 11:01
|
||||
* @return java.util.List<com.productionboard.entity.AluminumDevice.AluminumLossStatistics>
|
||||
*/
|
||||
@Override
|
||||
public List<AluminumLossStatistics> getLossStatisticsList() {
|
||||
return aluminumLossStatisticsMapper.selectList(null);
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue