|
@ -32,7 +32,7 @@ public class ChannelState { |
|
|
private volatile String solutionName; |
|
|
private volatile String solutionName; |
|
|
|
|
|
|
|
|
@Schema(description = "溶液浓度") |
|
|
@Schema(description = "溶液浓度") |
|
|
private volatile String concentration; |
|
|
|
|
|
|
|
|
private volatile Integer concentration; |
|
|
|
|
|
|
|
|
@Schema(description = "是否选中") |
|
|
@Schema(description = "是否选中") |
|
|
private volatile boolean selected = false; |
|
|
private volatile boolean selected = false; |
|
@ -46,7 +46,7 @@ public class ChannelState { |
|
|
@Schema(description = "领取溶液量(单位:mL)") |
|
|
@Schema(description = "领取溶液量(单位:mL)") |
|
|
private volatile Double receivedVolume; |
|
|
private volatile Double receivedVolume; |
|
|
|
|
|
|
|
|
public ChannelState(ChannelCode channelCode, Long solutionId, String solutionName, String concentration, Double targetVolume, Double receivedVolume, Double currentVolume) { |
|
|
|
|
|
|
|
|
public ChannelState(ChannelCode channelCode, Long solutionId, String solutionName, Integer concentration, Double targetVolume, Double receivedVolume, Double currentVolume) { |
|
|
this.channelCode = channelCode; |
|
|
this.channelCode = channelCode; |
|
|
this.solutionId = solutionId; |
|
|
this.solutionId = solutionId; |
|
|
this.solutionName = solutionName; |
|
|
this.solutionName = solutionName; |
|
|