|
|
@@ -2,6 +2,7 @@ package com.coffee.bus.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
|
import com.coffee.aliyun.utils.*;
|
|
|
+import com.coffee.bus.entity.common.CommonDeviceParam;
|
|
|
import com.coffee.bus.enums.DeviceAlarmEnum;
|
|
|
import com.coffee.bus.enums.DeviceTypeEnum;
|
|
|
import com.coffee.bus.enums.DeviceStatusEnum;
|
|
|
@@ -37,9 +38,9 @@ import java.util.Date;
|
|
|
@Accessors(chain = true)
|
|
|
@TableName(value = "bus_infusion_history",autoResultMap = true)
|
|
|
@ApiModel(value="设备输注历史信息记录", description="设备的classification标识每改变一次,就算一次新的输注记录")
|
|
|
-public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String> implements RecordCreationEntity, RecordModifierEntity {
|
|
|
- @ApiModelProperty(value = "网络泵id",readOnly = true)
|
|
|
- private String deviceId;
|
|
|
+public class BusInfusionHistoryEntity extends CommonDeviceParam<String,String> {
|
|
|
+// @ApiModelProperty(value = "网络泵id",readOnly = true)
|
|
|
+// private String deviceId;
|
|
|
|
|
|
@ApiModelProperty(value = "临床号")
|
|
|
private String clinicId;
|
|
|
@@ -47,150 +48,150 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
@ApiModelProperty(value = "患者编号")
|
|
|
private String patientId;
|
|
|
|
|
|
- @ApiModelProperty(value = "数据分类号,标识某些数据属于同一个输注",readOnly = true)
|
|
|
- @JsonIgnoreProperties(allowSetters = true)
|
|
|
- private String classification;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "数据编号",readOnly = true)
|
|
|
- @JsonIgnoreProperties(allowSetters = true)
|
|
|
- private String dataNumber;
|
|
|
+// @ApiModelProperty(value = "数据分类号,标识某些数据属于同一个输注",readOnly = true)
|
|
|
+// @JsonIgnoreProperties(allowSetters = true)
|
|
|
+// private String classification;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "数据编号",readOnly = true)
|
|
|
+// @JsonIgnoreProperties(allowSetters = true)
|
|
|
+// private String dataNumber;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "泵类型",readOnly = true)
|
|
|
+// @TableField(updateStrategy = FieldStrategy.NEVER)
|
|
|
+// private DeviceTypeEnum deviceType;
|
|
|
|
|
|
- @ApiModelProperty(value = "泵类型",readOnly = true)
|
|
|
- @TableField(updateStrategy = FieldStrategy.NEVER)
|
|
|
- private DeviceTypeEnum deviceType;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "住院号")
|
|
|
- private String patientCode;
|
|
|
+// @ApiModelProperty(value = "住院号")
|
|
|
+// private String patientCode;
|
|
|
|
|
|
|
|
|
/***************临床固定数据*****************/
|
|
|
- @ApiModelProperty(value = "病区")
|
|
|
- private String ward;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "床号")
|
|
|
- private String bedNo;
|
|
|
+// @ApiModelProperty(value = "病区")
|
|
|
+// private String ward;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "床号")
|
|
|
+// private String bedNo;
|
|
|
/***************临床固定数据*****************/
|
|
|
|
|
|
- @ApiModelProperty(value = "总量",readOnly = true)
|
|
|
- @Max(value = 999,message = "总量最大值不得超过999")
|
|
|
- @Min(value = 0,message ="总量最小值不得超过0" )
|
|
|
- private Integer totalDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-首次量",readOnly = true)
|
|
|
- @Max(value = 50,message = "首次量最大值不得超过50")
|
|
|
- @Min(value = 0,message ="首次量最小值不得超过0" )
|
|
|
- private Integer firstDose;
|
|
|
-
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-剩余量",readOnly = true)
|
|
|
- private BigDecimal remainDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-已输入量",readOnly = true)
|
|
|
- private BigDecimal inputDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-追加量",readOnly = true)
|
|
|
- @DecimalMax(value = "10",message = "PCA追加量最大值不得超过10")
|
|
|
- @DecimalMin(value = "0",message ="PCA追加量最小值不得超过0" )
|
|
|
- private BigDecimal appendDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-追加锁时",readOnly = true)
|
|
|
- @DecimalMax(value = "99",message = "PCA追加量最大值不得超过99")
|
|
|
- @DecimalMin(value = "1",message ="PCA追加量最小值不得超过0" )
|
|
|
- private BigDecimal appendLockTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-极限量",readOnly = true)
|
|
|
- @DecimalMax(value = "90",message = "PCA追加量最大值不得超过90")
|
|
|
- @DecimalMin(value = "0",message ="PCA追加量最小值不得超过0" )
|
|
|
- private BigDecimal maxDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-自控锁时",readOnly = true)
|
|
|
- private Integer selfControlLockTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-自控次数",readOnly = true)
|
|
|
- private Integer selfControlCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-pca有效次数",readOnly = true)
|
|
|
- private Integer pcaValidCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-pca无效次数",readOnly = true)
|
|
|
- private Integer pcaInvalidCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-pca总按次数",readOnly = true)
|
|
|
- private Integer pcaTotalCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "持续泵参数-持续量",readOnly = true)
|
|
|
- @DecimalMax(value = "50",message = "持续给液量最大值不得超过50")
|
|
|
- @DecimalMin(value = "0",message ="持续给液量最小值不得超过0" )
|
|
|
- private BigDecimal continueDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "脉冲泵参数-脉冲量",readOnly = true)
|
|
|
- @Max(value = 20,message = "脉冲量最大值不得超过20")
|
|
|
- @Min(value = 0,message ="脉冲量最小值不得超过0" )
|
|
|
- private Integer pulseDose;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "脉冲泵参数-脉冲锁时",readOnly = true)
|
|
|
- @Max(value = 90,message = "脉冲锁时最大值不得超过90")
|
|
|
- @Min(value = 30,message ="脉冲锁时最小值不得超过30" )
|
|
|
- private Integer pulseLockTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "脉冲泵参数-脉冲首次锁时",readOnly = true)
|
|
|
- @Max(value = 60,message = "脉冲首次锁时最大值不得超过60")
|
|
|
- @Min(value = 0,message ="脉冲首次锁时最小值不得超过0" )
|
|
|
- private Integer pulseFirstLockTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-加档周期",readOnly = true)
|
|
|
- @DecimalMax(value = "10",message = "加档周期最大值不得超过10")
|
|
|
- @DecimalMin(value = "0.5",message ="加档周期最小值不得超过0.5" )
|
|
|
- private BigDecimal flowUpCycle;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-减档周期",readOnly = true)
|
|
|
- @DecimalMax(value = "10",message = "减档周期最大值不得超过10")
|
|
|
- @DecimalMin(value = "0.5",message ="减档周期最小值不得超过0.5" )
|
|
|
- private BigDecimal flowDownCycle;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-计次",readOnly = true)
|
|
|
- @DecimalMax(value = "10",message = "PCA追加量最大值不得超过10")
|
|
|
- @DecimalMin(value = "1",message ="PCA追加量最小值不得超过1" )
|
|
|
- private BigDecimal flowCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-上限",readOnly = true)
|
|
|
- @DecimalMax(value = "50",message = "智能泵上限值最大值不得超过90")
|
|
|
- @DecimalMin(value = "1",message ="智能泵上限值最小值不得超过0" )
|
|
|
- private BigDecimal flowUpLimit;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-下限",readOnly = true)
|
|
|
- @DecimalMax(value = "50",message = "智能泵下限值最大值不得超过50")
|
|
|
- @DecimalMin(value = "0.1",message ="智能泵下限值最小值不得超过0.1" )
|
|
|
- private BigDecimal flowDownLimit;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "智能泵参数-自调比例",readOnly = true)
|
|
|
- @DecimalMax(value = "95",message = "自调比例不得超过95")
|
|
|
- @DecimalMin(value = "0",message ="自调比例最小值不得超过0" )
|
|
|
- private BigDecimal flowAdjustRate;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "加减档提示",readOnly = true)
|
|
|
- @TableField(updateStrategy = FieldStrategy.DEFAULT)
|
|
|
- private FlowStatusEnum warnFlow;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "公共参数-电量",readOnly = true)
|
|
|
- private Integer electricQuantity;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "泵运行状态",readOnly = true)
|
|
|
- @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
- private DeviceStatusEnum runState;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警信息",readOnly = true)
|
|
|
- @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
- private DeviceAlarmEnum alarm;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "输注即将结束提醒",readOnly = true)
|
|
|
- private Boolean warnWillFinished;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "镇痛不足提醒",readOnly = true)
|
|
|
- private Boolean warnAnalgesicPoor;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "电量偏低提醒",readOnly = true)
|
|
|
- private Boolean warnLowBattery;
|
|
|
+// @ApiModelProperty(value = "总量",readOnly = true)
|
|
|
+// @Max(value = 999,message = "总量最大值不得超过999")
|
|
|
+// @Min(value = 0,message ="总量最小值不得超过0" )
|
|
|
+// private Integer totalDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-首次量",readOnly = true)
|
|
|
+// @Max(value = 50,message = "首次量最大值不得超过50")
|
|
|
+// @Min(value = 0,message ="首次量最小值不得超过0" )
|
|
|
+// private Integer firstDose;
|
|
|
+//
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-剩余量",readOnly = true)
|
|
|
+// private BigDecimal remainDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-已输入量",readOnly = true)
|
|
|
+// private BigDecimal inputDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-追加量",readOnly = true)
|
|
|
+// @DecimalMax(value = "10",message = "PCA追加量最大值不得超过10")
|
|
|
+// @DecimalMin(value = "0",message ="PCA追加量最小值不得超过0" )
|
|
|
+// private BigDecimal appendDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-追加锁时",readOnly = true)
|
|
|
+// @DecimalMax(value = "99",message = "PCA追加量最大值不得超过99")
|
|
|
+// @DecimalMin(value = "1",message ="PCA追加量最小值不得超过0" )
|
|
|
+// private BigDecimal appendLockTime;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-极限量",readOnly = true)
|
|
|
+// @DecimalMax(value = "90",message = "PCA追加量最大值不得超过90")
|
|
|
+// @DecimalMin(value = "0",message ="PCA追加量最小值不得超过0" )
|
|
|
+// private BigDecimal maxDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-自控锁时",readOnly = true)
|
|
|
+// private Integer selfControlLockTime;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-自控次数",readOnly = true)
|
|
|
+// private Integer selfControlCount;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-pca有效次数",readOnly = true)
|
|
|
+// private Integer pcaValidCount;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-pca无效次数",readOnly = true)
|
|
|
+// private Integer pcaInvalidCount;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-pca总按次数",readOnly = true)
|
|
|
+// private Integer pcaTotalCount;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "持续泵参数-持续量",readOnly = true)
|
|
|
+// @DecimalMax(value = "50",message = "持续给液量最大值不得超过50")
|
|
|
+// @DecimalMin(value = "0",message ="持续给液量最小值不得超过0" )
|
|
|
+// private BigDecimal continueDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "脉冲泵参数-脉冲量",readOnly = true)
|
|
|
+// @Max(value = 20,message = "脉冲量最大值不得超过20")
|
|
|
+// @Min(value = 0,message ="脉冲量最小值不得超过0" )
|
|
|
+// private Integer pulseDose;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "脉冲泵参数-脉冲锁时",readOnly = true)
|
|
|
+// @Max(value = 90,message = "脉冲锁时最大值不得超过90")
|
|
|
+// @Min(value = 30,message ="脉冲锁时最小值不得超过30" )
|
|
|
+// private Integer pulseLockTime;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "脉冲泵参数-脉冲首次锁时",readOnly = true)
|
|
|
+// @Max(value = 60,message = "脉冲首次锁时最大值不得超过60")
|
|
|
+// @Min(value = 0,message ="脉冲首次锁时最小值不得超过0" )
|
|
|
+// private Integer pulseFirstLockTime;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-加档周期",readOnly = true)
|
|
|
+// @DecimalMax(value = "10",message = "加档周期最大值不得超过10")
|
|
|
+// @DecimalMin(value = "0.5",message ="加档周期最小值不得超过0.5" )
|
|
|
+// private BigDecimal flowUpCycle;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-减档周期",readOnly = true)
|
|
|
+// @DecimalMax(value = "10",message = "减档周期最大值不得超过10")
|
|
|
+// @DecimalMin(value = "0.5",message ="减档周期最小值不得超过0.5" )
|
|
|
+// private BigDecimal flowDownCycle;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-计次",readOnly = true)
|
|
|
+// @DecimalMax(value = "10",message = "PCA追加量最大值不得超过10")
|
|
|
+// @DecimalMin(value = "1",message ="PCA追加量最小值不得超过1" )
|
|
|
+// private BigDecimal flowCount;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-上限",readOnly = true)
|
|
|
+// @DecimalMax(value = "50",message = "智能泵上限值最大值不得超过90")
|
|
|
+// @DecimalMin(value = "1",message ="智能泵上限值最小值不得超过0" )
|
|
|
+// private BigDecimal flowUpLimit;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-下限",readOnly = true)
|
|
|
+// @DecimalMax(value = "50",message = "智能泵下限值最大值不得超过50")
|
|
|
+// @DecimalMin(value = "0.1",message ="智能泵下限值最小值不得超过0.1" )
|
|
|
+// private BigDecimal flowDownLimit;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "智能泵参数-自调比例",readOnly = true)
|
|
|
+// @DecimalMax(value = "95",message = "自调比例不得超过95")
|
|
|
+// @DecimalMin(value = "0",message ="自调比例最小值不得超过0" )
|
|
|
+// private BigDecimal flowAdjustRate;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "加减档提示",readOnly = true)
|
|
|
+// @TableField(updateStrategy = FieldStrategy.DEFAULT)
|
|
|
+// private FlowStatusEnum warnFlow;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "公共参数-电量",readOnly = true)
|
|
|
+// private Integer electricQuantity;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "泵运行状态",readOnly = true)
|
|
|
+// @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
+// private DeviceStatusEnum runState;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "报警信息",readOnly = true)
|
|
|
+// @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
+// private DeviceAlarmEnum alarm;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "输注即将结束提醒",readOnly = true)
|
|
|
+// private Boolean warnWillFinished;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "镇痛不足提醒",readOnly = true)
|
|
|
+// private Boolean warnAnalgesicPoor;
|
|
|
+//
|
|
|
+// @ApiModelProperty(value = "电量偏低提醒",readOnly = true)
|
|
|
+// private Boolean warnLowBattery;
|
|
|
|
|
|
@ApiModelProperty(value = "输注开始时间,即本次运行开机时间",readOnly = true)
|
|
|
private Date startTime;
|
|
|
@@ -233,7 +234,7 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
entity.setDeviceId(running.getDeviceId());
|
|
|
entity.setClinicId(running.getClinicId());
|
|
|
entity.setPatientCode(running.getPatientCode());
|
|
|
- entity.setDeviceType(running.getType());
|
|
|
+ entity.setType(running.getType());
|
|
|
entity.setWard(running.getWard());
|
|
|
entity.setBedNo(running.getBedNo());
|
|
|
entity.setClassification(running.getClassification());
|
|
|
@@ -288,28 +289,47 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
* @param items
|
|
|
*/
|
|
|
public void setFiledsByItems(Items items) {
|
|
|
- this.classification = items.getString(PumpParams.classification);
|
|
|
- this.dataNumber = items.getString(PumpParams.dataNumber);
|
|
|
- this.patientCode = items.getString(PumpParams.patientCode);
|
|
|
- this.ward = items.getString(PumpParams.ward);
|
|
|
- this.bedNo = items.getString(PumpParams.bedNo);
|
|
|
- this.totalDose = items.getInteger(PumpParams.totalDose);
|
|
|
- this.inputDose = items.getBigDecimal(PumpParams.finishedDose);
|
|
|
- this.firstDose = items.getInteger(PumpParams.firstDosis);
|
|
|
- this.maxDose = items.getBigDecimal(PumpParams.maxDose);
|
|
|
- this.appendLockTime = items.getBigDecimal(PumpParams.lockTime);
|
|
|
- this.continueDose = items.getBigDecimal(PumpParams.flow);
|
|
|
- this.deviceType = DeviceTypeUtils.getDeviceType(items.getInteger(PumpParams.pumpType));
|
|
|
- this.appendDose = items.getBigDecimal(PumpParams.singleDosis);
|
|
|
- this.pcaValidCount = items.getInteger(PumpParams.pcaValid);
|
|
|
- this.pcaInvalidCount = items.getInteger(PumpParams.pcaInvalid);
|
|
|
- this.pcaTotalCount = this.pcaInvalidCount + this.pcaValidCount;
|
|
|
- this.electricQuantity = items.getInteger(PumpParams.electricQuantity);
|
|
|
-
|
|
|
- // 运行状态
|
|
|
- this.runState = DeviceRunStatusUtils.getRunStatus(items.getInteger(PumpParams.runStatus));
|
|
|
- // 报警
|
|
|
- this.alarm = DeviceAlarmUtils.getAlarm(items.getInteger(PumpParams.alarmStatus));
|
|
|
+ this.setClassification( items.getString(PumpParams.classification));
|
|
|
+ this.setDataNumber(items.getInteger(PumpParams.dataNumber));
|
|
|
+ this.setPatientCode( items.getString(PumpParams.patientCode));
|
|
|
+ this.setWard(items.getString(PumpParams.ward));
|
|
|
+ this.setBedNo(items.getString(PumpParams.bedNo));
|
|
|
+ this.setTotalDose( items.getInteger(PumpParams.totalDose));
|
|
|
+ this.setInputDose(items.getBigDecimal(PumpParams.finishedDose));
|
|
|
+ this.setFirstDose( items.getInteger(PumpParams.firstDosis));
|
|
|
+ this.setMaxDose(items.getBigDecimal(PumpParams.maxDose));
|
|
|
+ this.setAppendLockTime(items.getBigDecimal(PumpParams.lockTime));
|
|
|
+ this.setContinueDose(items.getBigDecimal(PumpParams.flow));
|
|
|
+ this.setType( DeviceTypeUtils.getDeviceType(items.getInteger(PumpParams.pumpType)));
|
|
|
+ this.setAppendDose(items.getBigDecimal(PumpParams.singleDosis));
|
|
|
+ this.setPcaValidCount(items.getInteger(PumpParams.pcaValid));
|
|
|
+ this.setPcaInvalidCount(items.getInteger(PumpParams.pcaInvalid));
|
|
|
+ this.setPcaTotalCount(this.getPcaInvalidCount()+this.getPcaValidCount());
|
|
|
+ this.setElectricQuantity(items.getInteger(PumpParams.electricQuantity));
|
|
|
+ this.setRunState(DeviceRunStatusUtils.getRunStatus(items.getInteger(PumpParams.runStatus)));
|
|
|
+ this.setAlarm(DeviceAlarmUtils.getAlarm(items.getInteger(PumpParams.alarmStatus)));
|
|
|
+// this.classification = items.getString(PumpParams.classification);
|
|
|
+// this.dataNumber = items.getString(PumpParams.dataNumber);
|
|
|
+// this.patientCode = items.getString(PumpParams.patientCode);
|
|
|
+// this.ward = items.getString(PumpParams.ward);
|
|
|
+// this.bedNo = items.getString(PumpParams.bedNo);
|
|
|
+// this.totalDose = items.getInteger(PumpParams.totalDose);
|
|
|
+// this.inputDose = items.getBigDecimal(PumpParams.finishedDose);
|
|
|
+// this.firstDose = items.getInteger(PumpParams.firstDosis);
|
|
|
+// this.maxDose = items.getBigDecimal(PumpParams.maxDose);
|
|
|
+// this.appendLockTime = items.getBigDecimal(PumpParams.lockTime);
|
|
|
+// this.continueDose = items.getBigDecimal(PumpParams.flow);
|
|
|
+// this.deviceType = DeviceTypeUtils.getDeviceType(items.getInteger(PumpParams.pumpType));
|
|
|
+// this.appendDose = items.getBigDecimal(PumpParams.singleDosis);
|
|
|
+// this.pcaValidCount = items.getInteger(PumpParams.pcaValid);
|
|
|
+// this.pcaInvalidCount = items.getInteger(PumpParams.pcaInvalid);
|
|
|
+// this.pcaTotalCount = this.pcaInvalidCount + this.pcaValidCount;
|
|
|
+// this.electricQuantity = items.getInteger(PumpParams.electricQuantity);
|
|
|
+//
|
|
|
+// // 运行状态
|
|
|
+// this.runState = DeviceRunStatusUtils.getRunStatus(items.getInteger(PumpParams.runStatus));
|
|
|
+// // 报警
|
|
|
+// this.alarm = DeviceAlarmUtils.getAlarm(items.getInteger(PumpParams.alarmStatus));
|
|
|
|
|
|
// 预报
|
|
|
|