lixiaojun
2024-12-11 393d0a648f1cb3ff845b01b530a4a7bf7eca21cd
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportHelper.cs
@@ -169,25 +169,26 @@
            Cell.structureCell("cosφ");
            Cell.structureCell("r/m  ");
            builder.EndRow();
            //if (vm.Pumps != null)
            //{
            //    foreach (var item in vm.Equipments)
            //    {
            //        Cell.structureCell(item.EquipmentName);
            //        Cell.structureCell(item.EquipmentNumber);
            //        Cell.structureCell(item.EquipmentMainName);
            //        Cell.structureCell(item.RatedFlow);
            //        Cell.structureCell(item.RatedHead);
            //        Cell.structureCell(item.TypeOfDrive);
            //        Cell.structureCell("电机驱动");
            //        Cell.structureCell(item.RatedCurrent);
            //        Cell.structureCell(item.RatedPower);
            //        Cell.structureCell(item.RatedFactor);
            //        Cell.structureCell(item.Speed);
            //        builder.EndRow();
            //    }
            //}
            //else
            if (vm.Pumps != null)
            {
                foreach (var item in vm.Pumps)
                {
                    Cell.structureCell(item.Name);
                    Cell.structureCell(item.SerialNO);
                    Cell.structureCell(item.ModelType);
                    Cell.structureCell(item.RatedQ);
                    Cell.structureCell(item.RatedH);
                    //Cell.structureCell(item.TypeOfDrive);
                    Cell.structureCell("电机驱动");
                    Cell.structureCell("电机驱动");
                    Cell.structureCell(item.RatedI);
                    Cell.structureCell(item.RatedP);
                    Cell.structureCell(item.RatedF);
                    Cell.structureCell(item.RatedN);
                    builder.EndRow();
                }
            }
            else
            {
                Cell.structureCell("");
                Cell.structureCell("");