| package com.zy.asrs.entity.param; | 
|   | 
| import com.zy.asrs.entity.BasArmRules; | 
| import lombok.Data; | 
| import org.apache.xmlbeans.impl.xb.xsdschema.Public; | 
|   | 
| import java.util.ArrayList; | 
| import java.util.List; | 
|   | 
| /* | 
|  *  Created by Monkey D. Luffy on 2025.09.09 | 
|  * */ | 
| @Data | 
| public class ArmPrecomputeParam { | 
|   | 
|     private List<CombMat> matList = new ArrayList<>(); | 
|   | 
|     @Data | 
|     public static class CombMat { | 
|   | 
|         // 长度 | 
|         private Double material_length; | 
|   | 
|         // 宽度 | 
|         private Double material_width; | 
|   | 
|         // 高度 | 
|         private Double material_height; | 
|   | 
|         // 重量 | 
|         private Double material_weight; | 
|   | 
|         // 数量 | 
|         private Double material_number = 10.0; | 
|   | 
|         public CombMat() {} | 
|   | 
|         public CombMat(BasArmRules basArmRules) { | 
|             this.material_length = basArmRules.getMaterialLength(); | 
|             this.material_width = basArmRules.getMaterialWidth(); | 
|             this.material_height = basArmRules.getMaterialHeight(); | 
|             this.material_weight = basArmRules.getMaterialWeight(); | 
|         } | 
|   | 
|         public CombMat(Double material_length, Double material_width, Double material_height, Double material_weight, Double material_number) { | 
|             this.material_length = material_length; | 
|             this.material_width = material_width; | 
|             this.material_height = material_height; | 
|             this.material_weight = material_weight; | 
|             this.material_number = material_number; | 
|         } | 
|     } | 
|   | 
|     public ArmPrecomputeParam() {} | 
|     public ArmPrecomputeParam(Double material_length, Double material_width, Double material_height, Double material_weight, Double material_number) { | 
|         this.matList.add( new CombMat(material_length,  material_width,  material_height,  material_weight,  material_number)); | 
|     } | 
|   | 
|     public ArmPrecomputeParam(BasArmRules basArmRules) { | 
|         this.matList.add(new CombMat(basArmRules)); | 
|     } | 
| } |