海外平台-数据全英文化

This commit is contained in:
2025-09-18 14:05:01 +08:00
parent e6b6ccd804
commit 83eff7d1ee
112 changed files with 2151 additions and 344 deletions

View File

@ -55,6 +55,12 @@ public class Device implements Serializable {
@ApiModelProperty(value = "设备名字")
private String deviceName;
/**
* 设备名字-英文
*/
@ApiModelProperty(value = "设备名字-英文")
private String deviceNameEn;
@ApiModelProperty(value = "设备类型")
private String deviceType;

View File

@ -55,6 +55,12 @@ public class DeviceCall implements Serializable {
@ApiModelProperty(value = "设备名字")
private String deviceName;
/**
* 设备名字-英文
*/
@ApiModelProperty(value = "设备名字-英文")
private String deviceNameEn;
@ApiModelProperty(value = "设备类型")
private String deviceType;

View File

@ -42,6 +42,13 @@ public class HisCurveRelate implements Serializable {
private String modelName;
/**
* 模板名称-英文
*/
private String modelNameEn;
/**
* srcId
*/
@ -59,6 +66,11 @@ public class HisCurveRelate implements Serializable {
*/
private String colName;
/**
* 字段英文名称
*/
private String colNameEn;
/**
* 设备类型
*/
@ -67,4 +79,7 @@ public class HisCurveRelate implements Serializable {
List<HisCurveRelate> list;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -21,9 +21,15 @@ public class PlanCurveOperationRecordReq {
@ApiModelProperty(value = "操作内容")
String operateContent;
@ApiModelProperty(value = "操作内容-英文")
String operateContentEn;
@ApiModelProperty(value = "操作结果")
String operateResult;
@ApiModelProperty(value = "操作结果-英文")
String operateResultEn;
@ApiModelProperty(value = "生效时间")
String effectiveTime;

View File

@ -26,6 +26,9 @@ public class PlanningCurveTemplate {
/* 模板名称 */
private String templateName;
/* 模板名称-英文 */
private String templateNameEn;
/* 电价模板id */
//private Integer elecTemplateId;
@ -69,4 +72,7 @@ public class PlanningCurveTemplate {
/* 计划曲线列表数据 */
private List<PlanningCurve> planningCurves;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -1,6 +1,7 @@
package com.ho.business.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ -22,4 +23,6 @@ public class PlanningIssueDevice {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date operationDate;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -25,6 +25,9 @@ public class PointConfig implements Serializable {
@ApiModelProperty(value = "默认值")
private String defaultValue;
@ApiModelProperty(value = "默认值-英文")
private String defaultValueEn;
@ApiModelProperty(value = "配置点类型")
private Integer pointType;

View File

@ -5,11 +5,12 @@ import lombok.Data;
import java.io.Serializable;
/**
* @TableName translate_nation
* @author kerwin
*/
@Data
public class TranslateNation implements Serializable {
public class TranslateName implements Serializable {
@ApiModelProperty(value = "id")
private Integer id;

View File

@ -41,5 +41,8 @@ public class VirtualDeviceCol implements Serializable {
private String name;
//查询条件,非数据库中列
List<String> typeList;;
List<String> typeList;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -77,4 +77,7 @@ public class DeviceReqVO {
@ApiModelProperty(hidden = true,value = "获取设备类型不为空的第一个设备")
private Integer needDeviceTypeNotNull;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -32,4 +32,7 @@ public class DeviceTypeColReqVO {
* 遥信遥测 1遥信 2遥测 3遥控 默认送2
*/
Integer sensType;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -29,4 +29,8 @@ public class StationReq implements Serializable {
@ApiModelProperty(value = "设备类型",hidden = true)
String deviceType;
@ApiModelProperty(value = "中英切换-查询字段")
String lang;
}

View File

@ -34,6 +34,7 @@ public class EarningsCalculateReq {
@ApiModelProperty(value = "结束时间",hidden = true)
String endTime;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -17,4 +17,7 @@ public class DeviceTreeReq {
@ApiModelProperty(value = "src_id")
Integer srcId;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -35,4 +35,7 @@ public class DynamicConfigQuery {
@ApiModelProperty(value = "是否隐藏0否1是默认0",hidden = true)
private Integer isHide;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -21,6 +21,9 @@ public class PointConfigAdd {
@ApiModelProperty(value = "默认值")
private String defaultValue;
@ApiModelProperty(value = "默认值-英文")
private String defaultValueEn;
@ApiModelProperty(value = "配置点类型")
private Integer pointType;

View File

@ -20,4 +20,7 @@ public class PointConfigQuery {
@ApiModelProperty(value = "设备id(用以区分属于哪个设备页)")
private Integer deviceId;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -28,4 +28,7 @@ public class ModelTypeQueryReq {
@ApiModelProperty(value = "用户id",hidden = true)
private String userId;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -49,4 +49,7 @@ public class PointCurveReq {
@ApiModelProperty(value = "是否为策略总览页面(1:是;0:否)")
Integer isStrategy;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -42,5 +42,8 @@ public class PointReq {
@ApiModelProperty(value = "值2的定义 大于1 小于2 等于3 大于等于4 小于等于5")
private BigDecimal Value2;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -24,6 +24,9 @@ public class PointVo {
@ApiModelProperty(value = "遥信遥测 1遥信 2遥测 默认送2")
private Integer sensType;
@ApiModelProperty(value = "中英切换-查询字段")
private String lang;
}

View File

@ -0,0 +1,66 @@
package com.ho.business.vo.resp.elecPriceCurve;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
/**
* @author kerwin
*/
public class ElecPriceTemplateExcelEn {
// @ExcelProperty(value = "模板编号")
@ExcelIgnore
private String templateNo;
@ExcelProperty(value = "Time period starts", index = 1)
private String beginTime;
@ExcelProperty(value = "End of time period", index = 2)
private String endTime;
@ExcelProperty(value = "Electricity type", index = 3)
private String type;
@ExcelProperty(value = "price", index = 4)
private String price;
@ExcelProperty(value = "Template Name", index = 0)
private String templateName;
@ExcelProperty(value = "Enable or not", index = 5)
private String isEnable;
//@ExcelProperty(value = "电价曲线类型", index = 6)
//private String elecType;
@ExcelProperty(value = "Modification time", index = 9)
private String updateTime;
//电站id
@ExcelIgnore
private Integer stationId;
//集团id
@ExcelIgnore
private Integer groupId;
@ApiModelProperty(value="模板有效期开始时间")
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@ExcelProperty(value = "Template validity period start time", index = 6)
private Date validityStartTime;
@ApiModelProperty(value="模板有效期结束时间")
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@ExcelProperty(value = "End time of template validity period", index = 7)
private Date validityEndTime;
@ApiModelProperty(value="电价折扣(%)")
@ExcelProperty(value = "Electricity price discount (%)", index = 8)
private Double discount;
}

View File

@ -0,0 +1,74 @@
package com.ho.business.vo.resp.point;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
/**
* @author kerwin
*/
@Data
@ExcelIgnoreUnannotated
public class PointRespEnVO {
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "设备映射表的id")
Integer deviceTypeColId;
@ApiModelProperty(value = "站点id")
Integer stationId;
@ApiModelProperty(value = "设备id")
Integer srcId;
@ApiModelProperty(value = "设备类型")
@ExcelProperty(value = "device type",index = 3)
String deviceType;
@ApiModelProperty(value = "1遥信 2遥测 3遥控")
private Integer sensType;
@ApiModelProperty(value = "设备名")
@ExcelProperty(value = "associated device",index = 2)
String deviceName;
@ApiModelProperty(value = "点表字段")
@ExcelProperty(value = "code",index = 1)
String col;
@ApiModelProperty(value = "点表字段名称")
@ExcelProperty(value = "name",index = 0)
String colName;
@ApiModelProperty(value = "当前值")
@ExcelProperty(value = "current value",index = 7)
BigDecimal value;
@ApiModelProperty(value = "单位")
@ExcelProperty(value = "unit",index = 8)
String unit;
@ApiModelProperty(value = "最大值")
@ExcelProperty(value = "maximum",index = 4)
BigDecimal maxValue;
@ApiModelProperty(value = "最小值")
@ExcelProperty(value = "minimum",index = 5)
BigDecimal minValue;
@ApiModelProperty(value = "更新时间")
@JsonFormat(pattern = CommonConstant.DATE)
@ExcelProperty(value = "update time",index = 6)
String updateTime;
@ApiModelProperty(value = "是否具有品质位 1是 2否")
private Integer qualityLevel;
}