private RawMaterialStockModel CreateDifferenceRetData(RawMaterialStockModel a, RawMaterialStockModel b) { var ret = new RawMaterialStockModel(); //建筑钢筋 var Building = new RebarTypeRetModel(); if (a != null && b != null) { Building.TotalWeight = GetDifferenceData(a.BuildingSteel, b.BuildingSteel); } ret.BuildingSteel = Building; //型钢 var Steel = new RebarTypeRetModel(); if (a != null && b != null) { Steel.TotalWeight = GetDifferenceData(a.SectionSteel, b.SectionSteel); } ret.SectionSteel = Steel; return(ret); }
public PlanRawMaterialStockModel() { MonthPlan = new RawMaterialStockModel(); BatchPlan = new RawMaterialStockModel(); SupplyData = new RawMaterialStockModel(); }