|
@@ -36,6 +36,8 @@ public class WarpRunIn {
|
|
|
private Float density;
|
|
|
@ApiModelProperty("卷曲张力系数")
|
|
|
private Float coefficient;
|
|
|
+ @ApiModelProperty("设定落布米数")
|
|
|
+ private Integer length;
|
|
|
|
|
|
public WarpRunIn(boolean isSmall, Map<String, Object> map) {
|
|
|
TwinDevice twinDevice = (TwinDevice) map.get("device");
|
|
@@ -54,16 +56,18 @@ public class WarpRunIn {
|
|
|
this.l3 = (int) map.get("Formula_data_21") + "";
|
|
|
this.l4 = (int) map.get("Formula_data_22") + "";
|
|
|
this.l5 = (int) map.get("Formula_data_23") + "";
|
|
|
+ this.length = (int) map.get("Capacity_data_4");
|
|
|
this.density = (float) map.get("Formula_data_24");
|
|
|
this.coefficient = (float) map.get("Formula_data_25");
|
|
|
}
|
|
|
|
|
|
private void setBig(Map<String, Object> map) {
|
|
|
- this.l1 = ((Number) map.get("Formula_data_1")).intValue()+"";
|
|
|
- this.l2 = ((Number) map.get("Formula_data_2")).intValue()+"";
|
|
|
- this.l3 = ((Number)map.get("Formula_data_3")).intValue()+"";
|
|
|
- this.l4 = ((Number) map.get("Formula_data_4")).intValue()+"";
|
|
|
- this.l5 = ((Number) map.get("Formula_data_5")).intValue()+"";
|
|
|
+ this.l1 = ((Number) map.get("Formula_data_1")).intValue() + "";
|
|
|
+ this.l2 = ((Number) map.get("Formula_data_2")).intValue() + "";
|
|
|
+ this.l3 = ((Number) map.get("Formula_data_3")).intValue() + "";
|
|
|
+ this.l4 = ((Number) map.get("Formula_data_4")).intValue() + "";
|
|
|
+ this.l5 = ((Number) map.get("Formula_data_5")).intValue() + "";
|
|
|
+ this.length = ((Number) map.get("Capacity_data_176")).intValue();
|
|
|
// this.l1 = String.format("%d,%d",
|
|
|
// ((Number) map.get("Formula_data_1")).intValue(),
|
|
|
// ((Number) map.get("Formula_data_2")).intValue());
|