コード例 #1
0
 public void InitMaterialData(List <MeterialGroupThicknessDto> list)
 {
     _SelectedMaterialId      = -1;
     _SelectedMaterialGroupId = -1;
     MaterialTypeList.Clear();
     list.ForEach(d => MaterialTypeList.Add(d));
     MaterialThicknessList.Clear();
     if (list.Count > 0)
     {
         SelectedMaterialId = (int)list[0].MaterialCode;
     }
 }