| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  | using System; | 
					
						
							|  |  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  |  | using System.Linq; | 
					
						
							|  |  |  |  | using System.Web; | 
					
						
							|  |  |  |  | using System.Web.UI; | 
					
						
							|  |  |  |  | using System.Web.UI.WebControls; | 
					
						
							|  |  |  |  | using BLL; | 
					
						
							|  |  |  |  | using Newtonsoft.Json.Linq; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | namespace FineUIPro.Web.ZHGL.DataSync | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  |     public partial class HSSEData_HSSEEdit: PageBase | 
					
						
							|  |  |  |  |     { | 
					
						
							|  |  |  |  |         #region   | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// 主键 | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         public string Id | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             get | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 return (string)ViewState["Id"]; | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             set | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 ViewState["Id"] = value; | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         #endregion | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         protected void Page_Load(object sender, EventArgs e) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             if (!IsPostBack) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); | 
					
						
							|  |  |  |  |                 ////权限按钮方法 | 
					
						
							|  |  |  |  |                 this.GetButtonPower(); | 
					
						
							|  |  |  |  |                 this.Id = Request.Params["Id"]; | 
					
						
							|  |  |  |  |                 BLL.RectifyService.InitRectifyDropDownList(DropTypeName, false, null); | 
					
						
							|  |  |  |  |                 if (!string.IsNullOrEmpty(this.Id)) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     Model.HSSEData_HSSE model = BLL.HSSEData_HSSEService.GetHSSEData_HSSEById(this.Id); | 
					
						
							|  |  |  |  |                     if (model != null) | 
					
						
							|  |  |  |  |                     { | 
					
						
							|  |  |  |  |                         //this.txtUnitId.Text = model.UnitId; | 
					
						
							|  |  |  |  |                         this.txtCollCropCode.Text = model.CollCropCode; | 
					
						
							|  |  |  |  |                         this.txtUnitName.Text = model.UnitName; | 
					
						
							|  |  |  |  |                         if (model.ReportDate != null) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtReportDate.SelectedDate = model.ReportDate; | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.BeUnderConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtBeUnderConstructionNum.Text = model.BeUnderConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ShutdownNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtShutdownNum.Text = model.ShutdownNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.JoinConstructionPersonNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtJoinConstructionPersonNum.Text = model.JoinConstructionPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.MajorProjectsUnderConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtMajorProjectsUnderConstructionNum.Text = model.MajorProjectsUnderConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.TotalWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtTotalWorkingHour.Text = model.TotalWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.LostWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtLostWorkingHour.Text = model.LostWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SafeWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSafeWorkingHour.Text = model.SafeWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SafeTrainNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSafeTrainNum.Text = model.SafeTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SpecialTrainNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSpecialTrainNum.Text = model.SpecialTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SpecialOperationTrainNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSpecialOperationTrainNum.Text = model.SpecialOperationTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.TotalEnergyConsumption.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtTotalEnergyConsumption.Text = model.TotalEnergyConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.IncomeComprehensiveEnergyConsumption.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtIncomeComprehensiveEnergyConsumption.Text = model.IncomeComprehensiveEnergyConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.NewWaterConsumption.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtNewWaterConsumption.Text = model.NewWaterConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.HeadOfficeInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtHeadOfficeInspectorGeneralNum.Text = model.HeadOfficeInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.HeadOfficeFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtHeadOfficeFullTimeNum.Text = model.HeadOfficeFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.BranchInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtBranchInspectorGeneralNum.Text = model.BranchInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.BranchFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtBranchFullTimeNum.Text = model.BranchFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectInspectorGeneralNum.Text = model.ProjectInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectFullTimeNum.Text = model.ProjectFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectSafetyMonitorNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectSafetyMonitorNum.Text = model.ProjectSafetyMonitorNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SafetyInjectionEngineer.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSafetyInjectionEngineer.Text = model.SafetyInjectionEngineer.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CertificateANum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCertificateANum.Text = model.CertificateANum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CertificateBNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCertificateBNum.Text = model.CertificateBNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CertificateCNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCertificateCNum.Text = model.CertificateCNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SafetyCommitteeMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSafetyCommitteeMeetingNum.Text = model.SafetyCommitteeMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.EnterpriseTopicsMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtEnterpriseTopicsMeetingNum.Text = model.EnterpriseTopicsMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectSafetyLeadingGroupMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectSafetyLeadingGroupMeetingNum.Text = model.ProjectSafetyLeadingGroupMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectSafetyMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectSafetyMeetingNum.Text = model.ProjectSafetyMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanyLeadShiftCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanyLeadShiftCheckNum.Text = model.CompanyLeadShiftCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanyComprehensiveCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanyComprehensiveCheckNum.Text = model.CompanyComprehensiveCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanySpecialCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanySpecialCheckNum.Text = model.CompanySpecialCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectLeadShiftCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectLeadShiftCheckNum.Text = model.ProjectLeadShiftCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectSpecialCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectSpecialCheckNum.Text = model.ProjectSpecialCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectMajorCheckNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectMajorCheckNum.Text = model.ProjectMajorCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.NearMissNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtNearMissNum.Text = model.NearMissNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.RecordableEventNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtRecordableEventNum.Text = model.RecordableEventNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.GeneralAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtGeneralAccidentNum.Text = model.GeneralAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.MajorAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtMajorAccidentNum.Text = model.MajorAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SeriousAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSeriousAccidentNum.Text = model.SeriousAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SpecialSeriousAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSpecialSeriousAccidentNum.Text = model.SpecialSeriousAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanyComprehensivePlanNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanyComprehensivePlanNum.Text = model.CompanyComprehensivePlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanySpecialPlanNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanySpecialPlanNum.Text = model.CompanySpecialPlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanyOnSiteDisposalPlan.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanyOnSiteDisposalPlan.Text = model.CompanyOnSiteDisposalPlan.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompanyDrillNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompanyDrillNum.Text = model.CompanyDrillNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectComprehensivePlanNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectComprehensivePlanNum.Text = model.ProjectComprehensivePlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectSpecialPlanNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectSpecialPlanNum.Text = model.ProjectSpecialPlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectOnSiteDisposalPlan.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectOnSiteDisposalPlan.Text = model.ProjectOnSiteDisposalPlan.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ProjectDrillNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtProjectDrillNum.Text = model.ProjectDrillNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CostExtract.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCostExtract.Text = model.CostExtract.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CostUse.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCostUse.Text = model.CostUse.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.UseEquipmentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtUseEquipmentNum.Text = model.UseEquipmentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SpecialEquipmentNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSpecialEquipmentNum.Text = model.SpecialEquipmentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.LicensesNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtLicensesNum.Text = model.LicensesNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.LicensesCloseNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtLicensesCloseNum.Text = model.LicensesCloseNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.GeneralClosedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtGeneralClosedNum.Text = model.GeneralClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.GeneralNotClosedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtGeneralNotClosedNum.Text = model.GeneralNotClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.MajorClosedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtMajorClosedNum.Text = model.MajorClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.MajorNotClosedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtMajorNotClosedNum.Text = model.MajorNotClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.GeneralRiskNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtGeneralRiskNum.Text = model.GeneralRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.LowRiskNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtLowRiskNum.Text = model.LowRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.MediumRiskNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtMediumRiskNum.Text = model.MediumRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.HighRiskNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtHighRiskNum.Text = model.HighRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.CompletedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtCompletedNum.Text = model.CompletedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.TrainPersonNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtTrainPersonNum.Text = model.TrainPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.ConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtConstructionNum.Text = model.ConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.FinishedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtFinishedNum.Text = model.FinishedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SuperCompletedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSuperCompletedNum.Text = model.SuperCompletedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SuperTrainPersonNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSuperTrainPersonNum.Text = model.SuperTrainPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SuperConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSuperConstructionNum.Text = model.SuperConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         if (model.SuperFinishedNum.HasValue) | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             this.txtSuperFinishedNum.Text = model.SuperFinishedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 else | 
					
						
							|  |  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-09 14:50:40 +08:00
										 |  |  |  |                     var base_Unit = BLL.UnitService.GetUnitByUnitId(Const.UnitId_CWCEC); | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  |                     txtUnitName.Text = base_Unit.UnitName; | 
					
						
							|  |  |  |  |                     txtCollCropCode.Text = base_Unit.CollCropCode; | 
					
						
							|  |  |  |  |                     txtReportDate.SelectedDate = DateTime.Now; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 BindGrid(); | 
					
						
							|  |  |  |  |                 #region Grid1 | 
					
						
							|  |  |  |  |                 // 删除选中单元格的客户端脚本 | 
					
						
							|  |  |  |  |                 string deleteScript = GetDeleteScript(); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 JObject defaultObj = new JObject(); | 
					
						
							|  |  |  |  |                 defaultObj.Add("TypeName", ""); | 
					
						
							|  |  |  |  |                 defaultObj.Add("TotalNum", ""); | 
					
						
							|  |  |  |  |                 defaultObj.Add("NeedRectifyNum", ""); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 // 在第一行新增一条数据 | 
					
						
							|  |  |  |  |                 btnNew.OnClientClick = Grid1.GetAddNewRecordReference(defaultObj, true); | 
					
						
							|  |  |  |  |                 // 删除选中行按钮 | 
					
						
							|  |  |  |  |                 btnDelete.OnClientClick = Grid1.GetNoSelectionAlertReference("请选择一条记录!") + deleteScript; | 
					
						
							|  |  |  |  |                 #endregion | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         private void BindGrid() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             if (!string.IsNullOrEmpty(this.Id)) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 Model.HSSEData_HSSE model = BLL.HSSEData_HSSEService.GetHSSEData_HSSEById(this.Id); | 
					
						
							|  |  |  |  |                 if (model != null) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     var dt = BLL.HSSEData_HiddenDangerDetailService.GetHSSEData_HiddenDangerDetailByDate(model.ReportDate); | 
					
						
							|  |  |  |  |                     Grid1.RecordCount = dt.Count; | 
					
						
							|  |  |  |  |                     // var table = this.GetPagedDataTable(Grid1, tb); | 
					
						
							|  |  |  |  |                     Grid1.DataSource = dt; | 
					
						
							|  |  |  |  |                     Grid1.DataBind(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// 保存按钮 | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="sender"></param> | 
					
						
							|  |  |  |  |         /// <param name="e"></param> | 
					
						
							|  |  |  |  |         protected void btnSave_Click(object sender, EventArgs e) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             if (txtReportDate.SelectedDate == null) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 ShowNotify("请选择上报日期!"); | 
					
						
							|  |  |  |  |                 return; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             Model.HSSEData_HSSE table = new Model.HSSEData_HSSE(); | 
					
						
							| 
									
										
										
										
											2023-03-09 14:50:40 +08:00
										 |  |  |  |             table.UnitId = Const.UnitId_CWCEC; | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  |             table.CollCropCode = this.txtCollCropCode.Text; | 
					
						
							|  |  |  |  |             table.UnitName = this.txtUnitName.Text; | 
					
						
							|  |  |  |  |             table.ReportDate = this.txtReportDate.SelectedDate; | 
					
						
							|  |  |  |  |             table.BeUnderConstructionNum = Funs.GetNewInt(this.txtBeUnderConstructionNum.Text); | 
					
						
							|  |  |  |  |             table.ShutdownNum = Funs.GetNewInt(this.txtShutdownNum.Text); | 
					
						
							|  |  |  |  |             table.JoinConstructionPersonNum = Funs.GetNewInt(this.txtJoinConstructionPersonNum.Text); | 
					
						
							|  |  |  |  |             table.MajorProjectsUnderConstructionNum = Funs.GetNewInt(this.txtMajorProjectsUnderConstructionNum.Text); | 
					
						
							|  |  |  |  |             table.TotalWorkingHour = Funs.GetNewInt(this.txtTotalWorkingHour.Text); | 
					
						
							|  |  |  |  |             table.LostWorkingHour = Funs.GetNewInt(this.txtLostWorkingHour.Text); | 
					
						
							|  |  |  |  |             table.SafeWorkingHour = Funs.GetNewInt(this.txtSafeWorkingHour.Text); | 
					
						
							|  |  |  |  |             table.SafeTrainNum = Funs.GetNewInt(this.txtSafeTrainNum.Text); | 
					
						
							|  |  |  |  |             table.SpecialTrainNum = Funs.GetNewInt(this.txtSpecialTrainNum.Text); | 
					
						
							|  |  |  |  |             table.SpecialOperationTrainNum = Funs.GetNewInt(this.txtSpecialOperationTrainNum.Text); | 
					
						
							| 
									
										
										
										
											2023-03-09 14:50:40 +08:00
										 |  |  |  |             table.TotalEnergyConsumption = Funs.GetNewDecimalOrZero(this.txtTotalEnergyConsumption.Text); | 
					
						
							|  |  |  |  |             table.IncomeComprehensiveEnergyConsumption = Funs.GetNewDecimalOrZero(this.txtIncomeComprehensiveEnergyConsumption.Text); | 
					
						
							|  |  |  |  |             table.NewWaterConsumption = Funs.GetNewDecimalOrZero(this.txtNewWaterConsumption.Text); | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  |             table.HeadOfficeInspectorGeneralNum = Funs.GetNewInt(this.txtHeadOfficeInspectorGeneralNum.Text); | 
					
						
							|  |  |  |  |             table.HeadOfficeFullTimeNum = Funs.GetNewInt(this.txtHeadOfficeFullTimeNum.Text); | 
					
						
							|  |  |  |  |             table.BranchInspectorGeneralNum = Funs.GetNewInt(this.txtBranchInspectorGeneralNum.Text); | 
					
						
							|  |  |  |  |             table.BranchFullTimeNum = Funs.GetNewInt(this.txtBranchFullTimeNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectInspectorGeneralNum = Funs.GetNewInt(this.txtProjectInspectorGeneralNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectFullTimeNum = Funs.GetNewInt(this.txtProjectFullTimeNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectSafetyMonitorNum = Funs.GetNewInt(this.txtProjectSafetyMonitorNum.Text); | 
					
						
							|  |  |  |  |             table.SafetyInjectionEngineer = Funs.GetNewInt(this.txtSafetyInjectionEngineer.Text); | 
					
						
							|  |  |  |  |             table.CertificateANum = Funs.GetNewInt(this.txtCertificateANum.Text); | 
					
						
							|  |  |  |  |             table.CertificateBNum = Funs.GetNewInt(this.txtCertificateBNum.Text); | 
					
						
							|  |  |  |  |             table.CertificateCNum = Funs.GetNewInt(this.txtCertificateCNum.Text); | 
					
						
							|  |  |  |  |             table.SafetyCommitteeMeetingNum = Funs.GetNewInt(this.txtSafetyCommitteeMeetingNum.Text); | 
					
						
							|  |  |  |  |             table.EnterpriseTopicsMeetingNum = Funs.GetNewInt(this.txtEnterpriseTopicsMeetingNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectSafetyLeadingGroupMeetingNum = Funs.GetNewInt(this.txtProjectSafetyLeadingGroupMeetingNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectSafetyMeetingNum = Funs.GetNewInt(this.txtProjectSafetyMeetingNum.Text); | 
					
						
							|  |  |  |  |             table.CompanyLeadShiftCheckNum = Funs.GetNewInt(this.txtCompanyLeadShiftCheckNum.Text); | 
					
						
							|  |  |  |  |             table.CompanyComprehensiveCheckNum = Funs.GetNewInt(this.txtCompanyComprehensiveCheckNum.Text); | 
					
						
							|  |  |  |  |             table.CompanySpecialCheckNum = Funs.GetNewInt(this.txtCompanySpecialCheckNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectLeadShiftCheckNum = Funs.GetNewInt(this.txtProjectLeadShiftCheckNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectSpecialCheckNum = Funs.GetNewInt(this.txtProjectSpecialCheckNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectMajorCheckNum = Funs.GetNewInt(this.txtProjectMajorCheckNum.Text); | 
					
						
							|  |  |  |  |             table.NearMissNum = Funs.GetNewInt(this.txtNearMissNum.Text); | 
					
						
							|  |  |  |  |             table.RecordableEventNum = Funs.GetNewInt(this.txtRecordableEventNum.Text); | 
					
						
							|  |  |  |  |             table.GeneralAccidentNum = Funs.GetNewInt(this.txtGeneralAccidentNum.Text); | 
					
						
							|  |  |  |  |             table.MajorAccidentNum = Funs.GetNewInt(this.txtMajorAccidentNum.Text); | 
					
						
							|  |  |  |  |             table.SeriousAccidentNum = Funs.GetNewInt(this.txtSeriousAccidentNum.Text); | 
					
						
							|  |  |  |  |             table.SpecialSeriousAccidentNum = Funs.GetNewInt(this.txtSpecialSeriousAccidentNum.Text); | 
					
						
							|  |  |  |  |             table.CompanyComprehensivePlanNum = Funs.GetNewInt(this.txtCompanyComprehensivePlanNum.Text); | 
					
						
							|  |  |  |  |             table.CompanySpecialPlanNum = Funs.GetNewInt(this.txtCompanySpecialPlanNum.Text); | 
					
						
							|  |  |  |  |             table.CompanyOnSiteDisposalPlan = Funs.GetNewInt(this.txtCompanyOnSiteDisposalPlan.Text); | 
					
						
							|  |  |  |  |             table.CompanyDrillNum = Funs.GetNewInt(this.txtCompanyDrillNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectComprehensivePlanNum = Funs.GetNewInt(this.txtProjectComprehensivePlanNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectSpecialPlanNum = Funs.GetNewInt(this.txtProjectSpecialPlanNum.Text); | 
					
						
							|  |  |  |  |             table.ProjectOnSiteDisposalPlan = Funs.GetNewInt(this.txtProjectOnSiteDisposalPlan.Text); | 
					
						
							|  |  |  |  |             table.ProjectDrillNum = Funs.GetNewInt(this.txtProjectDrillNum.Text); | 
					
						
							|  |  |  |  |             table.CostExtract = Funs.GetNewInt(this.txtCostExtract.Text); | 
					
						
							|  |  |  |  |             table.CostUse = Funs.GetNewInt(this.txtCostUse.Text); | 
					
						
							|  |  |  |  |             table.UseEquipmentNum = Funs.GetNewInt(this.txtUseEquipmentNum.Text); | 
					
						
							|  |  |  |  |             table.SpecialEquipmentNum = Funs.GetNewInt(this.txtSpecialEquipmentNum.Text); | 
					
						
							|  |  |  |  |             table.LicensesNum = Funs.GetNewInt(this.txtLicensesNum.Text); | 
					
						
							|  |  |  |  |             table.LicensesCloseNum = Funs.GetNewInt(this.txtLicensesCloseNum.Text); | 
					
						
							|  |  |  |  |             table.GeneralClosedNum = Funs.GetNewInt(this.txtGeneralClosedNum.Text); | 
					
						
							|  |  |  |  |             table.GeneralNotClosedNum = Funs.GetNewInt(this.txtGeneralNotClosedNum.Text); | 
					
						
							|  |  |  |  |             table.MajorClosedNum = Funs.GetNewInt(this.txtMajorClosedNum.Text); | 
					
						
							|  |  |  |  |             table.MajorNotClosedNum = Funs.GetNewInt(this.txtMajorNotClosedNum.Text); | 
					
						
							|  |  |  |  |             table.GeneralRiskNum = Funs.GetNewInt(this.txtGeneralRiskNum.Text); | 
					
						
							|  |  |  |  |             table.LowRiskNum = Funs.GetNewInt(this.txtLowRiskNum.Text); | 
					
						
							|  |  |  |  |             table.MediumRiskNum = Funs.GetNewInt(this.txtMediumRiskNum.Text); | 
					
						
							|  |  |  |  |             table.HighRiskNum = Funs.GetNewInt(this.txtHighRiskNum.Text); | 
					
						
							|  |  |  |  |             table.CompletedNum = Funs.GetNewInt(this.txtCompletedNum.Text); | 
					
						
							|  |  |  |  |             table.TrainPersonNum = Funs.GetNewInt(this.txtTrainPersonNum.Text); | 
					
						
							|  |  |  |  |             table.ConstructionNum = Funs.GetNewInt(this.txtConstructionNum.Text); | 
					
						
							|  |  |  |  |             table.FinishedNum = Funs.GetNewInt(this.txtFinishedNum.Text); | 
					
						
							|  |  |  |  |             table.SuperCompletedNum = Funs.GetNewInt(this.txtSuperCompletedNum.Text); | 
					
						
							|  |  |  |  |             table.SuperTrainPersonNum = Funs.GetNewInt(this.txtSuperTrainPersonNum.Text); | 
					
						
							|  |  |  |  |             table.SuperConstructionNum = Funs.GetNewInt(this.txtSuperConstructionNum.Text); | 
					
						
							|  |  |  |  |             table.SuperFinishedNum = Funs.GetNewInt(this.txtSuperFinishedNum.Text); | 
					
						
							|  |  |  |  |             if (string.IsNullOrEmpty(this.Id)) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 table.Id = SQLHelper.GetNewID(typeof(Model.HSSEData_HSSE)); | 
					
						
							|  |  |  |  |                 BLL.HSSEData_HSSEService.AddHSSEData_HSSE(table); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             else | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 table.Id = this.Id; | 
					
						
							|  |  |  |  |                 BLL.HSSEData_HSSEService.UpdateHSSEData_HSSE(table); | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             BLL.HSSEData_HiddenDangerDetailService.DeleteHSSEData_HiddenDangerDetailByDate(table.ReportDate); | 
					
						
							|  |  |  |  |             JArray EditorArr = Grid1.GetMergedData(); | 
					
						
							|  |  |  |  |             if (EditorArr.Count > 0) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 Model.HSSEData_HiddenDangerDetail model = new Model.HSSEData_HiddenDangerDetail(); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 for (int i = 0; i < EditorArr.Count; i++) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     JObject objects = (JObject)EditorArr[i]; | 
					
						
							|  |  |  |  |                     model.UnitId = table.UnitId; | 
					
						
							|  |  |  |  |                     model.CollCropCode = table.CollCropCode; | 
					
						
							|  |  |  |  |                     model.UnitName = table.UnitName; | 
					
						
							|  |  |  |  |                     model.ReportDate = table.ReportDate; | 
					
						
							|  |  |  |  |                     model.TypeName = objects["values"]["TypeName"].ToString(); | 
					
						
							|  |  |  |  |                     model.TotalNum = Funs.GetNewInt(objects["values"]["TotalNum"].ToString()); | 
					
						
							|  |  |  |  |                     model.NeedRectifyNum = Funs.GetNewInt(objects["values"]["NeedRectifyNum"].ToString()); | 
					
						
							|  |  |  |  |                     model.Id = SQLHelper.GetNewID(typeof(Model.HSSEData_HiddenDangerDetail)); | 
					
						
							|  |  |  |  |                     BLL.HSSEData_HiddenDangerDetailService.AddHSSEData_HiddenDangerDetail(model); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         protected void txtReportDate_DateSelect(object sender, EventArgs e) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             if (txtReportDate.SelectedDate != null) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 DateTime dt = (DateTime)txtReportDate.SelectedDate; | 
					
						
							|  |  |  |  |                 if (BLL.HSSEData_HSSEService.IsReportByDate(dt)) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     txtReportDate.SelectedDate = null; | 
					
						
							|  |  |  |  |                     ShowNotify("该日期已上报!"); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         protected void btnSyn_Click(object sender, EventArgs e) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             if (!string.IsNullOrEmpty(this.Id)) | 
					
						
							|  |  |  |  |             { | 
					
						
							| 
									
										
										
										
											2023-08-10 11:40:02 +08:00
										 |  |  |  |                 var responedata = HSSEData_HSSEService.PushCncec(Id); | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  |                 if (responedata.code == 1) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     ShowNotify("上报成功!"); | 
					
						
							|  |  |  |  |                     PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 else | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     ShowNotify(responedata.message); | 
					
						
							|  |  |  |  |                     // PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         private string GetDeleteScript() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             return Confirm.GetShowReference("确定删除当前数据吗?", String.Empty, MessageBoxIcon.Question, Grid1.GetDeleteSelectedRowsReference(), String.Empty); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         #region 获取按钮权限 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// 获取按钮权限 | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="button"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         private void GetButtonPower() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HSSEData_HSSEMenuId); | 
					
						
							|  |  |  |  |             if (buttonList.Count() > 0) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 if (buttonList.Contains(BLL.Const.BtnSave)) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.btnSave.Hidden = false; | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2023-03-09 14:50:40 +08:00
										 |  |  |  |         #endregion | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-09 14:50:40 +08:00
										 |  |  |  |         #region 复制数据 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// 复制报表数据 | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="sender"></param> | 
					
						
							|  |  |  |  |         /// <param name="e"></param> | 
					
						
							|  |  |  |  |         protected void btnCopy_Click(object sender, EventArgs e) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             Model.HSSEData_HSSE model = Funs.DB.HSSEData_HSSE.OrderByDescending(x=>x.ReportDate).FirstOrDefault(); | 
					
						
							|  |  |  |  |             if (model != null) | 
					
						
							|  |  |  |  |             { | 
					
						
							|  |  |  |  |                 if (model.BeUnderConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtBeUnderConstructionNum.Text = model.BeUnderConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ShutdownNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtShutdownNum.Text = model.ShutdownNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.JoinConstructionPersonNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtJoinConstructionPersonNum.Text = model.JoinConstructionPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.MajorProjectsUnderConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtMajorProjectsUnderConstructionNum.Text = model.MajorProjectsUnderConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.TotalWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtTotalWorkingHour.Text = model.TotalWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.LostWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtLostWorkingHour.Text = model.LostWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SafeWorkingHour.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSafeWorkingHour.Text = model.SafeWorkingHour.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SafeTrainNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSafeTrainNum.Text = model.SafeTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SpecialTrainNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSpecialTrainNum.Text = model.SpecialTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SpecialOperationTrainNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSpecialOperationTrainNum.Text = model.SpecialOperationTrainNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.TotalEnergyConsumption.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtTotalEnergyConsumption.Text = model.TotalEnergyConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.IncomeComprehensiveEnergyConsumption.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtIncomeComprehensiveEnergyConsumption.Text = model.IncomeComprehensiveEnergyConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.NewWaterConsumption.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtNewWaterConsumption.Text = model.NewWaterConsumption.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.HeadOfficeInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtHeadOfficeInspectorGeneralNum.Text = model.HeadOfficeInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.HeadOfficeFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtHeadOfficeFullTimeNum.Text = model.HeadOfficeFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.BranchInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtBranchInspectorGeneralNum.Text = model.BranchInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.BranchFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtBranchFullTimeNum.Text = model.BranchFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectInspectorGeneralNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectInspectorGeneralNum.Text = model.ProjectInspectorGeneralNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectFullTimeNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectFullTimeNum.Text = model.ProjectFullTimeNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectSafetyMonitorNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectSafetyMonitorNum.Text = model.ProjectSafetyMonitorNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SafetyInjectionEngineer.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSafetyInjectionEngineer.Text = model.SafetyInjectionEngineer.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CertificateANum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCertificateANum.Text = model.CertificateANum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CertificateBNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCertificateBNum.Text = model.CertificateBNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CertificateCNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCertificateCNum.Text = model.CertificateCNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SafetyCommitteeMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSafetyCommitteeMeetingNum.Text = model.SafetyCommitteeMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.EnterpriseTopicsMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtEnterpriseTopicsMeetingNum.Text = model.EnterpriseTopicsMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectSafetyLeadingGroupMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectSafetyLeadingGroupMeetingNum.Text = model.ProjectSafetyLeadingGroupMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectSafetyMeetingNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectSafetyMeetingNum.Text = model.ProjectSafetyMeetingNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanyLeadShiftCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanyLeadShiftCheckNum.Text = model.CompanyLeadShiftCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanyComprehensiveCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanyComprehensiveCheckNum.Text = model.CompanyComprehensiveCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanySpecialCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanySpecialCheckNum.Text = model.CompanySpecialCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectLeadShiftCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectLeadShiftCheckNum.Text = model.ProjectLeadShiftCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectSpecialCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectSpecialCheckNum.Text = model.ProjectSpecialCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectMajorCheckNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectMajorCheckNum.Text = model.ProjectMajorCheckNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.NearMissNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtNearMissNum.Text = model.NearMissNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.RecordableEventNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtRecordableEventNum.Text = model.RecordableEventNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.GeneralAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtGeneralAccidentNum.Text = model.GeneralAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.MajorAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtMajorAccidentNum.Text = model.MajorAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SeriousAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSeriousAccidentNum.Text = model.SeriousAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SpecialSeriousAccidentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSpecialSeriousAccidentNum.Text = model.SpecialSeriousAccidentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanyComprehensivePlanNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanyComprehensivePlanNum.Text = model.CompanyComprehensivePlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanySpecialPlanNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanySpecialPlanNum.Text = model.CompanySpecialPlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanyOnSiteDisposalPlan.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanyOnSiteDisposalPlan.Text = model.CompanyOnSiteDisposalPlan.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompanyDrillNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompanyDrillNum.Text = model.CompanyDrillNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectComprehensivePlanNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectComprehensivePlanNum.Text = model.ProjectComprehensivePlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectSpecialPlanNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectSpecialPlanNum.Text = model.ProjectSpecialPlanNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectOnSiteDisposalPlan.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectOnSiteDisposalPlan.Text = model.ProjectOnSiteDisposalPlan.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ProjectDrillNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtProjectDrillNum.Text = model.ProjectDrillNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CostExtract.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCostExtract.Text = model.CostExtract.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CostUse.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCostUse.Text = model.CostUse.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.UseEquipmentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtUseEquipmentNum.Text = model.UseEquipmentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SpecialEquipmentNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSpecialEquipmentNum.Text = model.SpecialEquipmentNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.LicensesNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtLicensesNum.Text = model.LicensesNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.LicensesCloseNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtLicensesCloseNum.Text = model.LicensesCloseNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.GeneralClosedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtGeneralClosedNum.Text = model.GeneralClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.GeneralNotClosedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtGeneralNotClosedNum.Text = model.GeneralNotClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.MajorClosedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtMajorClosedNum.Text = model.MajorClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.MajorNotClosedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtMajorNotClosedNum.Text = model.MajorNotClosedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.GeneralRiskNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtGeneralRiskNum.Text = model.GeneralRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.LowRiskNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtLowRiskNum.Text = model.LowRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.MediumRiskNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtMediumRiskNum.Text = model.MediumRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.HighRiskNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtHighRiskNum.Text = model.HighRiskNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.CompletedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtCompletedNum.Text = model.CompletedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.TrainPersonNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtTrainPersonNum.Text = model.TrainPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.ConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtConstructionNum.Text = model.ConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.FinishedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtFinishedNum.Text = model.FinishedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SuperCompletedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSuperCompletedNum.Text = model.SuperCompletedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SuperTrainPersonNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSuperTrainPersonNum.Text = model.SuperTrainPersonNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SuperConstructionNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSuperConstructionNum.Text = model.SuperConstructionNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |                 if (model.SuperFinishedNum.HasValue) | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     this.txtSuperFinishedNum.Text = model.SuperFinishedNum.Value.ToString(); | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         #endregion | 
					
						
							| 
									
										
										
										
											2022-12-26 14:34:56 +08:00
										 |  |  |  |     } | 
					
						
							|  |  |  |  | } |