From e4b7694e4282917ee14155fb82d9f42b54fcb3fa Mon Sep 17 00:00:00 2001 From: 10191 <506754232@qq.com> Date: Thu, 13 Jul 2023 10:09:46 +0800 Subject: [PATCH] =?UTF-8?q?webservice=20=E8=B0=83=E7=94=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/API/HSSE/APITestRecordService.cs | 63 +- SGGL/BLL/BLL.csproj | 14 - SGGL/BLL/HSSE/SitePerson/PersonService.cs | 1440 +++--- .../CNCECHSSEService/HSSEService.disco | 4 - .../CNCECHSSEService/HSSEService.wsdl | 2549 +++++++++- .../CNCECHSSEService/HSSEService.xsd | 42 - .../CNCECHSSEService/HSSEService1.wsdl | 520 -- .../CNCECHSSEService/HSSEService1.xsd | 15 - .../CNCECHSSEService/HSSEService2.xsd | 747 --- .../CNCECHSSEService/HSSEService3.xsd | 1219 ----- .../CNCECHSSEService/Reference.cs | 4388 +---------------- .../CNCECHSSEService/Reference.svcmap | 15 +- .../CNCECHSSEService/configuration.svcinfo | 2 +- .../CNCECHSSEService/configuration91.svcinfo | 6 +- .../Comprehensive/InspectionPersonEdit.aspx | 2 +- .../InspectionPersonEdit.aspx.cs | 4 +- .../CQMS/Solution/ConstructSolution.aspx.cs | 1752 +++---- ...案审批确认表E21028-13HJ-SU-001.doc | Bin 80384 -> 0 bytes .../FineUIPro.Web/SysManage/UserListEdit.aspx | 6 +- .../ZHGL/ServerCheck/SubUnitReport.aspx.cs | 49 +- SGGL/FineUIPro.Web/common/ServiceProxy.cs | 34 +- .../Controllers/HSSE/TestRecordController.cs | 12 +- 22 files changed, 4510 insertions(+), 8373 deletions(-) delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService.disco delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService.xsd delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.wsdl delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.xsd delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService2.xsd delete mode 100644 SGGL/BLL/Service References/CNCECHSSEService/HSSEService3.xsd delete mode 100644 SGGL/FineUIPro.Web/File/Word/CQMS/Solution/施工组织设计或(专项)施工方案审批确认表E21028-13HJ-SU-001.doc diff --git a/SGGL/BLL/API/HSSE/APITestRecordService.cs b/SGGL/BLL/API/HSSE/APITestRecordService.cs index b6ec2c56..ed438f87 100644 --- a/SGGL/BLL/API/HSSE/APITestRecordService.cs +++ b/SGGL/BLL/API/HSSE/APITestRecordService.cs @@ -29,7 +29,7 @@ namespace BLL ProjectId = x.ProjectId, TestPlanId = x.TestPlanId, TestManId = x.TestManId, - TestManName = db.SitePerson_Person.FirstOrDefault(p => p.PersonId == x.TestManId).PersonName, + //TestManName = db.SitePerson_Person.FirstOrDefault(p => p.PersonId == x.TestManId).PersonName, TestStartTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.TestStartTime), TestEndTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.TestEndTime), TestScores = x.TestScores ?? 0, @@ -83,7 +83,7 @@ namespace BLL TestPlanId = x.TestPlanId, TestPlanName = y.PlanName, TestManId = x.TestManId, - TestManName = db.SitePerson_Person.First(u => u.PersonId == x.TestManId).PersonName, + // TestManName = db.SitePerson_Person.First(u => u.PersonId == x.TestManId).PersonName, TestStartTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.TestStartTime), TestEndTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.TestEndTime), TestPlanEndTime = x.TestStartTime.HasValue ? string.Format("{0:yyyy-MM-dd HH:mm}", x.TestStartTime.Value.AddMinutes(x.Duration)) : "", @@ -813,39 +813,40 @@ namespace BLL } } - #region 根据TestRecord生成一条补考记录 - /// - /// 根据TestRecord生成一条补考记录 - /// - /// - public static string getResitTestRecord(Model.Training_TestRecord getTestRecord) - { - using (var db = new Model.SGGLDB(Funs.ConnString)) - { Model.Training_TestRecord newTestRecord = new Model.Training_TestRecord + #region 根据TestRecord生成一条补考记录 + /// + /// 根据TestRecord生成一条补考记录 + /// + /// + public static string getResitTestRecord(Model.Training_TestRecord getTestRecord) { - TestRecordId = SQLHelper.GetNewID(), - ProjectId = getTestRecord.ProjectId, - TestPlanId = getTestRecord.TestPlanId, - TestManId = getTestRecord.TestManId, - TestType = getTestRecord.TestType, - TemporaryUser = getTestRecord.TemporaryUser, - Duration = getTestRecord.Duration, - // TestStartTime = DateTime.Now, - }; + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + Model.Training_TestRecord newTestRecord = new Model.Training_TestRecord + { + TestRecordId = SQLHelper.GetNewID(), + ProjectId = getTestRecord.ProjectId, + TestPlanId = getTestRecord.TestPlanId, + TestManId = getTestRecord.TestManId, + TestType = getTestRecord.TestType, + TemporaryUser = getTestRecord.TemporaryUser, + Duration = getTestRecord.Duration, + // TestStartTime = DateTime.Now, + }; - db.Training_TestRecord.InsertOnSubmit(newTestRecord); - db.SubmitChanges(); + db.Training_TestRecord.InsertOnSubmit(newTestRecord); + db.SubmitChanges(); - var getTestPlan = db.Training_TestPlan.FirstOrDefault(x => x.TestPlanId == newTestRecord.TestPlanId); - var user = db.Sys_User.FirstOrDefault(x => x.UserId == newTestRecord.TestManId); - var person = PersonService.GetPersonByUserId(newTestRecord.TestManId, getTestPlan.ProjectId); - if (getTestPlan != null && person != null) - { - CreateTestRecordItem(getTestPlan, newTestRecord.TestRecordId, person, user); - } - return newTestRecord.TestRecordId; + var getTestPlan = db.Training_TestPlan.FirstOrDefault(x => x.TestPlanId == newTestRecord.TestPlanId); + var user = db.Sys_User.FirstOrDefault(x => x.UserId == newTestRecord.TestManId); + var person = PersonService.GetPersonByUserIdForApi(newTestRecord.TestManId, getTestPlan.ProjectId); + if (getTestPlan != null && person != null) + { + CreateTestRecordItem(getTestPlan, newTestRecord.TestRecordId, person, user); + } + return newTestRecord.TestRecordId; + } } - } #endregion diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index e5199c29..863e5289 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -983,19 +983,6 @@ Reference.svcmap - - Designer - - - - Designer - - - Designer - - - Designer - @@ -1019,7 +1006,6 @@ - diff --git a/SGGL/BLL/HSSE/SitePerson/PersonService.cs b/SGGL/BLL/HSSE/SitePerson/PersonService.cs index 11f06e8a..c026c746 100644 --- a/SGGL/BLL/HSSE/SitePerson/PersonService.cs +++ b/SGGL/BLL/HSSE/SitePerson/PersonService.cs @@ -8,124 +8,124 @@ using Model; namespace BLL { - /// - /// 人员信息 - /// - public static class PersonService - { - public static Model.SGGLDB db = Funs.DB; + /// + /// 人员信息 + /// + public static class PersonService + { + public static Model.SGGLDB db = Funs.DB; - #region 劳务人员列表 - /// - /// 记录数 - /// - public static int count2 - { - get; - set; - } + #region 劳务人员列表 + /// + /// 记录数 + /// + public static int count2 + { + get; + set; + } - /// - /// 定义变量 - /// - private static IQueryable getDataLists = from x in db.View_SitePerson_Person - select x; + /// + /// 定义变量 + /// + private static IQueryable getDataLists = from x in db.View_SitePerson_Person + select x; - /// - /// 数据列表 - /// - /// - /// - /// - /// - /// - /// - /// - /// - public static IEnumerable getListData(string projetcId, string unitId, string workPostId, string name, string idCard, string states, Grid Grid1) - { - IQueryable getDataList = getDataLists.OrderBy(x => x.ProjectId).ThenBy(x => x.UnitId); - if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null) + /// + /// 数据列表 + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static IEnumerable getListData(string projetcId, string unitId, string workPostId, string name, string idCard, string states, Grid Grid1) { - getDataList = getDataList.Where(e => e.ProjectId == projetcId); + IQueryable getDataList = getDataLists.OrderBy(x => x.ProjectId).ThenBy(x => x.UnitId); + if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null) + { + getDataList = getDataList.Where(e => e.ProjectId == projetcId); + } + if (!string.IsNullOrEmpty(unitId) && unitId != Const._Null) + { + getDataList = getDataList.Where(e => e.UnitId == unitId); + } + if (!string.IsNullOrEmpty(workPostId) && workPostId != Const._Null) + { + getDataList = getDataList.Where(e => e.WorkPostId == workPostId); + } + if (!string.IsNullOrEmpty(states) && states != "-2") + { + getDataList = getDataList.Where(e => e.IsUsed == Convert.ToInt32(states)); + } + if (!string.IsNullOrEmpty(name)) + { + getDataList = getDataList.Where(e => e.PersonName.Contains(name)); + } + if (!string.IsNullOrEmpty(idCard)) + { + getDataList = getDataList.Where(e => e.IdentityCard.Contains(idCard)); + } + count2 = getDataList.Count(); + if (count2 == 0) + { + return null; + } + getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getDataList + select new + { + x.PersonId, + x.PersonName, + x.CardNo, + x.IdentityCard, + x.Sex, + x.SexName, + x.UnitId, + x.UnitName, + x.WorkPostId, + x.WorkPostName, + x.ProjectId, + ProjectName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ProjectName, + ShortName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ShortName, + NativePlace = x.CountryName ?? "" + x.ProvinceName ?? "", + x.TeamGroupId, + x.TeamGroupName, + x.InTime, + x.OutTime, + x.IsUsed, + OutName = (x.IsUsed == 1 ? "是" : "否"), + }; } - if (!string.IsNullOrEmpty(unitId) && unitId != Const._Null) - { - getDataList = getDataList.Where(e => e.UnitId == unitId); - } - if (!string.IsNullOrEmpty(workPostId) && workPostId != Const._Null) - { - getDataList = getDataList.Where(e => e.WorkPostId == workPostId); - } - if (!string.IsNullOrEmpty(states) && states != "-2") - { - getDataList = getDataList.Where(e => e.IsUsed == Convert.ToInt32(states)); - } - if (!string.IsNullOrEmpty(name)) - { - getDataList = getDataList.Where(e => e.PersonName.Contains(name)); - } - if (!string.IsNullOrEmpty(idCard)) - { - getDataList = getDataList.Where(e => e.IdentityCard.Contains(idCard)); - } - count2 = getDataList.Count(); - if (count2 == 0) - { - return null; - } - getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); - return from x in getDataList - select new - { - x.PersonId, - x.PersonName, - x.CardNo, - x.IdentityCard, - x.Sex, - x.SexName, - x.UnitId, - x.UnitName, - x.WorkPostId, - x.WorkPostName, - x.ProjectId, - ProjectName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ProjectName, - ShortName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ShortName, - NativePlace = x.CountryName ?? "" + x.ProvinceName ?? "", - x.TeamGroupId, - x.TeamGroupName, - x.InTime, - x.OutTime, - x.IsUsed, - OutName = (x.IsUsed == 1 ? "是" : "否"), - }; - } - #endregion + #endregion - /// - /// 根据主键获取人员信息 - /// - /// - /// - public static Model.SitePerson_Person GetPersonById(string personId) - { - return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); - } - - /// - /// 根据主键获取人员信息 - /// - /// - /// - public static string GetPersonNameById(string personId) - { - string name = string.Empty; - var getp = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); - if (getp != null) + /// + /// 根据主键获取人员信息 + /// + /// + /// + public static Model.SitePerson_Person GetPersonById(string personId) { - name = getp.PersonName; + return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); } - return name; + + /// + /// 根据主键获取人员信息 + /// + /// + /// + public static string GetPersonNameById(string personId) + { + string name = string.Empty; + var getp = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); + if (getp != null) + { + name = getp.PersonName; + } + return name; } public static string GetPersonNameByIdForApi(string personId) { @@ -147,24 +147,24 @@ namespace BLL /// /// public static string GetPersonIdByUserId(string userId) - { - string personId = userId; - var getPerson = GetPersonById(userId); - if (getPerson == null) { - var getUser = UserService.GetUserByUserId(userId); - if (getUser != null) - { - getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.IdentityCard == getUser.IdentityCard); - if (getPerson != null) - { - personId = getPerson.PersonId; - } - } - } + string personId = userId; + var getPerson = GetPersonById(userId); + if (getPerson == null) + { + var getUser = UserService.GetUserByUserId(userId); + if (getUser != null) + { + getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.IdentityCard == getUser.IdentityCard); + if (getPerson != null) + { + personId = getPerson.PersonId; + } + } + } - return personId; - } + return personId; + } public static string GetPersonIdByUserIdForApi(string userId) { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) @@ -194,602 +194,618 @@ namespace BLL /// /// public static Model.SitePerson_Person GetPersonByUserId(string userId, string projectId) - { - var getPerson = GetPersonById(userId); - if (getPerson == null) { - var getUser = UserService.GetUserByUserId(userId); - if (getUser != null) - { - getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.IdentityCard == getUser.IdentityCard && e.ProjectId == projectId); - } + var getPerson = GetPersonById(userId); + if (getPerson == null) + { + var getUser = UserService.GetUserByUserId(userId); + if (getUser != null) + { + getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.IdentityCard == getUser.IdentityCard && e.ProjectId == projectId); + } + } + + return getPerson; + } + public static Model.SitePerson_Person GetPersonByUserIdForApi(string userId, string projectId) + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + var getPerson = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == userId); + if (getPerson == null) + { + var getUser = db.Sys_User.FirstOrDefault(e => e.UserId == userId); + if (getUser != null) + { + getPerson = db.SitePerson_Person.FirstOrDefault(e => e.IdentityCard == getUser.IdentityCard && e.ProjectId == projectId); + } + } + + return getPerson; + } + } + /// + /// 根据项目单位获取人员信息 + /// + /// + /// + public static List GetPersonLitsByprojectIdUnitId(string projectId, string unitId) + { + if (!string.IsNullOrEmpty(unitId)) + { + return (from x in Funs.DB.SitePerson_Person + where x.ProjectId == projectId && x.UnitId == unitId + orderby x.PersonName + select x).ToList(); + } + else + { + return (from x in Funs.DB.SitePerson_Person + where x.ProjectId == projectId + orderby x.PersonName + select x).ToList(); + } + } - return getPerson; - } + /// + /// 根据项目单位获取人员信息 + /// + /// + /// + public static List GetPersonLitsByprojectIdUnitIdTeamGroupId(string projectId, string unitId, string teamGroupId) + { + var getPersons = GetPersonLitsByprojectIdUnitId(projectId, unitId); + if (!string.IsNullOrEmpty(teamGroupId)) + { + getPersons = getPersons.Where(x => x.TeamGroupId == teamGroupId).OrderBy(x => x.PersonName).ToList(); + } - /// - /// 根据项目单位获取人员信息 - /// - /// - /// - public static List GetPersonLitsByprojectIdUnitId(string projectId, string unitId) - { - if (!string.IsNullOrEmpty(unitId)) - { - return (from x in Funs.DB.SitePerson_Person - where x.ProjectId == projectId && x.UnitId == unitId - orderby x.PersonName - select x).ToList(); - } - else - { - return (from x in Funs.DB.SitePerson_Person - where x.ProjectId == projectId - orderby x.PersonName - select x).ToList(); + return getPersons; } - } - - /// - /// 根据项目单位获取人员信息 - /// - /// - /// - public static List GetPersonLitsByprojectIdUnitIdTeamGroupId(string projectId, string unitId, string teamGroupId) - { - var getPersons = GetPersonLitsByprojectIdUnitId(projectId, unitId); - if (!string.IsNullOrEmpty(teamGroupId)) + /// + /// 获取最大的人员位置 + /// + /// 最大的人员位置 + public static int? GetMaxPersonIndex(string projectId) { - getPersons = getPersons.Where(x => x.TeamGroupId == teamGroupId).OrderBy(x => x.PersonName).ToList(); + return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x.PersonIndex).Max(); } - return getPersons; - } - - /// - /// 获取最大的人员位置 - /// - /// 最大的人员位置 - public static int? GetMaxPersonIndex(string projectId) - { - return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x.PersonIndex).Max(); - } - - /// - /// 根据单位Id查询所有人员的数量 - /// - /// 单位Id - /// 人员的数量 - public static int GetPersonCountByUnitId(string unitId, string projectId) - { - var q = (from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.ProjectId == projectId && x.IsUsed == 1 select x).ToList(); - return q.Count(); - } - - /// - /// 根据单位Id查询所有HSE人员的数量 - /// - /// 单位Id - /// HSE人员的数量 - public static int GetHSEPersonCountByUnitId(string unitId, string projectId) - { - var q = (from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.ProjectId == projectId && (x.WorkPostId == BLL.Const.WorkPost_HSSEEngineer || x.WorkPostId == BLL.Const.WorkPost_SafetyManager) && x.IsUsed == 1 select x).ToList(); - return q.Count(); - } - - /// - /// 获取所有人员位置集合 - /// - /// 所有人员位置集合 - public static List GetPersonIndexs(string projectId) - { - return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x.PersonIndex).ToList(); - } - - /// - /// 根据卡号查询人员信息 - /// - /// 卡号 - /// 人员实体 - public static Model.SitePerson_Person GetPersonByCardNo(string projectId, string cardNo) - { - return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.CardNo == cardNo); - } - - /// - /// 根据卡号查询所有人员的数量 - /// - /// 卡号 - /// 人员的数量 - public static int GetPersonCountByCardNo(string projectId, string cardNo) - { - var q = (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId && x.CardNo == cardNo select x).ToList(); - return q.Count(); - } - - /// - /// 根据人员姓名和所在单位判断人员是否存在 - /// - /// - /// - /// - public static bool IsExistPersonByUnit(string unitId, string personName, string projectId) - { - var q = from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.PersonName == personName && x.ProjectId == projectId select x; - if (q.Count() > 0) + /// + /// 根据单位Id查询所有人员的数量 + /// + /// 单位Id + /// 人员的数量 + public static int GetPersonCountByUnitId(string unitId, string projectId) { - return true; - } - else - { - return false; - } - } - - /// - /// 根据身份证号Id获取人员的数量 - /// - /// 身份证号 - /// 人员的数量 - public static Model.SitePerson_Person GetPersonCountByIdentityCard(string identityCard, string projectId) - { - var q = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.IdentityCard == identityCard && x.ProjectId == projectId); - return q; - } - - /// - /// 获取人员信息列表 - /// - /// - /// - public static List GetPersonList(string projectId) - { - return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x).ToList(); - } - - /// - /// 增加人员信息 - /// - /// 人员实体 - public static void AddPerson(Model.SitePerson_Person person) - { - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { - Model.SitePerson_Person newPerson = new Model.SitePerson_Person - { - PersonId = person.PersonId, - CardNo = person.CardNo, - PersonName = person.PersonName, - Sex = person.Sex, - IdentityCard = person.IdentityCard, - Address = person.Address, - ProjectId = person.ProjectId, - UnitId = person.UnitId, - TeamGroupId = person.TeamGroupId, - WorkAreaId = person.WorkAreaId, - WorkPostId = person.WorkPostId, - OutTime = person.OutTime, - OutResult = person.OutResult, - Telephone = person.Telephone, - PositionId = person.PositionId, - PostTitleId = person.PostTitleId, - PhotoUrl = person.PhotoUrl, - HeadImage = person.HeadImage, - IsUsed = person.IsUsed, - IsCardUsed = person.IsCardUsed, - DepartId = person.DepartId, - FromPersonId = person.FromPersonId, - Password = GetPersonPassWord(person.IdentityCard), - AuditorId = person.AuditorId, - AuditorDate = person.AuditorDate, - IsForeign = person.IsForeign, - IsOutside = person.IsOutside, - EduLevel = person.EduLevel, - MaritalStatus = person.MaritalStatus, - Isprint = "0", - MainCNProfessionalId = person.MainCNProfessionalId, - ViceCNProfessionalId = person.ViceCNProfessionalId, - Birthday = person.Birthday, - IdcardType = person.IdcardType, - IdcardStartDate = person.IdcardStartDate, - IdcardEndDate = person.IdcardEndDate, - IdcardForever = person.IdcardForever, - PoliticsStatus = person.PoliticsStatus, - IdcardAddress = person.IdcardAddress, - Nation = person.Nation, - CountryCode = person.CountryCode, - ProvinceCode = person.ProvinceCode, - IsSafetyMonitoring = person.IsSafetyMonitoring, - IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard), - }; - - if (person.InTime.HasValue) - { - newPerson.InTime = person.InTime; - } - else - { - newPerson.InTime = Funs.GetNewDateTime(DateTime.Now.ToShortDateString()); - } - - db.SitePerson_Person.InsertOnSubmit(newPerson); - db.SubmitChanges(); - - ////增加一条编码记录 - BLL.CodeRecordsService.InsertCodeRecordsByMenuIdProjectIdUnitId(BLL.Const.PersonListMenuId, person.ProjectId, person.UnitId, person.PersonId, person.InTime); - } - } - - /// - /// 修改人员信息 - /// - /// 人员实体 - public static void UpdatePerson(Model.SitePerson_Person person) - { - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { - Model.SitePerson_Person newPerson = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == person.PersonId); - if (newPerson != null) - { - newPerson.FromPersonId = person.FromPersonId; - newPerson.CardNo = person.CardNo; - newPerson.PersonName = person.PersonName; - newPerson.Sex = person.Sex; - if (newPerson.IdentityCard != person.IdentityCard) - { - PersonInOutService.UpdateRealNameInOut(newPerson.PersonId, newPerson.IdentityCard, person.IdentityCard); - newPerson.IdentityCard = person.IdentityCard; - newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard); - } - newPerson.Address = person.Address; - newPerson.ProjectId = person.ProjectId; - newPerson.UnitId = person.UnitId; - newPerson.TeamGroupId = person.TeamGroupId; - newPerson.WorkAreaId = person.WorkAreaId; - newPerson.WorkPostId = person.WorkPostId; - newPerson.InTime = person.InTime; - newPerson.OutTime = person.OutTime; - newPerson.OutResult = person.OutResult; - newPerson.Telephone = person.Telephone; - newPerson.PositionId = person.PositionId; - newPerson.PostTitleId = person.PostTitleId; - newPerson.PhotoUrl = person.PhotoUrl; - newPerson.IsSafetyMonitoring = person.IsSafetyMonitoring; - newPerson.HeadImage = person.HeadImage; - newPerson.IsUsed = person.IsUsed; - newPerson.IsCardUsed = person.IsCardUsed; - newPerson.EduLevel = person.EduLevel; - newPerson.MaritalStatus = person.MaritalStatus; - newPerson.DepartId = person.DepartId; - newPerson.QRCodeAttachUrl = person.QRCodeAttachUrl; - newPerson.Password = GetPersonPassWord(person.IdentityCard); - if (!newPerson.OutTime.HasValue) - { - newPerson.OutTime = null; - newPerson.ExchangeTime = null; - } - newPerson.ExchangeTime2 = null; - newPerson.RealNameUpdateTime = null; - if (!string.IsNullOrEmpty(person.AuditorId)) - { - newPerson.AuditorId = person.AuditorId; - } - if (person.AuditorDate.HasValue) - { - newPerson.AuditorDate = person.AuditorDate; - } - - newPerson.IsForeign = person.IsForeign; - newPerson.IsOutside = person.IsOutside; - newPerson.Birthday = person.Birthday; - newPerson.MainCNProfessionalId = person.MainCNProfessionalId; - newPerson.ViceCNProfessionalId = person.ViceCNProfessionalId; - newPerson.IdcardType = person.IdcardType; - newPerson.IdcardStartDate = person.IdcardStartDate; - newPerson.IdcardEndDate = person.IdcardEndDate; - newPerson.IdcardForever = person.IdcardForever; - newPerson.PoliticsStatus = person.PoliticsStatus; - newPerson.IdcardAddress = person.IdcardAddress; - newPerson.Nation = person.Nation; - newPerson.CountryCode = person.CountryCode; - newPerson.ProvinceCode = person.ProvinceCode; - db.SubmitChanges(); - } - } - } - - /// - /// 根据人员Id删除一个人员信息 - /// - /// 人员Id - public static void DeletePerson(string personId) - { - Model.SitePerson_Person person = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); - if (person != null) - { - ///删除编码表记录 - BLL.CodeRecordsService.DeleteCodeRecordsByDataId(personId); - - //删除特岗人员资质 - var personQuality = PersonQualityService.GetPersonQualityByPersonId(personId); - if (personQuality != null) - { - CodeRecordsService.DeleteCodeRecordsByDataId(personQuality.PersonQualityId);//删除编号 - CommonService.DeleteAttachFileById(personQuality.PersonQualityId);//删除附件 - Funs.DB.QualityAudit_PersonQuality.DeleteOnSubmit(personQuality); - Funs.DB.SubmitChanges(); - } - //删除安全人员资质 - Model.QualityAudit_SafePersonQuality safePersonQuality = Funs.DB.QualityAudit_SafePersonQuality.FirstOrDefault(e => e.PersonId == personId); - if (safePersonQuality != null) - { - CodeRecordsService.DeleteCodeRecordsByDataId(safePersonQuality.SafePersonQualityId); - CommonService.DeleteAttachFileById(safePersonQuality.SafePersonQualityId); - Funs.DB.QualityAudit_SafePersonQuality.DeleteOnSubmit(safePersonQuality); - Funs.DB.SubmitChanges(); - } - ///违规人员 - var getViolation = from x in Funs.DB.Check_ViolationPerson where x.PersonId == person.PersonId select x; - if (getViolation.Count() > 0) - { - Funs.DB.Check_ViolationPerson.DeleteAllOnSubmit(getViolation); - Funs.DB.SubmitChanges(); - } - ///删除考试记录 - var getTask = from x in Funs.DB.Training_Task where x.UserId == person.PersonId select x; - if (getTask.Count() > 0) - { - foreach (var item in getTask) - { - TrainingTaskService.DeleteTaskById(item.TaskId); - } - } - ///删除考试记录 - var getTestRecode = from x in Funs.DB.Training_TestRecord where x.TestManId == person.PersonId select x; - if (getTestRecode.Count() > 0) - { - foreach (var item in getTestRecode) - { - TestRecordService.DeleteTestRecordByTestRecordId(item.TestRecordId); - } - } - ///删除人员绩效 - var getPerfomances = from x in Funs.DB.Perfomance_PersonPerfomance where x.PersonId == person.PersonId select x; - if (getPerfomances.Count() > 0) - { - foreach (var item in getPerfomances) - { - PersonPerfomanceService.DeletePersonPerfomanceById(item.PersonPerfomanceId); - } - } - ///删除人员出入场记录 - BLL.PersonInOutService.DeletePersonInOutByPersonId(person.PersonId); - - ///删除编码表记录 - BLL.CodeRecordsService.DeleteCodeRecordsByDataId(personId); - Funs.DB.SitePerson_Person.DeleteOnSubmit(person); - Funs.DB.SubmitChanges(); - } - } - - /// - /// 根据身份证号获取人员信息 - /// - /// 身份证号 - /// 人员信息 - public static Model.SitePerson_Person GetPersonByIdentityCard(string projectId, string identityCard) - { - if (!string.IsNullOrEmpty(identityCard)) - { - return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.IdentityCard == identityCard); - } - else - { - return null; - } - } - - /// - /// 根据身份证号获取人员信息 - /// - /// 姓名 - /// 人员信息 - public static Model.SitePerson_Person GetPersonByName(string projectId, string name) - { - if (!string.IsNullOrEmpty(name)) - { - return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.PersonName == name); - } - else - { - return null; - } - } - - /// - /// 保存发卡信息 - /// - /// - /// - public static void SaveSendCard(string personId, string cardNo, int personIndex) - { - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { - Model.SitePerson_Person card = db.SitePerson_Person.FirstOrDefault(e => e.CardNo == cardNo); - if (card != null) - { - card.CardNo = null; - } - else - { - Model.SitePerson_Person person = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); - person.CardNo = cardNo; - person.PersonIndex = personIndex; - //person.CardNo = sendCardNo; - } - - db.SubmitChanges(); - } - } - - /// - /// 根据作业区域获取人员 - /// - /// - /// - public static List GetPersonListByWorkAreaId(string workAreaId) - { - return (from x in Funs.DB.SitePerson_Person where x.WorkAreaId == workAreaId select x).ToList(); - } - - /// - /// 人员离岗 - /// - /// - public static void PersonOut(string personId, DateTime date) - { - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { - var person = db.SitePerson_Person.FirstOrDefault(x => x.PersonId == personId); - if (person != null) - { - person.OutTime = date; - person.IsUsed = 1; - person.ExchangeTime = null; - person.ExchangeTime2 = null; - person.RealNameUpdateTime = null; - db.SubmitChanges(); - } - } - } - - #region 表下拉框 - /// - /// 表下拉框 - /// - /// 下拉框名字 - /// 是否显示请选择 - public static void InitPersonByProjectUnitDropDownList(FineUIPro.DropDownList dropName, string projectId, string unitId, bool isShowPlease) - { - dropName.DataValueField = "PersonId"; - dropName.DataTextField = "PersonName"; - dropName.DataSource = GetPersonLitsByprojectIdUnitId(projectId, unitId); - dropName.DataBind(); - if (isShowPlease) - { - Funs.FineUIPleaseSelect(dropName); - } - } - - /// - /// 表下拉框 - /// - /// 下拉框名字 - /// 是否显示请选择 - public static void InitPersonByProjectUnitTeamGroupDropDownList(FineUIPro.DropDownList dropName, string projectId, string unitId, string teamGroupId, bool isShowPlease) - { - dropName.DataValueField = "PersonId"; - dropName.DataTextField = "PersonName"; - dropName.DataSource = GetPersonLitsByprojectIdUnitIdTeamGroupId(projectId, unitId, teamGroupId); - dropName.DataBind(); - if (isShowPlease) - { - Funs.FineUIPleaseSelect(dropName); - } - } - #endregion - - /// - /// 获取人员密码 - /// - /// - /// - public static string GetPersonPassWord(string idCard) - { - string passWord = Funs.EncryptionPassword(Const.Password); - ////现场人员密码 - if (!string.IsNullOrEmpty(idCard)) - { - if (idCard.Length > 3) - { - passWord = Funs.EncryptionPassword(idCard.Substring(idCard.Length - 4)); - } - else - { - passWord = Funs.EncryptionPassword(idCard); - } - } - return passWord; - } - - #region 在岗人员列表 - /// - /// 记录数 - /// - public static int inCount - { - get; - set; - } - - /// - /// 定义变量 - /// - private static IQueryable getInPersonLists = from x in db.SitePerson_Person - where x.IsUsed == 1 && x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime > DateTime.Now) - select x; - - /// - /// 获取分页列表 - /// - /// 页码 - /// 每页数量 - /// - public static IEnumerable getInPsersonListData(string projectId, string unitId, string personName, string identityCard, Grid Grid1) - { - IQueryable getInPersonList = getInPersonLists.Where(x => x.ProjectId == projectId); - if (!string.IsNullOrEmpty(unitId) && unitId != Const._Null) - { - if (unitId == "0") - { - getInPersonList = getInPersonList.Where(x => x.UnitId == null); - } - else - { - getInPersonList = getInPersonList.Where(x => x.UnitId == unitId); - } - } - if (!string.IsNullOrEmpty(personName)) - { - getInPersonList = getInPersonList.Where(x => x.PersonName.Contains(personName)); - } - if (!string.IsNullOrEmpty(identityCard)) - { - getInPersonList = getInPersonList.Where(x => x.IdentityCard.Contains(identityCard)); - } - inCount = getInPersonList.Count(); - if (inCount == 0) - { - return null; + var q = (from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.ProjectId == projectId && x.IsUsed == 1 select x).ToList(); + return q.Count(); } - getInPersonList = SortConditionHelper.SortingAndPaging(getInPersonList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); - return from x in getInPersonList - select new - { - x.PersonId, - x.CardNo, - x.PersonName, - x.UnitId, - db.Base_Unit.First(u => u.UnitId == x.UnitId).UnitName, - x.IdentityCard, - IsInName = "", - InOuDate = DateTime.Now.ToShortDateString(), - InOutTime = "00:00:00", - }; - } - #endregion - } + /// + /// 根据单位Id查询所有HSE人员的数量 + /// + /// 单位Id + /// HSE人员的数量 + public static int GetHSEPersonCountByUnitId(string unitId, string projectId) + { + var q = (from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.ProjectId == projectId && (x.WorkPostId == BLL.Const.WorkPost_HSSEEngineer || x.WorkPostId == BLL.Const.WorkPost_SafetyManager) && x.IsUsed == 1 select x).ToList(); + return q.Count(); + } + + /// + /// 获取所有人员位置集合 + /// + /// 所有人员位置集合 + public static List GetPersonIndexs(string projectId) + { + return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x.PersonIndex).ToList(); + } + + /// + /// 根据卡号查询人员信息 + /// + /// 卡号 + /// 人员实体 + public static Model.SitePerson_Person GetPersonByCardNo(string projectId, string cardNo) + { + return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.CardNo == cardNo); + } + + /// + /// 根据卡号查询所有人员的数量 + /// + /// 卡号 + /// 人员的数量 + public static int GetPersonCountByCardNo(string projectId, string cardNo) + { + var q = (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId && x.CardNo == cardNo select x).ToList(); + return q.Count(); + } + + /// + /// 根据人员姓名和所在单位判断人员是否存在 + /// + /// + /// + /// + public static bool IsExistPersonByUnit(string unitId, string personName, string projectId) + { + var q = from x in Funs.DB.SitePerson_Person where x.UnitId == unitId && x.PersonName == personName && x.ProjectId == projectId select x; + if (q.Count() > 0) + { + return true; + } + else + { + return false; + } + } + + /// + /// 根据身份证号Id获取人员的数量 + /// + /// 身份证号 + /// 人员的数量 + public static Model.SitePerson_Person GetPersonCountByIdentityCard(string identityCard, string projectId) + { + var q = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.IdentityCard == identityCard && x.ProjectId == projectId); + return q; + } + + /// + /// 获取人员信息列表 + /// + /// + /// + public static List GetPersonList(string projectId) + { + return (from x in Funs.DB.SitePerson_Person where x.ProjectId == projectId select x).ToList(); + } + + /// + /// 增加人员信息 + /// + /// 人员实体 + public static void AddPerson(Model.SitePerson_Person person) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + Model.SitePerson_Person newPerson = new Model.SitePerson_Person + { + PersonId = person.PersonId, + CardNo = person.CardNo, + PersonName = person.PersonName, + Sex = person.Sex, + IdentityCard = person.IdentityCard, + Address = person.Address, + ProjectId = person.ProjectId, + UnitId = person.UnitId, + TeamGroupId = person.TeamGroupId, + WorkAreaId = person.WorkAreaId, + WorkPostId = person.WorkPostId, + OutTime = person.OutTime, + OutResult = person.OutResult, + Telephone = person.Telephone, + PositionId = person.PositionId, + PostTitleId = person.PostTitleId, + PhotoUrl = person.PhotoUrl, + HeadImage = person.HeadImage, + IsUsed = person.IsUsed, + IsCardUsed = person.IsCardUsed, + DepartId = person.DepartId, + FromPersonId = person.FromPersonId, + Password = GetPersonPassWord(person.IdentityCard), + AuditorId = person.AuditorId, + AuditorDate = person.AuditorDate, + IsForeign = person.IsForeign, + IsOutside = person.IsOutside, + EduLevel = person.EduLevel, + MaritalStatus = person.MaritalStatus, + Isprint = "0", + MainCNProfessionalId = person.MainCNProfessionalId, + ViceCNProfessionalId = person.ViceCNProfessionalId, + Birthday = person.Birthday, + IdcardType = person.IdcardType, + IdcardStartDate = person.IdcardStartDate, + IdcardEndDate = person.IdcardEndDate, + IdcardForever = person.IdcardForever, + PoliticsStatus = person.PoliticsStatus, + IdcardAddress = person.IdcardAddress, + Nation = person.Nation, + CountryCode = person.CountryCode, + ProvinceCode = person.ProvinceCode, + IsSafetyMonitoring = person.IsSafetyMonitoring, + IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard), + }; + + if (person.InTime.HasValue) + { + newPerson.InTime = person.InTime; + } + else + { + newPerson.InTime = Funs.GetNewDateTime(DateTime.Now.ToShortDateString()); + } + + db.SitePerson_Person.InsertOnSubmit(newPerson); + db.SubmitChanges(); + + ////增加一条编码记录 + BLL.CodeRecordsService.InsertCodeRecordsByMenuIdProjectIdUnitId(BLL.Const.PersonListMenuId, person.ProjectId, person.UnitId, person.PersonId, person.InTime); + } + } + + /// + /// 修改人员信息 + /// + /// 人员实体 + public static void UpdatePerson(Model.SitePerson_Person person) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + Model.SitePerson_Person newPerson = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == person.PersonId); + if (newPerson != null) + { + newPerson.FromPersonId = person.FromPersonId; + newPerson.CardNo = person.CardNo; + newPerson.PersonName = person.PersonName; + newPerson.Sex = person.Sex; + if (newPerson.IdentityCard != person.IdentityCard) + { + PersonInOutService.UpdateRealNameInOut(newPerson.PersonId, newPerson.IdentityCard, person.IdentityCard); + newPerson.IdentityCard = person.IdentityCard; + newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard); + } + newPerson.Address = person.Address; + newPerson.ProjectId = person.ProjectId; + newPerson.UnitId = person.UnitId; + newPerson.TeamGroupId = person.TeamGroupId; + newPerson.WorkAreaId = person.WorkAreaId; + newPerson.WorkPostId = person.WorkPostId; + newPerson.InTime = person.InTime; + newPerson.OutTime = person.OutTime; + newPerson.OutResult = person.OutResult; + newPerson.Telephone = person.Telephone; + newPerson.PositionId = person.PositionId; + newPerson.PostTitleId = person.PostTitleId; + newPerson.PhotoUrl = person.PhotoUrl; + newPerson.IsSafetyMonitoring = person.IsSafetyMonitoring; + newPerson.HeadImage = person.HeadImage; + newPerson.IsUsed = person.IsUsed; + newPerson.IsCardUsed = person.IsCardUsed; + newPerson.EduLevel = person.EduLevel; + newPerson.MaritalStatus = person.MaritalStatus; + newPerson.DepartId = person.DepartId; + newPerson.QRCodeAttachUrl = person.QRCodeAttachUrl; + newPerson.Password = GetPersonPassWord(person.IdentityCard); + if (!newPerson.OutTime.HasValue) + { + newPerson.OutTime = null; + newPerson.ExchangeTime = null; + } + newPerson.ExchangeTime2 = null; + newPerson.RealNameUpdateTime = null; + if (!string.IsNullOrEmpty(person.AuditorId)) + { + newPerson.AuditorId = person.AuditorId; + } + if (person.AuditorDate.HasValue) + { + newPerson.AuditorDate = person.AuditorDate; + } + + newPerson.IsForeign = person.IsForeign; + newPerson.IsOutside = person.IsOutside; + newPerson.Birthday = person.Birthday; + newPerson.MainCNProfessionalId = person.MainCNProfessionalId; + newPerson.ViceCNProfessionalId = person.ViceCNProfessionalId; + newPerson.IdcardType = person.IdcardType; + newPerson.IdcardStartDate = person.IdcardStartDate; + newPerson.IdcardEndDate = person.IdcardEndDate; + newPerson.IdcardForever = person.IdcardForever; + newPerson.PoliticsStatus = person.PoliticsStatus; + newPerson.IdcardAddress = person.IdcardAddress; + newPerson.Nation = person.Nation; + newPerson.CountryCode = person.CountryCode; + newPerson.ProvinceCode = person.ProvinceCode; + db.SubmitChanges(); + } + } + } + + /// + /// 根据人员Id删除一个人员信息 + /// + /// 人员Id + public static void DeletePerson(string personId) + { + Model.SitePerson_Person person = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); + if (person != null) + { + ///删除编码表记录 + BLL.CodeRecordsService.DeleteCodeRecordsByDataId(personId); + + //删除特岗人员资质 + var personQuality = PersonQualityService.GetPersonQualityByPersonId(personId); + if (personQuality != null) + { + CodeRecordsService.DeleteCodeRecordsByDataId(personQuality.PersonQualityId);//删除编号 + CommonService.DeleteAttachFileById(personQuality.PersonQualityId);//删除附件 + Funs.DB.QualityAudit_PersonQuality.DeleteOnSubmit(personQuality); + Funs.DB.SubmitChanges(); + } + //删除安全人员资质 + Model.QualityAudit_SafePersonQuality safePersonQuality = Funs.DB.QualityAudit_SafePersonQuality.FirstOrDefault(e => e.PersonId == personId); + if (safePersonQuality != null) + { + CodeRecordsService.DeleteCodeRecordsByDataId(safePersonQuality.SafePersonQualityId); + CommonService.DeleteAttachFileById(safePersonQuality.SafePersonQualityId); + Funs.DB.QualityAudit_SafePersonQuality.DeleteOnSubmit(safePersonQuality); + Funs.DB.SubmitChanges(); + } + ///违规人员 + var getViolation = from x in Funs.DB.Check_ViolationPerson where x.PersonId == person.PersonId select x; + if (getViolation.Count() > 0) + { + Funs.DB.Check_ViolationPerson.DeleteAllOnSubmit(getViolation); + Funs.DB.SubmitChanges(); + } + ///删除考试记录 + var getTask = from x in Funs.DB.Training_Task where x.UserId == person.PersonId select x; + if (getTask.Count() > 0) + { + foreach (var item in getTask) + { + TrainingTaskService.DeleteTaskById(item.TaskId); + } + } + ///删除考试记录 + var getTestRecode = from x in Funs.DB.Training_TestRecord where x.TestManId == person.PersonId select x; + if (getTestRecode.Count() > 0) + { + foreach (var item in getTestRecode) + { + TestRecordService.DeleteTestRecordByTestRecordId(item.TestRecordId); + } + } + ///删除人员绩效 + var getPerfomances = from x in Funs.DB.Perfomance_PersonPerfomance where x.PersonId == person.PersonId select x; + if (getPerfomances.Count() > 0) + { + foreach (var item in getPerfomances) + { + PersonPerfomanceService.DeletePersonPerfomanceById(item.PersonPerfomanceId); + } + } + ///删除人员出入场记录 + BLL.PersonInOutService.DeletePersonInOutByPersonId(person.PersonId); + + ///删除编码表记录 + BLL.CodeRecordsService.DeleteCodeRecordsByDataId(personId); + Funs.DB.SitePerson_Person.DeleteOnSubmit(person); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 根据身份证号获取人员信息 + /// + /// 身份证号 + /// 人员信息 + public static Model.SitePerson_Person GetPersonByIdentityCard(string projectId, string identityCard) + { + if (!string.IsNullOrEmpty(identityCard)) + { + return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.IdentityCard == identityCard); + } + else + { + return null; + } + } + + /// + /// 根据身份证号获取人员信息 + /// + /// 姓名 + /// 人员信息 + public static Model.SitePerson_Person GetPersonByName(string projectId, string name) + { + if (!string.IsNullOrEmpty(name)) + { + return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.PersonName == name); + } + else + { + return null; + } + } + + /// + /// 保存发卡信息 + /// + /// + /// + public static void SaveSendCard(string personId, string cardNo, int personIndex) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + Model.SitePerson_Person card = db.SitePerson_Person.FirstOrDefault(e => e.CardNo == cardNo); + if (card != null) + { + card.CardNo = null; + } + else + { + Model.SitePerson_Person person = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); + person.CardNo = cardNo; + person.PersonIndex = personIndex; + //person.CardNo = sendCardNo; + } + + db.SubmitChanges(); + } + } + + /// + /// 根据作业区域获取人员 + /// + /// + /// + public static List GetPersonListByWorkAreaId(string workAreaId) + { + return (from x in Funs.DB.SitePerson_Person where x.WorkAreaId == workAreaId select x).ToList(); + } + + /// + /// 人员离岗 + /// + /// + public static void PersonOut(string personId, DateTime date) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var person = db.SitePerson_Person.FirstOrDefault(x => x.PersonId == personId); + if (person != null) + { + person.OutTime = date; + person.IsUsed = 1; + person.ExchangeTime = null; + person.ExchangeTime2 = null; + person.RealNameUpdateTime = null; + db.SubmitChanges(); + } + } + } + + #region 表下拉框 + /// + /// 表下拉框 + /// + /// 下拉框名字 + /// 是否显示请选择 + public static void InitPersonByProjectUnitDropDownList(FineUIPro.DropDownList dropName, string projectId, string unitId, bool isShowPlease) + { + dropName.DataValueField = "PersonId"; + dropName.DataTextField = "PersonName"; + dropName.DataSource = GetPersonLitsByprojectIdUnitId(projectId, unitId); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 表下拉框 + /// + /// 下拉框名字 + /// 是否显示请选择 + public static void InitPersonByProjectUnitTeamGroupDropDownList(FineUIPro.DropDownList dropName, string projectId, string unitId, string teamGroupId, bool isShowPlease) + { + dropName.DataValueField = "PersonId"; + dropName.DataTextField = "PersonName"; + dropName.DataSource = GetPersonLitsByprojectIdUnitIdTeamGroupId(projectId, unitId, teamGroupId); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + #endregion + + /// + /// 获取人员密码 + /// + /// + /// + public static string GetPersonPassWord(string idCard) + { + string passWord = Funs.EncryptionPassword(Const.Password); + ////现场人员密码 + if (!string.IsNullOrEmpty(idCard)) + { + if (idCard.Length > 3) + { + passWord = Funs.EncryptionPassword(idCard.Substring(idCard.Length - 4)); + } + else + { + passWord = Funs.EncryptionPassword(idCard); + } + } + return passWord; + } + + #region 在岗人员列表 + /// + /// 记录数 + /// + public static int inCount + { + get; + set; + } + + /// + /// 定义变量 + /// + private static IQueryable getInPersonLists = from x in db.SitePerson_Person + where x.IsUsed == 1 && x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime > DateTime.Now) + select x; + + /// + /// 获取分页列表 + /// + /// 页码 + /// 每页数量 + /// + public static IEnumerable getInPsersonListData(string projectId, string unitId, string personName, string identityCard, Grid Grid1) + { + IQueryable getInPersonList = getInPersonLists.Where(x => x.ProjectId == projectId); + if (!string.IsNullOrEmpty(unitId) && unitId != Const._Null) + { + if (unitId == "0") + { + getInPersonList = getInPersonList.Where(x => x.UnitId == null); + } + else + { + getInPersonList = getInPersonList.Where(x => x.UnitId == unitId); + } + } + if (!string.IsNullOrEmpty(personName)) + { + getInPersonList = getInPersonList.Where(x => x.PersonName.Contains(personName)); + } + if (!string.IsNullOrEmpty(identityCard)) + { + getInPersonList = getInPersonList.Where(x => x.IdentityCard.Contains(identityCard)); + } + inCount = getInPersonList.Count(); + if (inCount == 0) + { + return null; + } + + getInPersonList = SortConditionHelper.SortingAndPaging(getInPersonList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getInPersonList + select new + { + x.PersonId, + x.CardNo, + x.PersonName, + x.UnitId, + db.Base_Unit.First(u => u.UnitId == x.UnitId).UnitName, + x.IdentityCard, + IsInName = "", + InOuDate = DateTime.Now.ToShortDateString(), + InOutTime = "00:00:00", + }; + } + #endregion + } } diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.disco b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.disco deleted file mode 100644 index b73eedbc..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.disco +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.wsdl b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.wsdl index d5271254..2d2e4eae 100644 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.wsdl +++ b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.wsdl @@ -1,13 +1,2032 @@ - - + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -571,11 +2590,519 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - http://114.247.88.97:20080/QHSE/HSSEService.svc + http://qhse.cncecoa.com/HSSEService.svc diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.xsd b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.xsd deleted file mode 100644 index d58e7f39..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService.xsd +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.wsdl b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.wsdl deleted file mode 100644 index bd1346d2..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.wsdl +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.xsd b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.xsd deleted file mode 100644 index 97612c86..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService1.xsd +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService2.xsd b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService2.xsd deleted file mode 100644 index f8e40e7d..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService2.xsd +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService3.xsd b/SGGL/BLL/Service References/CNCECHSSEService/HSSEService3.xsd deleted file mode 100644 index 2935f3c3..00000000 --- a/SGGL/BLL/Service References/CNCECHSSEService/HSSEService3.xsd +++ /dev/null @@ -1,1219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/Reference.cs b/SGGL/BLL/Service References/CNCECHSSEService/Reference.cs index 0a43586b..3768fe05 100644 --- a/SGGL/BLL/Service References/CNCECHSSEService/Reference.cs +++ b/SGGL/BLL/Service References/CNCECHSSEService/Reference.cs @@ -13088,1922 +13088,410 @@ namespace BLL.CNCECHSSEService { [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSys_VersionToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSys_VersionToSUBResponse")] BLL.CNCECHSSEService.Sys_Version[] GetSys_VersionToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetSys_VersionToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSys_VersionToSUBResponse")] - System.IAsyncResult BeginGetSys_VersionToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Sys_Version[] EndGetSys_VersionToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSys_VersionToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSys_VersionToSUBResponse")] + System.Threading.Tasks.Task GetSys_VersionToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetBase_UnitToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetBase_UnitToSUBResponse")] BLL.CNCECHSSEService.Base_Unit[] GetBase_UnitToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetBase_UnitToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetBase_UnitToSUBResponse")] - System.IAsyncResult BeginGetBase_UnitToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Base_Unit[] EndGetBase_UnitToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetBase_UnitToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetBase_UnitToSUBResponse")] + System.Threading.Tasks.Task GetBase_UnitToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUBResponse")] BLL.CNCECHSSEService.Information_UrgeReport[] GetInformation_UrgeReportToSUB(string unitId); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUBResponse")] - System.IAsyncResult BeginGetInformation_UrgeReportToSUB(string unitId, System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Information_UrgeReport[] EndGetInformation_UrgeReportToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetInformation_UrgeReportToSUBResponse")] + System.Threading.Tasks.Task GetInformation_UrgeReportToSUBAsync(string unitId); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUBResponse")] BLL.CNCECHSSEService.Law_LawRegulationList[] GetLaw_LawRegulationListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUBResponse")] - System.IAsyncResult BeginGetLaw_LawRegulationListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Law_LawRegulationList[] EndGetLaw_LawRegulationListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_LawRegulationListToSUBResponse")] + System.Threading.Tasks.Task GetLaw_LawRegulationListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUBResponse")] BLL.CNCECHSSEService.Law_HSSEStandardsList[] GetLaw_HSSEStandardsListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUBResponse")] - System.IAsyncResult BeginGetLaw_HSSEStandardsListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Law_HSSEStandardsList[] EndGetLaw_HSSEStandardsListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_HSSEStandardsListToSUBResponse")] + System.Threading.Tasks.Task GetLaw_HSSEStandardsListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUBResponse")] BLL.CNCECHSSEService.Law_RulesRegulations[] GetLaw_RulesRegulationsToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUBResponse")] - System.IAsyncResult BeginGetLaw_RulesRegulationsToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Law_RulesRegulations[] EndGetLaw_RulesRegulationsToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_RulesRegulationsToSUBResponse")] + System.Threading.Tasks.Task GetLaw_RulesRegulationsToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUBResponse")] BLL.CNCECHSSEService.Law_ManageRule[] GetLaw_ManageRuleToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUBResponse")] - System.IAsyncResult BeginGetLaw_ManageRuleToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Law_ManageRule[] EndGetLaw_ManageRuleToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetLaw_ManageRuleToSUBResponse")] + System.Threading.Tasks.Task GetLaw_ManageRuleToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUBResponse")] BLL.CNCECHSSEService.Technique_HAZOP[] GetTechnique_HAZOPToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUBResponse")] - System.IAsyncResult BeginGetTechnique_HAZOPToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_HAZOP[] EndGetTechnique_HAZOPToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HAZOPToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_HAZOPToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUBResponse")] BLL.CNCECHSSEService.Technique_Appraise[] GetTechnique_AppraiseToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUBResponse")] - System.IAsyncResult BeginGetTechnique_AppraiseToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_Appraise[] EndGetTechnique_AppraiseToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_AppraiseToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_AppraiseToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUBResponse")] BLL.CNCECHSSEService.Technique_Emergency[] GetTechnique_EmergencyToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUBResponse")] - System.IAsyncResult BeginGetTechnique_EmergencyToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_Emergency[] EndGetTechnique_EmergencyToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_EmergencyToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_EmergencyToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUBResponse")] BLL.CNCECHSSEService.Technique_SpecialScheme[] GetTechnique_SpecialSchemeToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUBResponse")] - System.IAsyncResult BeginGetTechnique_SpecialSchemeToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_SpecialScheme[] EndGetTechnique_SpecialSchemeToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_SpecialSchemeToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_SpecialSchemeToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUBResponse")] BLL.CNCECHSSEService.Training_Training[] GetTraining_TrainingListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUBResponse")] - System.IAsyncResult BeginGetTraining_TrainingListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_Training[] EndGetTraining_TrainingListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingListToSUBResponse")] + System.Threading.Tasks.Task GetTraining_TrainingListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUBResponse")] BLL.CNCECHSSEService.Training_TrainingItem[] GetTraining_TrainingItemListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUBResponse")] - System.IAsyncResult BeginGetTraining_TrainingItemListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_TrainingItem[] EndGetTraining_TrainingItemListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainingItemListToSUBResponse")] + System.Threading.Tasks.Task GetTraining_TrainingItemListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUBResponse")] BLL.CNCECHSSEService.Training_TrainTestDB[] GetTraining_TrainTestDBListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUBResponse")] - System.IAsyncResult BeginGetTraining_TrainTestDBListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_TrainTestDB[] EndGetTraining_TrainTestDBListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBListToSUBResponse")] + System.Threading.Tasks.Task GetTraining_TrainTestDBListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUBResponse" + "")] BLL.CNCECHSSEService.Training_TrainTestDBItem[] GetTraining_TrainTestDBItemListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUBResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_TrainTestDBItemListToSUBResponse" + "")] - System.IAsyncResult BeginGetTraining_TrainTestDBItemListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_TrainTestDBItem[] EndGetTraining_TrainTestDBItemListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetTraining_TrainTestDBItemListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUBResponse")] BLL.CNCECHSSEService.EduTrain_AccidentCase[] GetEduTrain_AccidentCaseListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUBResponse")] - System.IAsyncResult BeginGetEduTrain_AccidentCaseListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.EduTrain_AccidentCase[] EndGetEduTrain_AccidentCaseListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseListToSUBResponse")] + System.Threading.Tasks.Task GetEduTrain_AccidentCaseListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUBRespons" + "e")] BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] GetEduTrain_AccidentCaseItemListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUBRespons" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetEduTrain_AccidentCaseItemListToSUBRespons" + "e")] - System.IAsyncResult BeginGetEduTrain_AccidentCaseItemListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] EndGetEduTrain_AccidentCaseItemListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetEduTrain_AccidentCaseItemListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUBResponse")] BLL.CNCECHSSEService.Training_Knowledge[] GetTraining_KnowledgeListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUBResponse")] - System.IAsyncResult BeginGetTraining_KnowledgeListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_Knowledge[] EndGetTraining_KnowledgeListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeListToSUBResponse")] + System.Threading.Tasks.Task GetTraining_KnowledgeListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUBResponse")] BLL.CNCECHSSEService.Training_KnowledgeItem[] GetTraining_KnowledgeItemListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUBResponse")] - System.IAsyncResult BeginGetTraining_KnowledgeItemListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Training_KnowledgeItem[] EndGetTraining_KnowledgeItemListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTraining_KnowledgeItemListToSUBResponse")] + System.Threading.Tasks.Task GetTraining_KnowledgeItemListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUBResponse" + "")] BLL.CNCECHSSEService.Technique_HazardListType[] GetTechnique_HazardListTypeListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUBResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListTypeListToSUBResponse" + "")] - System.IAsyncResult BeginGetTechnique_HazardListTypeListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_HazardListType[] EndGetTechnique_HazardListTypeListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetTechnique_HazardListTypeListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUBResponse")] BLL.CNCECHSSEService.Technique_HazardList[] GetTechnique_HazardListListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUBResponse")] - System.IAsyncResult BeginGetTechnique_HazardListListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_HazardList[] EndGetTechnique_HazardListListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_HazardListListToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_HazardListListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUBResponse")] BLL.CNCECHSSEService.Technique_Rectify[] GetTechnique_RectifyListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUBResponse")] - System.IAsyncResult BeginGetTechnique_RectifyListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_Rectify[] EndGetTechnique_RectifyListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyListToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_RectifyListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUBResponse")] BLL.CNCECHSSEService.Technique_RectifyItem[] GetTechnique_RectifyItemListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUBResponse")] - System.IAsyncResult BeginGetTechnique_RectifyItemListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_RectifyItem[] EndGetTechnique_RectifyItemListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_RectifyItemListToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_RectifyItemListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUBResponse")] BLL.CNCECHSSEService.Technique_Expert[] GetTechnique_ExpertListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUBResponse")] - System.IAsyncResult BeginGetTechnique_ExpertListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Technique_Expert[] EndGetTechnique_ExpertListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetTechnique_ExpertListToSUBResponse")] + System.Threading.Tasks.Task GetTechnique_ExpertListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUBR" + "esponse")] BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] GetSupervise_SuperviseCheckRectifyListToSUB(string unitId); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUBR" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SuperviseCheckRectifyListToSUBR" + "esponse")] - System.IAsyncResult BeginGetSupervise_SuperviseCheckRectifyListToSUB(string unitId, System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] EndGetSupervise_SuperviseCheckRectifyListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetSupervise_SuperviseCheckRectifyListToSUBAsync(string unitId); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUBResponse")] BLL.CNCECHSSEService.Supervise_SubUnitReport[] GetSupervise_SubUnitReportListToSUB(); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUBResponse")] - System.IAsyncResult BeginGetSupervise_SubUnitReportListToSUB(System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Supervise_SubUnitReport[] EndGetSupervise_SubUnitReportListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportListToSUBResponse")] + System.Threading.Tasks.Task GetSupervise_SubUnitReportListToSUBAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUBRespo" + "nse")] BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] GetSupervise_SubUnitReportItemListToSUB(string unitId); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUBRespo" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetSupervise_SubUnitReportItemListToSUBRespo" + "nse")] - System.IAsyncResult BeginGetSupervise_SubUnitReportItemListToSUB(string unitId, System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] EndGetSupervise_SubUnitReportItemListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetSupervise_SubUnitReportItemListToSUBAsync(string unitId); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUBResponse")] BLL.CNCECHSSEService.Check_CheckRectify[] GetCheck_CheckRectifyListToSUB(string unitId); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUBResponse")] - System.IAsyncResult BeginGetCheck_CheckRectifyListToSUB(string unitId, System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Check_CheckRectify[] EndGetCheck_CheckRectifyListToSUB(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckRectifyListToSUBResponse")] + System.Threading.Tasks.Task GetCheck_CheckRectifyListToSUBAsync(string unitId); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUBRespon" + "se")] BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] GetCheck_CheckInfo_Table8ItemListToSUB(string unitId); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUBRespon" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUB", ReplyAction="http://www.localhost.com/HSSEService/GetCheck_CheckInfo_Table8ItemListToSUBRespon" + "se")] - System.IAsyncResult BeginGetCheck_CheckInfo_Table8ItemListToSUB(string unitId, System.AsyncCallback callback, object asyncState); - - BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] EndGetCheck_CheckInfo_Table8ItemListToSUB(System.IAsyncResult result); + System.Threading.Tasks.Task GetCheck_CheckInfo_Table8ItemListToSUBAsync(string unitId); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTableResponse" + "")] string[] DataInsertLaw_LawRegulationListTable(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTableResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_LawRegulationListTableResponse" + "")] - System.IAsyncResult BeginDataInsertLaw_LawRegulationListTable(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertLaw_LawRegulationListTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertLaw_LawRegulationListTableAsync(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTableResponse" + "")] string[] DataInsertLaw_HSSEStandardsListTable(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTableResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_HSSEStandardsListTableResponse" + "")] - System.IAsyncResult BeginDataInsertLaw_HSSEStandardsListTable(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertLaw_HSSEStandardsListTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertLaw_HSSEStandardsListTableAsync(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTableResponse")] string[] DataInsertLaw_RulesRegulationsTable(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTableResponse")] - System.IAsyncResult BeginDataInsertLaw_RulesRegulationsTable(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertLaw_RulesRegulationsTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_RulesRegulationsTableResponse")] + System.Threading.Tasks.Task DataInsertLaw_RulesRegulationsTableAsync(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTableResponse")] string[] DataInsertLaw_ManageRuleTable(BLL.CNCECHSSEService.Law_ManageRule[] manageRule); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTableResponse")] - System.IAsyncResult BeginDataInsertLaw_ManageRuleTable(BLL.CNCECHSSEService.Law_ManageRule[] manageRule, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertLaw_ManageRuleTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertLaw_ManageRuleTableResponse")] + System.Threading.Tasks.Task DataInsertLaw_ManageRuleTableAsync(BLL.CNCECHSSEService.Law_ManageRule[] manageRule); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTableResponse")] string[] DataInsertTechnique_HAZOPTable(BLL.CNCECHSSEService.Technique_HAZOP[] hazop); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTableResponse")] - System.IAsyncResult BeginDataInsertTechnique_HAZOPTable(BLL.CNCECHSSEService.Technique_HAZOP[] hazop, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_HAZOPTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HAZOPTableResponse")] + System.Threading.Tasks.Task DataInsertTechnique_HAZOPTableAsync(BLL.CNCECHSSEService.Technique_HAZOP[] hazop); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTableResponse")] string[] DataInsertTechnique_AppraiseTable(BLL.CNCECHSSEService.Technique_Appraise[] appraise); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTableResponse")] - System.IAsyncResult BeginDataInsertTechnique_AppraiseTable(BLL.CNCECHSSEService.Technique_Appraise[] appraise, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_AppraiseTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_AppraiseTableResponse")] + System.Threading.Tasks.Task DataInsertTechnique_AppraiseTableAsync(BLL.CNCECHSSEService.Technique_Appraise[] appraise); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTableResponse")] string[] DataInsertTechnique_EmergencyTable(BLL.CNCECHSSEService.Technique_Emergency[] emergency); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTableResponse")] - System.IAsyncResult BeginDataInsertTechnique_EmergencyTable(BLL.CNCECHSSEService.Technique_Emergency[] emergency, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_EmergencyTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_EmergencyTableResponse")] + System.Threading.Tasks.Task DataInsertTechnique_EmergencyTableAsync(BLL.CNCECHSSEService.Technique_Emergency[] emergency); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTableRespon" + "se")] string[] DataInsertTechnique_SpecialSchemeTable(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTableRespon" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_SpecialSchemeTableRespon" + "se")] - System.IAsyncResult BeginDataInsertTechnique_SpecialSchemeTable(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_SpecialSchemeTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertTechnique_SpecialSchemeTableAsync(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_AccidentCauseReportTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_AccidentCauseReportTab" + "leResponse")] string[] DataInsertInformation_AccidentCauseReportTable(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertInformation_AccidentCauseReportTab" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_AccidentCauseReportTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_AccidentCauseReportTab" + "leResponse")] - System.IAsyncResult BeginDataInsertInformation_AccidentCauseReportTable(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertInformation_AccidentCauseReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertInformation_AccidentCauseReportTableAsync(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillConductedQuarterl" + "yReportTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_DrillConductedQuarterl" + "yReportTableResponse")] string[] DataInsertInformation_DrillConductedQuarterlyReportTable(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillConductedQuarterl" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillConductedQuarterl" + "yReportTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_DrillConductedQuarterl" + "yReportTableResponse")] - System.IAsyncResult BeginDataInsertInformation_DrillConductedQuarterlyReportTable(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertInformation_DrillConductedQuarterlyReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertInformation_DrillConductedQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillPlanHalfYearRepor" + "tTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_DrillPlanHalfYearRepor" + "tTableResponse")] string[] DataInsertInformation_DrillPlanHalfYearReportTable(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillPlanHalfYearRepor" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_DrillPlanHalfYearRepor" + "tTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_DrillPlanHalfYearRepor" + "tTableResponse")] - System.IAsyncResult BeginDataInsertInformation_DrillPlanHalfYearReportTable(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertInformation_DrillPlanHalfYearReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertInformation_DrillPlanHalfYearReportTableAsync(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_MillionsMonthlyReportT" + "able", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_MillionsMonthlyReportT" + "ableResponse")] string[] DataInsertInformation_MillionsMonthlyReportTable(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertInformation_MillionsMonthlyReportT" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_MillionsMonthlyReportT" + "able", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_MillionsMonthlyReportT" + "ableResponse")] - System.IAsyncResult BeginDataInsertInformation_MillionsMonthlyReportTable(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertInformation_MillionsMonthlyReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertInformation_MillionsMonthlyReportTableAsync(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_SafetyQuarterlyReportT" + "able", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_SafetyQuarterlyReportT" + "ableResponse")] string[] DataInsertInformation_SafetyQuarterlyReportTable(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertInformation_SafetyQuarterlyReportT" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertInformation_SafetyQuarterlyReportT" + "able", ReplyAction="http://www.localhost.com/HSSEService/DataInsertInformation_SafetyQuarterlyReportT" + "ableResponse")] - System.IAsyncResult BeginDataInsertInformation_SafetyQuarterlyReportTable(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertInformation_SafetyQuarterlyReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertInformation_SafetyQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTableResponse" + "")] string[] DataInsertTraining_TrainingItemTable(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTableResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainingItemTableResponse" + "")] - System.IAsyncResult BeginDataInsertTraining_TrainingItemTable(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTraining_TrainingItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertTraining_TrainingItemTableAsync(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTableRespo" + "nse")] string[] DataInsertTraining_TrainTestDBItemTable(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTableRespo" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_TrainTestDBItemTableRespo" + "nse")] - System.IAsyncResult BeginDataInsertTraining_TrainTestDBItemTable(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTraining_TrainTestDBItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertTraining_TrainTestDBItemTableAsync(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTableResp" + "onse")] string[] DataInsertEduTrain_AccidentCaseItemTable(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTableResp" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertEduTrain_AccidentCaseItemTableResp" + "onse")] - System.IAsyncResult BeginDataInsertEduTrain_AccidentCaseItemTable(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertEduTrain_AccidentCaseItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertEduTrain_AccidentCaseItemTableAsync(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTableRespons" + "e")] string[] DataInsertTraining_KnowledgeItemTable(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTableRespons" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTraining_KnowledgeItemTableRespons" + "e")] - System.IAsyncResult BeginDataInsertTraining_KnowledgeItemTable(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTraining_KnowledgeItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertTraining_KnowledgeItemTableAsync(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTableResponse")] string[] DataInsertTechnique_HazardListTable(BLL.CNCECHSSEService.Technique_HazardList[] hazardList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTableResponse")] - System.IAsyncResult BeginDataInsertTechnique_HazardListTable(BLL.CNCECHSSEService.Technique_HazardList[] hazardList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_HazardListTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_HazardListTableResponse")] + System.Threading.Tasks.Task DataInsertTechnique_HazardListTableAsync(BLL.CNCECHSSEService.Technique_HazardList[] hazardList); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTableResponse" + "")] string[] DataInsertTechnique_RectifyItemTable(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTableResponse" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_RectifyItemTableResponse" + "")] - System.IAsyncResult BeginDataInsertTechnique_RectifyItemTable(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_RectifyItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertTechnique_RectifyItemTableAsync(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTableResponse")] string[] DataInsertTechnique_ExpertTable(BLL.CNCECHSSEService.Technique_Expert[] expert); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTableResponse")] - System.IAsyncResult BeginDataInsertTechnique_ExpertTable(BLL.CNCECHSSEService.Technique_Expert[] expert, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertTechnique_ExpertTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertTechnique_ExpertTableResponse")] + System.Threading.Tasks.Task DataInsertTechnique_ExpertTableAsync(BLL.CNCECHSSEService.Technique_Expert[] expert); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SuperviseCheckRectifyTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_SuperviseCheckRectifyTab" + "leResponse")] string[] DataInsertSupervise_SuperviseCheckRectifyTable(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SuperviseCheckRectifyTab" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SuperviseCheckRectifyTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_SuperviseCheckRectifyTab" + "leResponse")] - System.IAsyncResult BeginDataInsertSupervise_SuperviseCheckRectifyTable(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertSupervise_SuperviseCheckRectifyTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertSupervise_SuperviseCheckRectifyTableAsync(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTableResp" + "onse")] string[] DataInsertHSSESystem_HSSEManageItemTable(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTableResp" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEManageItemTableResp" + "onse")] - System.IAsyncResult BeginDataInsertHSSESystem_HSSEManageItemTable(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertHSSESystem_HSSEManageItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertHSSESystem_HSSEManageItemTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTableRespon" + "se")] string[] DataInsertSupervise_UpCheckReportTable(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTableRespon" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_UpCheckReportTableRespon" + "se")] - System.IAsyncResult BeginDataInsertSupervise_UpCheckReportTable(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertSupervise_UpCheckReportTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertSupervise_UpCheckReportTableAsync(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SubUnitReportItemItemTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_SubUnitReportItemItemTab" + "leResponse")] string[] DataInsertSupervise_SubUnitReportItemItemTable(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SubUnitReportItemItemTab" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSupervise_SubUnitReportItemItemTab" + "le", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSupervise_SubUnitReportItemItemTab" + "leResponse")] - System.IAsyncResult BeginDataInsertSupervise_SubUnitReportItemItemTable(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertSupervise_SubUnitReportItemItemTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertSupervise_SubUnitReportItemItemTableAsync(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTableResponse")] string[] DataInsertCheck_CheckRectifyTable(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTableResponse")] - System.IAsyncResult BeginDataInsertCheck_CheckRectifyTable(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertCheck_CheckRectifyTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertCheck_CheckRectifyTableResponse")] + System.Threading.Tasks.Task DataInsertCheck_CheckRectifyTableAsync(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTableRespon" + "se")] string DataInsertHSSESystem_HSSEOrganizeTable(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTableRespon" + + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertHSSESystem_HSSEOrganizeTableRespon" + "se")] - System.IAsyncResult BeginDataInsertHSSESystem_HSSEOrganizeTable(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize, System.AsyncCallback callback, object asyncState); - - string EndDataInsertHSSESystem_HSSEOrganizeTable(System.IAsyncResult result); + System.Threading.Tasks.Task DataInsertHSSESystem_HSSEOrganizeTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize); [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTableResponse")] string[] DataInsertSys_SubUnitLogListTable(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList); - [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTableResponse")] - System.IAsyncResult BeginDataInsertSys_SubUnitLogListTable(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList, System.AsyncCallback callback, object asyncState); - - string[] EndDataInsertSys_SubUnitLogListTable(System.IAsyncResult result); + [System.ServiceModel.OperationContractAttribute(Action="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTable", ReplyAction="http://www.localhost.com/HSSEService/DataInsertSys_SubUnitLogListTableResponse")] + System.Threading.Tasks.Task DataInsertSys_SubUnitLogListTableAsync(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface HSSEServiceChannel : BLL.CNCECHSSEService.HSSEService, System.ServiceModel.IClientChannel { } - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetSys_VersionToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetSys_VersionToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Sys_Version[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Sys_Version[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetBase_UnitToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetBase_UnitToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Base_Unit[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Base_Unit[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetInformation_UrgeReportToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetInformation_UrgeReportToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Information_UrgeReport[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Information_UrgeReport[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetLaw_LawRegulationListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetLaw_LawRegulationListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Law_LawRegulationList[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Law_LawRegulationList[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetLaw_HSSEStandardsListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetLaw_HSSEStandardsListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Law_HSSEStandardsList[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Law_HSSEStandardsList[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetLaw_RulesRegulationsToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetLaw_RulesRegulationsToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Law_RulesRegulations[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Law_RulesRegulations[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetLaw_ManageRuleToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetLaw_ManageRuleToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Law_ManageRule[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Law_ManageRule[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_HAZOPToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_HAZOPToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_HAZOP[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_HAZOP[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_AppraiseToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_AppraiseToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_Appraise[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_Appraise[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_EmergencyToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_EmergencyToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_Emergency[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_Emergency[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_SpecialSchemeToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_SpecialSchemeToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_SpecialScheme[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_SpecialScheme[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_TrainingListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_TrainingListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_Training[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_Training[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_TrainingItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_TrainingItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_TrainingItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_TrainingItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_TrainTestDBListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_TrainTestDBListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_TrainTestDB[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_TrainTestDB[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_TrainTestDBItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_TrainTestDBItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_TrainTestDBItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_TrainTestDBItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetEduTrain_AccidentCaseListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetEduTrain_AccidentCaseListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.EduTrain_AccidentCase[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.EduTrain_AccidentCase[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetEduTrain_AccidentCaseItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetEduTrain_AccidentCaseItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_KnowledgeListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_KnowledgeListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_Knowledge[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_Knowledge[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTraining_KnowledgeItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTraining_KnowledgeItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Training_KnowledgeItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Training_KnowledgeItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_HazardListTypeListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_HazardListTypeListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_HazardListType[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_HazardListType[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_HazardListListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_HazardListListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_HazardList[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_HazardList[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_RectifyListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_RectifyListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_Rectify[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_Rectify[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_RectifyItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_RectifyItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_RectifyItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_RectifyItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetTechnique_ExpertListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetTechnique_ExpertListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Technique_Expert[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Technique_Expert[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetSupervise_SuperviseCheckRectifyListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetSupervise_SuperviseCheckRectifyListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetSupervise_SubUnitReportListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetSupervise_SubUnitReportListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Supervise_SubUnitReport[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Supervise_SubUnitReport[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetSupervise_SubUnitReportItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetSupervise_SubUnitReportItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Supervise_SubUnitReportItem[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetCheck_CheckRectifyListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetCheck_CheckRectifyListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Check_CheckRectify[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Check_CheckRectify[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class GetCheck_CheckInfo_Table8ItemListToSUBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public GetCheck_CheckInfo_Table8ItemListToSUBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertLaw_LawRegulationListTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertLaw_LawRegulationListTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertLaw_HSSEStandardsListTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertLaw_HSSEStandardsListTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertLaw_RulesRegulationsTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertLaw_RulesRegulationsTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertLaw_ManageRuleTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertLaw_ManageRuleTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_HAZOPTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_HAZOPTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_AppraiseTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_AppraiseTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_EmergencyTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_EmergencyTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_SpecialSchemeTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_SpecialSchemeTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertInformation_AccidentCauseReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertInformation_AccidentCauseReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertInformation_DrillConductedQuarterlyReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertInformation_DrillConductedQuarterlyReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertInformation_DrillPlanHalfYearReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertInformation_DrillPlanHalfYearReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertInformation_MillionsMonthlyReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertInformation_MillionsMonthlyReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertInformation_SafetyQuarterlyReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertInformation_SafetyQuarterlyReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTraining_TrainingItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTraining_TrainingItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTraining_TrainTestDBItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTraining_TrainTestDBItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertEduTrain_AccidentCaseItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertEduTrain_AccidentCaseItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTraining_KnowledgeItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTraining_KnowledgeItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_HazardListTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_HazardListTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_RectifyItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_RectifyItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertTechnique_ExpertTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertTechnique_ExpertTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertSupervise_SuperviseCheckRectifyTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertSupervise_SuperviseCheckRectifyTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertHSSESystem_HSSEManageItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertHSSESystem_HSSEManageItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertSupervise_UpCheckReportTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertSupervise_UpCheckReportTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertSupervise_SubUnitReportItemItemTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertSupervise_SubUnitReportItemItemTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertCheck_CheckRectifyTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertCheck_CheckRectifyTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertHSSESystem_HSSEOrganizeTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertHSSESystem_HSSEOrganizeTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string)(this.results[0])); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - public partial class DataInsertSys_SubUnitLogListTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - public DataInsertSys_SubUnitLogListTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - public string[] Result { - get { - base.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class HSSEServiceClient : System.ServiceModel.ClientBase, BLL.CNCECHSSEService.HSSEService { - private BeginOperationDelegate onBeginGetSys_VersionToSUBDelegate; - - private EndOperationDelegate onEndGetSys_VersionToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetSys_VersionToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetBase_UnitToSUBDelegate; - - private EndOperationDelegate onEndGetBase_UnitToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetBase_UnitToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetInformation_UrgeReportToSUBDelegate; - - private EndOperationDelegate onEndGetInformation_UrgeReportToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetInformation_UrgeReportToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetLaw_LawRegulationListToSUBDelegate; - - private EndOperationDelegate onEndGetLaw_LawRegulationListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetLaw_LawRegulationListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetLaw_HSSEStandardsListToSUBDelegate; - - private EndOperationDelegate onEndGetLaw_HSSEStandardsListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetLaw_HSSEStandardsListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetLaw_RulesRegulationsToSUBDelegate; - - private EndOperationDelegate onEndGetLaw_RulesRegulationsToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetLaw_RulesRegulationsToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetLaw_ManageRuleToSUBDelegate; - - private EndOperationDelegate onEndGetLaw_ManageRuleToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetLaw_ManageRuleToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_HAZOPToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_HAZOPToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_HAZOPToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_AppraiseToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_AppraiseToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_AppraiseToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_EmergencyToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_EmergencyToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_EmergencyToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_SpecialSchemeToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_SpecialSchemeToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_SpecialSchemeToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_TrainingListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_TrainingListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_TrainingListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_TrainingItemListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_TrainingItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_TrainingItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_TrainTestDBListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_TrainTestDBListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_TrainTestDBListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_TrainTestDBItemListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_TrainTestDBItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_TrainTestDBItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetEduTrain_AccidentCaseListToSUBDelegate; - - private EndOperationDelegate onEndGetEduTrain_AccidentCaseListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetEduTrain_AccidentCaseListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetEduTrain_AccidentCaseItemListToSUBDelegate; - - private EndOperationDelegate onEndGetEduTrain_AccidentCaseItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetEduTrain_AccidentCaseItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_KnowledgeListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_KnowledgeListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_KnowledgeListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTraining_KnowledgeItemListToSUBDelegate; - - private EndOperationDelegate onEndGetTraining_KnowledgeItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTraining_KnowledgeItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_HazardListTypeListToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_HazardListTypeListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_HazardListTypeListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_HazardListListToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_HazardListListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_HazardListListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_RectifyListToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_RectifyListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_RectifyListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_RectifyItemListToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_RectifyItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_RectifyItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetTechnique_ExpertListToSUBDelegate; - - private EndOperationDelegate onEndGetTechnique_ExpertListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetTechnique_ExpertListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetSupervise_SuperviseCheckRectifyListToSUBDelegate; - - private EndOperationDelegate onEndGetSupervise_SuperviseCheckRectifyListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetSupervise_SuperviseCheckRectifyListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetSupervise_SubUnitReportListToSUBDelegate; - - private EndOperationDelegate onEndGetSupervise_SubUnitReportListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetSupervise_SubUnitReportListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetSupervise_SubUnitReportItemListToSUBDelegate; - - private EndOperationDelegate onEndGetSupervise_SubUnitReportItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetSupervise_SubUnitReportItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetCheck_CheckRectifyListToSUBDelegate; - - private EndOperationDelegate onEndGetCheck_CheckRectifyListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetCheck_CheckRectifyListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginGetCheck_CheckInfo_Table8ItemListToSUBDelegate; - - private EndOperationDelegate onEndGetCheck_CheckInfo_Table8ItemListToSUBDelegate; - - private System.Threading.SendOrPostCallback onGetCheck_CheckInfo_Table8ItemListToSUBCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertLaw_LawRegulationListTableDelegate; - - private EndOperationDelegate onEndDataInsertLaw_LawRegulationListTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertLaw_LawRegulationListTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertLaw_HSSEStandardsListTableDelegate; - - private EndOperationDelegate onEndDataInsertLaw_HSSEStandardsListTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertLaw_HSSEStandardsListTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertLaw_RulesRegulationsTableDelegate; - - private EndOperationDelegate onEndDataInsertLaw_RulesRegulationsTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertLaw_RulesRegulationsTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertLaw_ManageRuleTableDelegate; - - private EndOperationDelegate onEndDataInsertLaw_ManageRuleTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertLaw_ManageRuleTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_HAZOPTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_HAZOPTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_HAZOPTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_AppraiseTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_AppraiseTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_AppraiseTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_EmergencyTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_EmergencyTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_EmergencyTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_SpecialSchemeTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_SpecialSchemeTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_SpecialSchemeTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertInformation_AccidentCauseReportTableDelegate; - - private EndOperationDelegate onEndDataInsertInformation_AccidentCauseReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertInformation_AccidentCauseReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertInformation_DrillConductedQuarterlyReportTableDelegate; - - private EndOperationDelegate onEndDataInsertInformation_DrillConductedQuarterlyReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertInformation_DrillConductedQuarterlyReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertInformation_DrillPlanHalfYearReportTableDelegate; - - private EndOperationDelegate onEndDataInsertInformation_DrillPlanHalfYearReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertInformation_DrillPlanHalfYearReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertInformation_MillionsMonthlyReportTableDelegate; - - private EndOperationDelegate onEndDataInsertInformation_MillionsMonthlyReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertInformation_MillionsMonthlyReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertInformation_SafetyQuarterlyReportTableDelegate; - - private EndOperationDelegate onEndDataInsertInformation_SafetyQuarterlyReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertInformation_SafetyQuarterlyReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTraining_TrainingItemTableDelegate; - - private EndOperationDelegate onEndDataInsertTraining_TrainingItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTraining_TrainingItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTraining_TrainTestDBItemTableDelegate; - - private EndOperationDelegate onEndDataInsertTraining_TrainTestDBItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTraining_TrainTestDBItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertEduTrain_AccidentCaseItemTableDelegate; - - private EndOperationDelegate onEndDataInsertEduTrain_AccidentCaseItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertEduTrain_AccidentCaseItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTraining_KnowledgeItemTableDelegate; - - private EndOperationDelegate onEndDataInsertTraining_KnowledgeItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTraining_KnowledgeItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_HazardListTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_HazardListTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_HazardListTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_RectifyItemTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_RectifyItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_RectifyItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertTechnique_ExpertTableDelegate; - - private EndOperationDelegate onEndDataInsertTechnique_ExpertTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertTechnique_ExpertTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertSupervise_SuperviseCheckRectifyTableDelegate; - - private EndOperationDelegate onEndDataInsertSupervise_SuperviseCheckRectifyTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertSupervise_SuperviseCheckRectifyTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertHSSESystem_HSSEManageItemTableDelegate; - - private EndOperationDelegate onEndDataInsertHSSESystem_HSSEManageItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertHSSESystem_HSSEManageItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertSupervise_UpCheckReportTableDelegate; - - private EndOperationDelegate onEndDataInsertSupervise_UpCheckReportTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertSupervise_UpCheckReportTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertSupervise_SubUnitReportItemItemTableDelegate; - - private EndOperationDelegate onEndDataInsertSupervise_SubUnitReportItemItemTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertSupervise_SubUnitReportItemItemTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertCheck_CheckRectifyTableDelegate; - - private EndOperationDelegate onEndDataInsertCheck_CheckRectifyTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertCheck_CheckRectifyTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertHSSESystem_HSSEOrganizeTableDelegate; - - private EndOperationDelegate onEndDataInsertHSSESystem_HSSEOrganizeTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertHSSESystem_HSSEOrganizeTableCompletedDelegate; - - private BeginOperationDelegate onBeginDataInsertSys_SubUnitLogListTableDelegate; - - private EndOperationDelegate onEndDataInsertSys_SubUnitLogListTableDelegate; - - private System.Threading.SendOrPostCallback onDataInsertSys_SubUnitLogListTableCompletedDelegate; - public HSSEServiceClient() { } @@ -15023,2880 +13511,452 @@ namespace BLL.CNCECHSSEService { base(binding, remoteAddress) { } - public event System.EventHandler GetSys_VersionToSUBCompleted; - - public event System.EventHandler GetBase_UnitToSUBCompleted; - - public event System.EventHandler GetInformation_UrgeReportToSUBCompleted; - - public event System.EventHandler GetLaw_LawRegulationListToSUBCompleted; - - public event System.EventHandler GetLaw_HSSEStandardsListToSUBCompleted; - - public event System.EventHandler GetLaw_RulesRegulationsToSUBCompleted; - - public event System.EventHandler GetLaw_ManageRuleToSUBCompleted; - - public event System.EventHandler GetTechnique_HAZOPToSUBCompleted; - - public event System.EventHandler GetTechnique_AppraiseToSUBCompleted; - - public event System.EventHandler GetTechnique_EmergencyToSUBCompleted; - - public event System.EventHandler GetTechnique_SpecialSchemeToSUBCompleted; - - public event System.EventHandler GetTraining_TrainingListToSUBCompleted; - - public event System.EventHandler GetTraining_TrainingItemListToSUBCompleted; - - public event System.EventHandler GetTraining_TrainTestDBListToSUBCompleted; - - public event System.EventHandler GetTraining_TrainTestDBItemListToSUBCompleted; - - public event System.EventHandler GetEduTrain_AccidentCaseListToSUBCompleted; - - public event System.EventHandler GetEduTrain_AccidentCaseItemListToSUBCompleted; - - public event System.EventHandler GetTraining_KnowledgeListToSUBCompleted; - - public event System.EventHandler GetTraining_KnowledgeItemListToSUBCompleted; - - public event System.EventHandler GetTechnique_HazardListTypeListToSUBCompleted; - - public event System.EventHandler GetTechnique_HazardListListToSUBCompleted; - - public event System.EventHandler GetTechnique_RectifyListToSUBCompleted; - - public event System.EventHandler GetTechnique_RectifyItemListToSUBCompleted; - - public event System.EventHandler GetTechnique_ExpertListToSUBCompleted; - - public event System.EventHandler GetSupervise_SuperviseCheckRectifyListToSUBCompleted; - - public event System.EventHandler GetSupervise_SubUnitReportListToSUBCompleted; - - public event System.EventHandler GetSupervise_SubUnitReportItemListToSUBCompleted; - - public event System.EventHandler GetCheck_CheckRectifyListToSUBCompleted; - - public event System.EventHandler GetCheck_CheckInfo_Table8ItemListToSUBCompleted; - - public event System.EventHandler DataInsertLaw_LawRegulationListTableCompleted; - - public event System.EventHandler DataInsertLaw_HSSEStandardsListTableCompleted; - - public event System.EventHandler DataInsertLaw_RulesRegulationsTableCompleted; - - public event System.EventHandler DataInsertLaw_ManageRuleTableCompleted; - - public event System.EventHandler DataInsertTechnique_HAZOPTableCompleted; - - public event System.EventHandler DataInsertTechnique_AppraiseTableCompleted; - - public event System.EventHandler DataInsertTechnique_EmergencyTableCompleted; - - public event System.EventHandler DataInsertTechnique_SpecialSchemeTableCompleted; - - public event System.EventHandler DataInsertInformation_AccidentCauseReportTableCompleted; - - public event System.EventHandler DataInsertInformation_DrillConductedQuarterlyReportTableCompleted; - - public event System.EventHandler DataInsertInformation_DrillPlanHalfYearReportTableCompleted; - - public event System.EventHandler DataInsertInformation_MillionsMonthlyReportTableCompleted; - - public event System.EventHandler DataInsertInformation_SafetyQuarterlyReportTableCompleted; - - public event System.EventHandler DataInsertTraining_TrainingItemTableCompleted; - - public event System.EventHandler DataInsertTraining_TrainTestDBItemTableCompleted; - - public event System.EventHandler DataInsertEduTrain_AccidentCaseItemTableCompleted; - - public event System.EventHandler DataInsertTraining_KnowledgeItemTableCompleted; - - public event System.EventHandler DataInsertTechnique_HazardListTableCompleted; - - public event System.EventHandler DataInsertTechnique_RectifyItemTableCompleted; - - public event System.EventHandler DataInsertTechnique_ExpertTableCompleted; - - public event System.EventHandler DataInsertSupervise_SuperviseCheckRectifyTableCompleted; - - public event System.EventHandler DataInsertHSSESystem_HSSEManageItemTableCompleted; - - public event System.EventHandler DataInsertSupervise_UpCheckReportTableCompleted; - - public event System.EventHandler DataInsertSupervise_SubUnitReportItemItemTableCompleted; - - public event System.EventHandler DataInsertCheck_CheckRectifyTableCompleted; - - public event System.EventHandler DataInsertHSSESystem_HSSEOrganizeTableCompleted; - - public event System.EventHandler DataInsertSys_SubUnitLogListTableCompleted; - public BLL.CNCECHSSEService.Sys_Version[] GetSys_VersionToSUB() { return base.Channel.GetSys_VersionToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetSys_VersionToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetSys_VersionToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Sys_Version[] EndGetSys_VersionToSUB(System.IAsyncResult result) { - return base.Channel.EndGetSys_VersionToSUB(result); - } - - private System.IAsyncResult OnBeginGetSys_VersionToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetSys_VersionToSUB(callback, asyncState); - } - - private object[] OnEndGetSys_VersionToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Sys_Version[] retVal = this.EndGetSys_VersionToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetSys_VersionToSUBCompleted(object state) { - if ((this.GetSys_VersionToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetSys_VersionToSUBCompleted(this, new GetSys_VersionToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetSys_VersionToSUBAsync() { - this.GetSys_VersionToSUBAsync(null); - } - - public void GetSys_VersionToSUBAsync(object userState) { - if ((this.onBeginGetSys_VersionToSUBDelegate == null)) { - this.onBeginGetSys_VersionToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetSys_VersionToSUB); - } - if ((this.onEndGetSys_VersionToSUBDelegate == null)) { - this.onEndGetSys_VersionToSUBDelegate = new EndOperationDelegate(this.OnEndGetSys_VersionToSUB); - } - if ((this.onGetSys_VersionToSUBCompletedDelegate == null)) { - this.onGetSys_VersionToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSys_VersionToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetSys_VersionToSUBDelegate, null, this.onEndGetSys_VersionToSUBDelegate, this.onGetSys_VersionToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetSys_VersionToSUBAsync() { + return base.Channel.GetSys_VersionToSUBAsync(); } public BLL.CNCECHSSEService.Base_Unit[] GetBase_UnitToSUB() { return base.Channel.GetBase_UnitToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetBase_UnitToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetBase_UnitToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Base_Unit[] EndGetBase_UnitToSUB(System.IAsyncResult result) { - return base.Channel.EndGetBase_UnitToSUB(result); - } - - private System.IAsyncResult OnBeginGetBase_UnitToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetBase_UnitToSUB(callback, asyncState); - } - - private object[] OnEndGetBase_UnitToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Base_Unit[] retVal = this.EndGetBase_UnitToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetBase_UnitToSUBCompleted(object state) { - if ((this.GetBase_UnitToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetBase_UnitToSUBCompleted(this, new GetBase_UnitToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetBase_UnitToSUBAsync() { - this.GetBase_UnitToSUBAsync(null); - } - - public void GetBase_UnitToSUBAsync(object userState) { - if ((this.onBeginGetBase_UnitToSUBDelegate == null)) { - this.onBeginGetBase_UnitToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetBase_UnitToSUB); - } - if ((this.onEndGetBase_UnitToSUBDelegate == null)) { - this.onEndGetBase_UnitToSUBDelegate = new EndOperationDelegate(this.OnEndGetBase_UnitToSUB); - } - if ((this.onGetBase_UnitToSUBCompletedDelegate == null)) { - this.onGetBase_UnitToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetBase_UnitToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetBase_UnitToSUBDelegate, null, this.onEndGetBase_UnitToSUBDelegate, this.onGetBase_UnitToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetBase_UnitToSUBAsync() { + return base.Channel.GetBase_UnitToSUBAsync(); } public BLL.CNCECHSSEService.Information_UrgeReport[] GetInformation_UrgeReportToSUB(string unitId) { return base.Channel.GetInformation_UrgeReportToSUB(unitId); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetInformation_UrgeReportToSUB(string unitId, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetInformation_UrgeReportToSUB(unitId, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Information_UrgeReport[] EndGetInformation_UrgeReportToSUB(System.IAsyncResult result) { - return base.Channel.EndGetInformation_UrgeReportToSUB(result); - } - - private System.IAsyncResult OnBeginGetInformation_UrgeReportToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - string unitId = ((string)(inValues[0])); - return this.BeginGetInformation_UrgeReportToSUB(unitId, callback, asyncState); - } - - private object[] OnEndGetInformation_UrgeReportToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Information_UrgeReport[] retVal = this.EndGetInformation_UrgeReportToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetInformation_UrgeReportToSUBCompleted(object state) { - if ((this.GetInformation_UrgeReportToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetInformation_UrgeReportToSUBCompleted(this, new GetInformation_UrgeReportToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetInformation_UrgeReportToSUBAsync(string unitId) { - this.GetInformation_UrgeReportToSUBAsync(unitId, null); - } - - public void GetInformation_UrgeReportToSUBAsync(string unitId, object userState) { - if ((this.onBeginGetInformation_UrgeReportToSUBDelegate == null)) { - this.onBeginGetInformation_UrgeReportToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetInformation_UrgeReportToSUB); - } - if ((this.onEndGetInformation_UrgeReportToSUBDelegate == null)) { - this.onEndGetInformation_UrgeReportToSUBDelegate = new EndOperationDelegate(this.OnEndGetInformation_UrgeReportToSUB); - } - if ((this.onGetInformation_UrgeReportToSUBCompletedDelegate == null)) { - this.onGetInformation_UrgeReportToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetInformation_UrgeReportToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetInformation_UrgeReportToSUBDelegate, new object[] { - unitId}, this.onEndGetInformation_UrgeReportToSUBDelegate, this.onGetInformation_UrgeReportToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetInformation_UrgeReportToSUBAsync(string unitId) { + return base.Channel.GetInformation_UrgeReportToSUBAsync(unitId); } public BLL.CNCECHSSEService.Law_LawRegulationList[] GetLaw_LawRegulationListToSUB() { return base.Channel.GetLaw_LawRegulationListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetLaw_LawRegulationListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetLaw_LawRegulationListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Law_LawRegulationList[] EndGetLaw_LawRegulationListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetLaw_LawRegulationListToSUB(result); - } - - private System.IAsyncResult OnBeginGetLaw_LawRegulationListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetLaw_LawRegulationListToSUB(callback, asyncState); - } - - private object[] OnEndGetLaw_LawRegulationListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Law_LawRegulationList[] retVal = this.EndGetLaw_LawRegulationListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetLaw_LawRegulationListToSUBCompleted(object state) { - if ((this.GetLaw_LawRegulationListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetLaw_LawRegulationListToSUBCompleted(this, new GetLaw_LawRegulationListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetLaw_LawRegulationListToSUBAsync() { - this.GetLaw_LawRegulationListToSUBAsync(null); - } - - public void GetLaw_LawRegulationListToSUBAsync(object userState) { - if ((this.onBeginGetLaw_LawRegulationListToSUBDelegate == null)) { - this.onBeginGetLaw_LawRegulationListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetLaw_LawRegulationListToSUB); - } - if ((this.onEndGetLaw_LawRegulationListToSUBDelegate == null)) { - this.onEndGetLaw_LawRegulationListToSUBDelegate = new EndOperationDelegate(this.OnEndGetLaw_LawRegulationListToSUB); - } - if ((this.onGetLaw_LawRegulationListToSUBCompletedDelegate == null)) { - this.onGetLaw_LawRegulationListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLaw_LawRegulationListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetLaw_LawRegulationListToSUBDelegate, null, this.onEndGetLaw_LawRegulationListToSUBDelegate, this.onGetLaw_LawRegulationListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetLaw_LawRegulationListToSUBAsync() { + return base.Channel.GetLaw_LawRegulationListToSUBAsync(); } public BLL.CNCECHSSEService.Law_HSSEStandardsList[] GetLaw_HSSEStandardsListToSUB() { return base.Channel.GetLaw_HSSEStandardsListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetLaw_HSSEStandardsListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetLaw_HSSEStandardsListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Law_HSSEStandardsList[] EndGetLaw_HSSEStandardsListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetLaw_HSSEStandardsListToSUB(result); - } - - private System.IAsyncResult OnBeginGetLaw_HSSEStandardsListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetLaw_HSSEStandardsListToSUB(callback, asyncState); - } - - private object[] OnEndGetLaw_HSSEStandardsListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Law_HSSEStandardsList[] retVal = this.EndGetLaw_HSSEStandardsListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetLaw_HSSEStandardsListToSUBCompleted(object state) { - if ((this.GetLaw_HSSEStandardsListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetLaw_HSSEStandardsListToSUBCompleted(this, new GetLaw_HSSEStandardsListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetLaw_HSSEStandardsListToSUBAsync() { - this.GetLaw_HSSEStandardsListToSUBAsync(null); - } - - public void GetLaw_HSSEStandardsListToSUBAsync(object userState) { - if ((this.onBeginGetLaw_HSSEStandardsListToSUBDelegate == null)) { - this.onBeginGetLaw_HSSEStandardsListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetLaw_HSSEStandardsListToSUB); - } - if ((this.onEndGetLaw_HSSEStandardsListToSUBDelegate == null)) { - this.onEndGetLaw_HSSEStandardsListToSUBDelegate = new EndOperationDelegate(this.OnEndGetLaw_HSSEStandardsListToSUB); - } - if ((this.onGetLaw_HSSEStandardsListToSUBCompletedDelegate == null)) { - this.onGetLaw_HSSEStandardsListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLaw_HSSEStandardsListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetLaw_HSSEStandardsListToSUBDelegate, null, this.onEndGetLaw_HSSEStandardsListToSUBDelegate, this.onGetLaw_HSSEStandardsListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetLaw_HSSEStandardsListToSUBAsync() { + return base.Channel.GetLaw_HSSEStandardsListToSUBAsync(); } public BLL.CNCECHSSEService.Law_RulesRegulations[] GetLaw_RulesRegulationsToSUB() { return base.Channel.GetLaw_RulesRegulationsToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetLaw_RulesRegulationsToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetLaw_RulesRegulationsToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Law_RulesRegulations[] EndGetLaw_RulesRegulationsToSUB(System.IAsyncResult result) { - return base.Channel.EndGetLaw_RulesRegulationsToSUB(result); - } - - private System.IAsyncResult OnBeginGetLaw_RulesRegulationsToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetLaw_RulesRegulationsToSUB(callback, asyncState); - } - - private object[] OnEndGetLaw_RulesRegulationsToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Law_RulesRegulations[] retVal = this.EndGetLaw_RulesRegulationsToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetLaw_RulesRegulationsToSUBCompleted(object state) { - if ((this.GetLaw_RulesRegulationsToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetLaw_RulesRegulationsToSUBCompleted(this, new GetLaw_RulesRegulationsToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetLaw_RulesRegulationsToSUBAsync() { - this.GetLaw_RulesRegulationsToSUBAsync(null); - } - - public void GetLaw_RulesRegulationsToSUBAsync(object userState) { - if ((this.onBeginGetLaw_RulesRegulationsToSUBDelegate == null)) { - this.onBeginGetLaw_RulesRegulationsToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetLaw_RulesRegulationsToSUB); - } - if ((this.onEndGetLaw_RulesRegulationsToSUBDelegate == null)) { - this.onEndGetLaw_RulesRegulationsToSUBDelegate = new EndOperationDelegate(this.OnEndGetLaw_RulesRegulationsToSUB); - } - if ((this.onGetLaw_RulesRegulationsToSUBCompletedDelegate == null)) { - this.onGetLaw_RulesRegulationsToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLaw_RulesRegulationsToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetLaw_RulesRegulationsToSUBDelegate, null, this.onEndGetLaw_RulesRegulationsToSUBDelegate, this.onGetLaw_RulesRegulationsToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetLaw_RulesRegulationsToSUBAsync() { + return base.Channel.GetLaw_RulesRegulationsToSUBAsync(); } public BLL.CNCECHSSEService.Law_ManageRule[] GetLaw_ManageRuleToSUB() { return base.Channel.GetLaw_ManageRuleToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetLaw_ManageRuleToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetLaw_ManageRuleToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Law_ManageRule[] EndGetLaw_ManageRuleToSUB(System.IAsyncResult result) { - return base.Channel.EndGetLaw_ManageRuleToSUB(result); - } - - private System.IAsyncResult OnBeginGetLaw_ManageRuleToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetLaw_ManageRuleToSUB(callback, asyncState); - } - - private object[] OnEndGetLaw_ManageRuleToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Law_ManageRule[] retVal = this.EndGetLaw_ManageRuleToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetLaw_ManageRuleToSUBCompleted(object state) { - if ((this.GetLaw_ManageRuleToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetLaw_ManageRuleToSUBCompleted(this, new GetLaw_ManageRuleToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetLaw_ManageRuleToSUBAsync() { - this.GetLaw_ManageRuleToSUBAsync(null); - } - - public void GetLaw_ManageRuleToSUBAsync(object userState) { - if ((this.onBeginGetLaw_ManageRuleToSUBDelegate == null)) { - this.onBeginGetLaw_ManageRuleToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetLaw_ManageRuleToSUB); - } - if ((this.onEndGetLaw_ManageRuleToSUBDelegate == null)) { - this.onEndGetLaw_ManageRuleToSUBDelegate = new EndOperationDelegate(this.OnEndGetLaw_ManageRuleToSUB); - } - if ((this.onGetLaw_ManageRuleToSUBCompletedDelegate == null)) { - this.onGetLaw_ManageRuleToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLaw_ManageRuleToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetLaw_ManageRuleToSUBDelegate, null, this.onEndGetLaw_ManageRuleToSUBDelegate, this.onGetLaw_ManageRuleToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetLaw_ManageRuleToSUBAsync() { + return base.Channel.GetLaw_ManageRuleToSUBAsync(); } public BLL.CNCECHSSEService.Technique_HAZOP[] GetTechnique_HAZOPToSUB() { return base.Channel.GetTechnique_HAZOPToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_HAZOPToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_HAZOPToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_HAZOP[] EndGetTechnique_HAZOPToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_HAZOPToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_HAZOPToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_HAZOPToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_HAZOPToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_HAZOP[] retVal = this.EndGetTechnique_HAZOPToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_HAZOPToSUBCompleted(object state) { - if ((this.GetTechnique_HAZOPToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_HAZOPToSUBCompleted(this, new GetTechnique_HAZOPToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_HAZOPToSUBAsync() { - this.GetTechnique_HAZOPToSUBAsync(null); - } - - public void GetTechnique_HAZOPToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_HAZOPToSUBDelegate == null)) { - this.onBeginGetTechnique_HAZOPToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_HAZOPToSUB); - } - if ((this.onEndGetTechnique_HAZOPToSUBDelegate == null)) { - this.onEndGetTechnique_HAZOPToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_HAZOPToSUB); - } - if ((this.onGetTechnique_HAZOPToSUBCompletedDelegate == null)) { - this.onGetTechnique_HAZOPToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_HAZOPToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_HAZOPToSUBDelegate, null, this.onEndGetTechnique_HAZOPToSUBDelegate, this.onGetTechnique_HAZOPToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_HAZOPToSUBAsync() { + return base.Channel.GetTechnique_HAZOPToSUBAsync(); } public BLL.CNCECHSSEService.Technique_Appraise[] GetTechnique_AppraiseToSUB() { return base.Channel.GetTechnique_AppraiseToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_AppraiseToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_AppraiseToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_Appraise[] EndGetTechnique_AppraiseToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_AppraiseToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_AppraiseToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_AppraiseToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_AppraiseToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_Appraise[] retVal = this.EndGetTechnique_AppraiseToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_AppraiseToSUBCompleted(object state) { - if ((this.GetTechnique_AppraiseToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_AppraiseToSUBCompleted(this, new GetTechnique_AppraiseToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_AppraiseToSUBAsync() { - this.GetTechnique_AppraiseToSUBAsync(null); - } - - public void GetTechnique_AppraiseToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_AppraiseToSUBDelegate == null)) { - this.onBeginGetTechnique_AppraiseToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_AppraiseToSUB); - } - if ((this.onEndGetTechnique_AppraiseToSUBDelegate == null)) { - this.onEndGetTechnique_AppraiseToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_AppraiseToSUB); - } - if ((this.onGetTechnique_AppraiseToSUBCompletedDelegate == null)) { - this.onGetTechnique_AppraiseToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_AppraiseToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_AppraiseToSUBDelegate, null, this.onEndGetTechnique_AppraiseToSUBDelegate, this.onGetTechnique_AppraiseToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_AppraiseToSUBAsync() { + return base.Channel.GetTechnique_AppraiseToSUBAsync(); } public BLL.CNCECHSSEService.Technique_Emergency[] GetTechnique_EmergencyToSUB() { return base.Channel.GetTechnique_EmergencyToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_EmergencyToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_EmergencyToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_Emergency[] EndGetTechnique_EmergencyToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_EmergencyToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_EmergencyToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_EmergencyToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_EmergencyToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_Emergency[] retVal = this.EndGetTechnique_EmergencyToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_EmergencyToSUBCompleted(object state) { - if ((this.GetTechnique_EmergencyToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_EmergencyToSUBCompleted(this, new GetTechnique_EmergencyToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_EmergencyToSUBAsync() { - this.GetTechnique_EmergencyToSUBAsync(null); - } - - public void GetTechnique_EmergencyToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_EmergencyToSUBDelegate == null)) { - this.onBeginGetTechnique_EmergencyToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_EmergencyToSUB); - } - if ((this.onEndGetTechnique_EmergencyToSUBDelegate == null)) { - this.onEndGetTechnique_EmergencyToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_EmergencyToSUB); - } - if ((this.onGetTechnique_EmergencyToSUBCompletedDelegate == null)) { - this.onGetTechnique_EmergencyToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_EmergencyToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_EmergencyToSUBDelegate, null, this.onEndGetTechnique_EmergencyToSUBDelegate, this.onGetTechnique_EmergencyToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_EmergencyToSUBAsync() { + return base.Channel.GetTechnique_EmergencyToSUBAsync(); } public BLL.CNCECHSSEService.Technique_SpecialScheme[] GetTechnique_SpecialSchemeToSUB() { return base.Channel.GetTechnique_SpecialSchemeToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_SpecialSchemeToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_SpecialSchemeToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_SpecialScheme[] EndGetTechnique_SpecialSchemeToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_SpecialSchemeToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_SpecialSchemeToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_SpecialSchemeToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_SpecialSchemeToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_SpecialScheme[] retVal = this.EndGetTechnique_SpecialSchemeToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_SpecialSchemeToSUBCompleted(object state) { - if ((this.GetTechnique_SpecialSchemeToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_SpecialSchemeToSUBCompleted(this, new GetTechnique_SpecialSchemeToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_SpecialSchemeToSUBAsync() { - this.GetTechnique_SpecialSchemeToSUBAsync(null); - } - - public void GetTechnique_SpecialSchemeToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_SpecialSchemeToSUBDelegate == null)) { - this.onBeginGetTechnique_SpecialSchemeToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_SpecialSchemeToSUB); - } - if ((this.onEndGetTechnique_SpecialSchemeToSUBDelegate == null)) { - this.onEndGetTechnique_SpecialSchemeToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_SpecialSchemeToSUB); - } - if ((this.onGetTechnique_SpecialSchemeToSUBCompletedDelegate == null)) { - this.onGetTechnique_SpecialSchemeToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_SpecialSchemeToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_SpecialSchemeToSUBDelegate, null, this.onEndGetTechnique_SpecialSchemeToSUBDelegate, this.onGetTechnique_SpecialSchemeToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_SpecialSchemeToSUBAsync() { + return base.Channel.GetTechnique_SpecialSchemeToSUBAsync(); } public BLL.CNCECHSSEService.Training_Training[] GetTraining_TrainingListToSUB() { return base.Channel.GetTraining_TrainingListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_TrainingListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_TrainingListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_Training[] EndGetTraining_TrainingListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_TrainingListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_TrainingListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_TrainingListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_TrainingListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_Training[] retVal = this.EndGetTraining_TrainingListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_TrainingListToSUBCompleted(object state) { - if ((this.GetTraining_TrainingListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_TrainingListToSUBCompleted(this, new GetTraining_TrainingListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_TrainingListToSUBAsync() { - this.GetTraining_TrainingListToSUBAsync(null); - } - - public void GetTraining_TrainingListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_TrainingListToSUBDelegate == null)) { - this.onBeginGetTraining_TrainingListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_TrainingListToSUB); - } - if ((this.onEndGetTraining_TrainingListToSUBDelegate == null)) { - this.onEndGetTraining_TrainingListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_TrainingListToSUB); - } - if ((this.onGetTraining_TrainingListToSUBCompletedDelegate == null)) { - this.onGetTraining_TrainingListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_TrainingListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_TrainingListToSUBDelegate, null, this.onEndGetTraining_TrainingListToSUBDelegate, this.onGetTraining_TrainingListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_TrainingListToSUBAsync() { + return base.Channel.GetTraining_TrainingListToSUBAsync(); } public BLL.CNCECHSSEService.Training_TrainingItem[] GetTraining_TrainingItemListToSUB() { return base.Channel.GetTraining_TrainingItemListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_TrainingItemListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_TrainingItemListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_TrainingItem[] EndGetTraining_TrainingItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_TrainingItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_TrainingItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_TrainingItemListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_TrainingItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_TrainingItem[] retVal = this.EndGetTraining_TrainingItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_TrainingItemListToSUBCompleted(object state) { - if ((this.GetTraining_TrainingItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_TrainingItemListToSUBCompleted(this, new GetTraining_TrainingItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_TrainingItemListToSUBAsync() { - this.GetTraining_TrainingItemListToSUBAsync(null); - } - - public void GetTraining_TrainingItemListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_TrainingItemListToSUBDelegate == null)) { - this.onBeginGetTraining_TrainingItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_TrainingItemListToSUB); - } - if ((this.onEndGetTraining_TrainingItemListToSUBDelegate == null)) { - this.onEndGetTraining_TrainingItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_TrainingItemListToSUB); - } - if ((this.onGetTraining_TrainingItemListToSUBCompletedDelegate == null)) { - this.onGetTraining_TrainingItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_TrainingItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_TrainingItemListToSUBDelegate, null, this.onEndGetTraining_TrainingItemListToSUBDelegate, this.onGetTraining_TrainingItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_TrainingItemListToSUBAsync() { + return base.Channel.GetTraining_TrainingItemListToSUBAsync(); } public BLL.CNCECHSSEService.Training_TrainTestDB[] GetTraining_TrainTestDBListToSUB() { return base.Channel.GetTraining_TrainTestDBListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_TrainTestDBListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_TrainTestDBListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_TrainTestDB[] EndGetTraining_TrainTestDBListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_TrainTestDBListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_TrainTestDBListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_TrainTestDBListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_TrainTestDBListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_TrainTestDB[] retVal = this.EndGetTraining_TrainTestDBListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_TrainTestDBListToSUBCompleted(object state) { - if ((this.GetTraining_TrainTestDBListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_TrainTestDBListToSUBCompleted(this, new GetTraining_TrainTestDBListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_TrainTestDBListToSUBAsync() { - this.GetTraining_TrainTestDBListToSUBAsync(null); - } - - public void GetTraining_TrainTestDBListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_TrainTestDBListToSUBDelegate == null)) { - this.onBeginGetTraining_TrainTestDBListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_TrainTestDBListToSUB); - } - if ((this.onEndGetTraining_TrainTestDBListToSUBDelegate == null)) { - this.onEndGetTraining_TrainTestDBListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_TrainTestDBListToSUB); - } - if ((this.onGetTraining_TrainTestDBListToSUBCompletedDelegate == null)) { - this.onGetTraining_TrainTestDBListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_TrainTestDBListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_TrainTestDBListToSUBDelegate, null, this.onEndGetTraining_TrainTestDBListToSUBDelegate, this.onGetTraining_TrainTestDBListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_TrainTestDBListToSUBAsync() { + return base.Channel.GetTraining_TrainTestDBListToSUBAsync(); } public BLL.CNCECHSSEService.Training_TrainTestDBItem[] GetTraining_TrainTestDBItemListToSUB() { return base.Channel.GetTraining_TrainTestDBItemListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_TrainTestDBItemListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_TrainTestDBItemListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_TrainTestDBItem[] EndGetTraining_TrainTestDBItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_TrainTestDBItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_TrainTestDBItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_TrainTestDBItemListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_TrainTestDBItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_TrainTestDBItem[] retVal = this.EndGetTraining_TrainTestDBItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_TrainTestDBItemListToSUBCompleted(object state) { - if ((this.GetTraining_TrainTestDBItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_TrainTestDBItemListToSUBCompleted(this, new GetTraining_TrainTestDBItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_TrainTestDBItemListToSUBAsync() { - this.GetTraining_TrainTestDBItemListToSUBAsync(null); - } - - public void GetTraining_TrainTestDBItemListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_TrainTestDBItemListToSUBDelegate == null)) { - this.onBeginGetTraining_TrainTestDBItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_TrainTestDBItemListToSUB); - } - if ((this.onEndGetTraining_TrainTestDBItemListToSUBDelegate == null)) { - this.onEndGetTraining_TrainTestDBItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_TrainTestDBItemListToSUB); - } - if ((this.onGetTraining_TrainTestDBItemListToSUBCompletedDelegate == null)) { - this.onGetTraining_TrainTestDBItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_TrainTestDBItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_TrainTestDBItemListToSUBDelegate, null, this.onEndGetTraining_TrainTestDBItemListToSUBDelegate, this.onGetTraining_TrainTestDBItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_TrainTestDBItemListToSUBAsync() { + return base.Channel.GetTraining_TrainTestDBItemListToSUBAsync(); } public BLL.CNCECHSSEService.EduTrain_AccidentCase[] GetEduTrain_AccidentCaseListToSUB() { return base.Channel.GetEduTrain_AccidentCaseListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetEduTrain_AccidentCaseListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetEduTrain_AccidentCaseListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.EduTrain_AccidentCase[] EndGetEduTrain_AccidentCaseListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetEduTrain_AccidentCaseListToSUB(result); - } - - private System.IAsyncResult OnBeginGetEduTrain_AccidentCaseListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetEduTrain_AccidentCaseListToSUB(callback, asyncState); - } - - private object[] OnEndGetEduTrain_AccidentCaseListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.EduTrain_AccidentCase[] retVal = this.EndGetEduTrain_AccidentCaseListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetEduTrain_AccidentCaseListToSUBCompleted(object state) { - if ((this.GetEduTrain_AccidentCaseListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetEduTrain_AccidentCaseListToSUBCompleted(this, new GetEduTrain_AccidentCaseListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetEduTrain_AccidentCaseListToSUBAsync() { - this.GetEduTrain_AccidentCaseListToSUBAsync(null); - } - - public void GetEduTrain_AccidentCaseListToSUBAsync(object userState) { - if ((this.onBeginGetEduTrain_AccidentCaseListToSUBDelegate == null)) { - this.onBeginGetEduTrain_AccidentCaseListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetEduTrain_AccidentCaseListToSUB); - } - if ((this.onEndGetEduTrain_AccidentCaseListToSUBDelegate == null)) { - this.onEndGetEduTrain_AccidentCaseListToSUBDelegate = new EndOperationDelegate(this.OnEndGetEduTrain_AccidentCaseListToSUB); - } - if ((this.onGetEduTrain_AccidentCaseListToSUBCompletedDelegate == null)) { - this.onGetEduTrain_AccidentCaseListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEduTrain_AccidentCaseListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetEduTrain_AccidentCaseListToSUBDelegate, null, this.onEndGetEduTrain_AccidentCaseListToSUBDelegate, this.onGetEduTrain_AccidentCaseListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetEduTrain_AccidentCaseListToSUBAsync() { + return base.Channel.GetEduTrain_AccidentCaseListToSUBAsync(); } public BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] GetEduTrain_AccidentCaseItemListToSUB() { return base.Channel.GetEduTrain_AccidentCaseItemListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetEduTrain_AccidentCaseItemListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetEduTrain_AccidentCaseItemListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] EndGetEduTrain_AccidentCaseItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetEduTrain_AccidentCaseItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetEduTrain_AccidentCaseItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetEduTrain_AccidentCaseItemListToSUB(callback, asyncState); - } - - private object[] OnEndGetEduTrain_AccidentCaseItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] retVal = this.EndGetEduTrain_AccidentCaseItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetEduTrain_AccidentCaseItemListToSUBCompleted(object state) { - if ((this.GetEduTrain_AccidentCaseItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetEduTrain_AccidentCaseItemListToSUBCompleted(this, new GetEduTrain_AccidentCaseItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetEduTrain_AccidentCaseItemListToSUBAsync() { - this.GetEduTrain_AccidentCaseItemListToSUBAsync(null); - } - - public void GetEduTrain_AccidentCaseItemListToSUBAsync(object userState) { - if ((this.onBeginGetEduTrain_AccidentCaseItemListToSUBDelegate == null)) { - this.onBeginGetEduTrain_AccidentCaseItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetEduTrain_AccidentCaseItemListToSUB); - } - if ((this.onEndGetEduTrain_AccidentCaseItemListToSUBDelegate == null)) { - this.onEndGetEduTrain_AccidentCaseItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetEduTrain_AccidentCaseItemListToSUB); - } - if ((this.onGetEduTrain_AccidentCaseItemListToSUBCompletedDelegate == null)) { - this.onGetEduTrain_AccidentCaseItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEduTrain_AccidentCaseItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetEduTrain_AccidentCaseItemListToSUBDelegate, null, this.onEndGetEduTrain_AccidentCaseItemListToSUBDelegate, this.onGetEduTrain_AccidentCaseItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetEduTrain_AccidentCaseItemListToSUBAsync() { + return base.Channel.GetEduTrain_AccidentCaseItemListToSUBAsync(); } public BLL.CNCECHSSEService.Training_Knowledge[] GetTraining_KnowledgeListToSUB() { return base.Channel.GetTraining_KnowledgeListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_KnowledgeListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_KnowledgeListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_Knowledge[] EndGetTraining_KnowledgeListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_KnowledgeListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_KnowledgeListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_KnowledgeListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_KnowledgeListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_Knowledge[] retVal = this.EndGetTraining_KnowledgeListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_KnowledgeListToSUBCompleted(object state) { - if ((this.GetTraining_KnowledgeListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_KnowledgeListToSUBCompleted(this, new GetTraining_KnowledgeListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_KnowledgeListToSUBAsync() { - this.GetTraining_KnowledgeListToSUBAsync(null); - } - - public void GetTraining_KnowledgeListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_KnowledgeListToSUBDelegate == null)) { - this.onBeginGetTraining_KnowledgeListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_KnowledgeListToSUB); - } - if ((this.onEndGetTraining_KnowledgeListToSUBDelegate == null)) { - this.onEndGetTraining_KnowledgeListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_KnowledgeListToSUB); - } - if ((this.onGetTraining_KnowledgeListToSUBCompletedDelegate == null)) { - this.onGetTraining_KnowledgeListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_KnowledgeListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_KnowledgeListToSUBDelegate, null, this.onEndGetTraining_KnowledgeListToSUBDelegate, this.onGetTraining_KnowledgeListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_KnowledgeListToSUBAsync() { + return base.Channel.GetTraining_KnowledgeListToSUBAsync(); } public BLL.CNCECHSSEService.Training_KnowledgeItem[] GetTraining_KnowledgeItemListToSUB() { return base.Channel.GetTraining_KnowledgeItemListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTraining_KnowledgeItemListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTraining_KnowledgeItemListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Training_KnowledgeItem[] EndGetTraining_KnowledgeItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTraining_KnowledgeItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTraining_KnowledgeItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTraining_KnowledgeItemListToSUB(callback, asyncState); - } - - private object[] OnEndGetTraining_KnowledgeItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Training_KnowledgeItem[] retVal = this.EndGetTraining_KnowledgeItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTraining_KnowledgeItemListToSUBCompleted(object state) { - if ((this.GetTraining_KnowledgeItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTraining_KnowledgeItemListToSUBCompleted(this, new GetTraining_KnowledgeItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTraining_KnowledgeItemListToSUBAsync() { - this.GetTraining_KnowledgeItemListToSUBAsync(null); - } - - public void GetTraining_KnowledgeItemListToSUBAsync(object userState) { - if ((this.onBeginGetTraining_KnowledgeItemListToSUBDelegate == null)) { - this.onBeginGetTraining_KnowledgeItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTraining_KnowledgeItemListToSUB); - } - if ((this.onEndGetTraining_KnowledgeItemListToSUBDelegate == null)) { - this.onEndGetTraining_KnowledgeItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTraining_KnowledgeItemListToSUB); - } - if ((this.onGetTraining_KnowledgeItemListToSUBCompletedDelegate == null)) { - this.onGetTraining_KnowledgeItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTraining_KnowledgeItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTraining_KnowledgeItemListToSUBDelegate, null, this.onEndGetTraining_KnowledgeItemListToSUBDelegate, this.onGetTraining_KnowledgeItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTraining_KnowledgeItemListToSUBAsync() { + return base.Channel.GetTraining_KnowledgeItemListToSUBAsync(); } public BLL.CNCECHSSEService.Technique_HazardListType[] GetTechnique_HazardListTypeListToSUB() { return base.Channel.GetTechnique_HazardListTypeListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_HazardListTypeListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_HazardListTypeListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_HazardListType[] EndGetTechnique_HazardListTypeListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_HazardListTypeListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_HazardListTypeListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_HazardListTypeListToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_HazardListTypeListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_HazardListType[] retVal = this.EndGetTechnique_HazardListTypeListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_HazardListTypeListToSUBCompleted(object state) { - if ((this.GetTechnique_HazardListTypeListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_HazardListTypeListToSUBCompleted(this, new GetTechnique_HazardListTypeListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_HazardListTypeListToSUBAsync() { - this.GetTechnique_HazardListTypeListToSUBAsync(null); - } - - public void GetTechnique_HazardListTypeListToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_HazardListTypeListToSUBDelegate == null)) { - this.onBeginGetTechnique_HazardListTypeListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_HazardListTypeListToSUB); - } - if ((this.onEndGetTechnique_HazardListTypeListToSUBDelegate == null)) { - this.onEndGetTechnique_HazardListTypeListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_HazardListTypeListToSUB); - } - if ((this.onGetTechnique_HazardListTypeListToSUBCompletedDelegate == null)) { - this.onGetTechnique_HazardListTypeListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_HazardListTypeListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_HazardListTypeListToSUBDelegate, null, this.onEndGetTechnique_HazardListTypeListToSUBDelegate, this.onGetTechnique_HazardListTypeListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_HazardListTypeListToSUBAsync() { + return base.Channel.GetTechnique_HazardListTypeListToSUBAsync(); } public BLL.CNCECHSSEService.Technique_HazardList[] GetTechnique_HazardListListToSUB() { return base.Channel.GetTechnique_HazardListListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_HazardListListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_HazardListListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_HazardList[] EndGetTechnique_HazardListListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_HazardListListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_HazardListListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_HazardListListToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_HazardListListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_HazardList[] retVal = this.EndGetTechnique_HazardListListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_HazardListListToSUBCompleted(object state) { - if ((this.GetTechnique_HazardListListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_HazardListListToSUBCompleted(this, new GetTechnique_HazardListListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_HazardListListToSUBAsync() { - this.GetTechnique_HazardListListToSUBAsync(null); - } - - public void GetTechnique_HazardListListToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_HazardListListToSUBDelegate == null)) { - this.onBeginGetTechnique_HazardListListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_HazardListListToSUB); - } - if ((this.onEndGetTechnique_HazardListListToSUBDelegate == null)) { - this.onEndGetTechnique_HazardListListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_HazardListListToSUB); - } - if ((this.onGetTechnique_HazardListListToSUBCompletedDelegate == null)) { - this.onGetTechnique_HazardListListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_HazardListListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_HazardListListToSUBDelegate, null, this.onEndGetTechnique_HazardListListToSUBDelegate, this.onGetTechnique_HazardListListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_HazardListListToSUBAsync() { + return base.Channel.GetTechnique_HazardListListToSUBAsync(); } public BLL.CNCECHSSEService.Technique_Rectify[] GetTechnique_RectifyListToSUB() { return base.Channel.GetTechnique_RectifyListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_RectifyListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_RectifyListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_Rectify[] EndGetTechnique_RectifyListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_RectifyListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_RectifyListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_RectifyListToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_RectifyListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_Rectify[] retVal = this.EndGetTechnique_RectifyListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_RectifyListToSUBCompleted(object state) { - if ((this.GetTechnique_RectifyListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_RectifyListToSUBCompleted(this, new GetTechnique_RectifyListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_RectifyListToSUBAsync() { - this.GetTechnique_RectifyListToSUBAsync(null); - } - - public void GetTechnique_RectifyListToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_RectifyListToSUBDelegate == null)) { - this.onBeginGetTechnique_RectifyListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_RectifyListToSUB); - } - if ((this.onEndGetTechnique_RectifyListToSUBDelegate == null)) { - this.onEndGetTechnique_RectifyListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_RectifyListToSUB); - } - if ((this.onGetTechnique_RectifyListToSUBCompletedDelegate == null)) { - this.onGetTechnique_RectifyListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_RectifyListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_RectifyListToSUBDelegate, null, this.onEndGetTechnique_RectifyListToSUBDelegate, this.onGetTechnique_RectifyListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_RectifyListToSUBAsync() { + return base.Channel.GetTechnique_RectifyListToSUBAsync(); } public BLL.CNCECHSSEService.Technique_RectifyItem[] GetTechnique_RectifyItemListToSUB() { return base.Channel.GetTechnique_RectifyItemListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_RectifyItemListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_RectifyItemListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_RectifyItem[] EndGetTechnique_RectifyItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_RectifyItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_RectifyItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_RectifyItemListToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_RectifyItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_RectifyItem[] retVal = this.EndGetTechnique_RectifyItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_RectifyItemListToSUBCompleted(object state) { - if ((this.GetTechnique_RectifyItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_RectifyItemListToSUBCompleted(this, new GetTechnique_RectifyItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_RectifyItemListToSUBAsync() { - this.GetTechnique_RectifyItemListToSUBAsync(null); - } - - public void GetTechnique_RectifyItemListToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_RectifyItemListToSUBDelegate == null)) { - this.onBeginGetTechnique_RectifyItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_RectifyItemListToSUB); - } - if ((this.onEndGetTechnique_RectifyItemListToSUBDelegate == null)) { - this.onEndGetTechnique_RectifyItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_RectifyItemListToSUB); - } - if ((this.onGetTechnique_RectifyItemListToSUBCompletedDelegate == null)) { - this.onGetTechnique_RectifyItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_RectifyItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_RectifyItemListToSUBDelegate, null, this.onEndGetTechnique_RectifyItemListToSUBDelegate, this.onGetTechnique_RectifyItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_RectifyItemListToSUBAsync() { + return base.Channel.GetTechnique_RectifyItemListToSUBAsync(); } public BLL.CNCECHSSEService.Technique_Expert[] GetTechnique_ExpertListToSUB() { return base.Channel.GetTechnique_ExpertListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetTechnique_ExpertListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetTechnique_ExpertListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Technique_Expert[] EndGetTechnique_ExpertListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetTechnique_ExpertListToSUB(result); - } - - private System.IAsyncResult OnBeginGetTechnique_ExpertListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetTechnique_ExpertListToSUB(callback, asyncState); - } - - private object[] OnEndGetTechnique_ExpertListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Technique_Expert[] retVal = this.EndGetTechnique_ExpertListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetTechnique_ExpertListToSUBCompleted(object state) { - if ((this.GetTechnique_ExpertListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetTechnique_ExpertListToSUBCompleted(this, new GetTechnique_ExpertListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetTechnique_ExpertListToSUBAsync() { - this.GetTechnique_ExpertListToSUBAsync(null); - } - - public void GetTechnique_ExpertListToSUBAsync(object userState) { - if ((this.onBeginGetTechnique_ExpertListToSUBDelegate == null)) { - this.onBeginGetTechnique_ExpertListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetTechnique_ExpertListToSUB); - } - if ((this.onEndGetTechnique_ExpertListToSUBDelegate == null)) { - this.onEndGetTechnique_ExpertListToSUBDelegate = new EndOperationDelegate(this.OnEndGetTechnique_ExpertListToSUB); - } - if ((this.onGetTechnique_ExpertListToSUBCompletedDelegate == null)) { - this.onGetTechnique_ExpertListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTechnique_ExpertListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetTechnique_ExpertListToSUBDelegate, null, this.onEndGetTechnique_ExpertListToSUBDelegate, this.onGetTechnique_ExpertListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetTechnique_ExpertListToSUBAsync() { + return base.Channel.GetTechnique_ExpertListToSUBAsync(); } public BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] GetSupervise_SuperviseCheckRectifyListToSUB(string unitId) { return base.Channel.GetSupervise_SuperviseCheckRectifyListToSUB(unitId); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetSupervise_SuperviseCheckRectifyListToSUB(string unitId, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetSupervise_SuperviseCheckRectifyListToSUB(unitId, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] EndGetSupervise_SuperviseCheckRectifyListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetSupervise_SuperviseCheckRectifyListToSUB(result); - } - - private System.IAsyncResult OnBeginGetSupervise_SuperviseCheckRectifyListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - string unitId = ((string)(inValues[0])); - return this.BeginGetSupervise_SuperviseCheckRectifyListToSUB(unitId, callback, asyncState); - } - - private object[] OnEndGetSupervise_SuperviseCheckRectifyListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] retVal = this.EndGetSupervise_SuperviseCheckRectifyListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetSupervise_SuperviseCheckRectifyListToSUBCompleted(object state) { - if ((this.GetSupervise_SuperviseCheckRectifyListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetSupervise_SuperviseCheckRectifyListToSUBCompleted(this, new GetSupervise_SuperviseCheckRectifyListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetSupervise_SuperviseCheckRectifyListToSUBAsync(string unitId) { - this.GetSupervise_SuperviseCheckRectifyListToSUBAsync(unitId, null); - } - - public void GetSupervise_SuperviseCheckRectifyListToSUBAsync(string unitId, object userState) { - if ((this.onBeginGetSupervise_SuperviseCheckRectifyListToSUBDelegate == null)) { - this.onBeginGetSupervise_SuperviseCheckRectifyListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetSupervise_SuperviseCheckRectifyListToSUB); - } - if ((this.onEndGetSupervise_SuperviseCheckRectifyListToSUBDelegate == null)) { - this.onEndGetSupervise_SuperviseCheckRectifyListToSUBDelegate = new EndOperationDelegate(this.OnEndGetSupervise_SuperviseCheckRectifyListToSUB); - } - if ((this.onGetSupervise_SuperviseCheckRectifyListToSUBCompletedDelegate == null)) { - this.onGetSupervise_SuperviseCheckRectifyListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSupervise_SuperviseCheckRectifyListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetSupervise_SuperviseCheckRectifyListToSUBDelegate, new object[] { - unitId}, this.onEndGetSupervise_SuperviseCheckRectifyListToSUBDelegate, this.onGetSupervise_SuperviseCheckRectifyListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetSupervise_SuperviseCheckRectifyListToSUBAsync(string unitId) { + return base.Channel.GetSupervise_SuperviseCheckRectifyListToSUBAsync(unitId); } public BLL.CNCECHSSEService.Supervise_SubUnitReport[] GetSupervise_SubUnitReportListToSUB() { return base.Channel.GetSupervise_SubUnitReportListToSUB(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetSupervise_SubUnitReportListToSUB(System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetSupervise_SubUnitReportListToSUB(callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Supervise_SubUnitReport[] EndGetSupervise_SubUnitReportListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetSupervise_SubUnitReportListToSUB(result); - } - - private System.IAsyncResult OnBeginGetSupervise_SubUnitReportListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - return this.BeginGetSupervise_SubUnitReportListToSUB(callback, asyncState); - } - - private object[] OnEndGetSupervise_SubUnitReportListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Supervise_SubUnitReport[] retVal = this.EndGetSupervise_SubUnitReportListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetSupervise_SubUnitReportListToSUBCompleted(object state) { - if ((this.GetSupervise_SubUnitReportListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetSupervise_SubUnitReportListToSUBCompleted(this, new GetSupervise_SubUnitReportListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetSupervise_SubUnitReportListToSUBAsync() { - this.GetSupervise_SubUnitReportListToSUBAsync(null); - } - - public void GetSupervise_SubUnitReportListToSUBAsync(object userState) { - if ((this.onBeginGetSupervise_SubUnitReportListToSUBDelegate == null)) { - this.onBeginGetSupervise_SubUnitReportListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetSupervise_SubUnitReportListToSUB); - } - if ((this.onEndGetSupervise_SubUnitReportListToSUBDelegate == null)) { - this.onEndGetSupervise_SubUnitReportListToSUBDelegate = new EndOperationDelegate(this.OnEndGetSupervise_SubUnitReportListToSUB); - } - if ((this.onGetSupervise_SubUnitReportListToSUBCompletedDelegate == null)) { - this.onGetSupervise_SubUnitReportListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSupervise_SubUnitReportListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetSupervise_SubUnitReportListToSUBDelegate, null, this.onEndGetSupervise_SubUnitReportListToSUBDelegate, this.onGetSupervise_SubUnitReportListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetSupervise_SubUnitReportListToSUBAsync() { + return base.Channel.GetSupervise_SubUnitReportListToSUBAsync(); } public BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] GetSupervise_SubUnitReportItemListToSUB(string unitId) { return base.Channel.GetSupervise_SubUnitReportItemListToSUB(unitId); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetSupervise_SubUnitReportItemListToSUB(string unitId, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetSupervise_SubUnitReportItemListToSUB(unitId, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] EndGetSupervise_SubUnitReportItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetSupervise_SubUnitReportItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetSupervise_SubUnitReportItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - string unitId = ((string)(inValues[0])); - return this.BeginGetSupervise_SubUnitReportItemListToSUB(unitId, callback, asyncState); - } - - private object[] OnEndGetSupervise_SubUnitReportItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] retVal = this.EndGetSupervise_SubUnitReportItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetSupervise_SubUnitReportItemListToSUBCompleted(object state) { - if ((this.GetSupervise_SubUnitReportItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetSupervise_SubUnitReportItemListToSUBCompleted(this, new GetSupervise_SubUnitReportItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetSupervise_SubUnitReportItemListToSUBAsync(string unitId) { - this.GetSupervise_SubUnitReportItemListToSUBAsync(unitId, null); - } - - public void GetSupervise_SubUnitReportItemListToSUBAsync(string unitId, object userState) { - if ((this.onBeginGetSupervise_SubUnitReportItemListToSUBDelegate == null)) { - this.onBeginGetSupervise_SubUnitReportItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetSupervise_SubUnitReportItemListToSUB); - } - if ((this.onEndGetSupervise_SubUnitReportItemListToSUBDelegate == null)) { - this.onEndGetSupervise_SubUnitReportItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetSupervise_SubUnitReportItemListToSUB); - } - if ((this.onGetSupervise_SubUnitReportItemListToSUBCompletedDelegate == null)) { - this.onGetSupervise_SubUnitReportItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSupervise_SubUnitReportItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetSupervise_SubUnitReportItemListToSUBDelegate, new object[] { - unitId}, this.onEndGetSupervise_SubUnitReportItemListToSUBDelegate, this.onGetSupervise_SubUnitReportItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetSupervise_SubUnitReportItemListToSUBAsync(string unitId) { + return base.Channel.GetSupervise_SubUnitReportItemListToSUBAsync(unitId); } public BLL.CNCECHSSEService.Check_CheckRectify[] GetCheck_CheckRectifyListToSUB(string unitId) { return base.Channel.GetCheck_CheckRectifyListToSUB(unitId); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetCheck_CheckRectifyListToSUB(string unitId, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetCheck_CheckRectifyListToSUB(unitId, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Check_CheckRectify[] EndGetCheck_CheckRectifyListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetCheck_CheckRectifyListToSUB(result); - } - - private System.IAsyncResult OnBeginGetCheck_CheckRectifyListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - string unitId = ((string)(inValues[0])); - return this.BeginGetCheck_CheckRectifyListToSUB(unitId, callback, asyncState); - } - - private object[] OnEndGetCheck_CheckRectifyListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Check_CheckRectify[] retVal = this.EndGetCheck_CheckRectifyListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetCheck_CheckRectifyListToSUBCompleted(object state) { - if ((this.GetCheck_CheckRectifyListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetCheck_CheckRectifyListToSUBCompleted(this, new GetCheck_CheckRectifyListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetCheck_CheckRectifyListToSUBAsync(string unitId) { - this.GetCheck_CheckRectifyListToSUBAsync(unitId, null); - } - - public void GetCheck_CheckRectifyListToSUBAsync(string unitId, object userState) { - if ((this.onBeginGetCheck_CheckRectifyListToSUBDelegate == null)) { - this.onBeginGetCheck_CheckRectifyListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetCheck_CheckRectifyListToSUB); - } - if ((this.onEndGetCheck_CheckRectifyListToSUBDelegate == null)) { - this.onEndGetCheck_CheckRectifyListToSUBDelegate = new EndOperationDelegate(this.OnEndGetCheck_CheckRectifyListToSUB); - } - if ((this.onGetCheck_CheckRectifyListToSUBCompletedDelegate == null)) { - this.onGetCheck_CheckRectifyListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCheck_CheckRectifyListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetCheck_CheckRectifyListToSUBDelegate, new object[] { - unitId}, this.onEndGetCheck_CheckRectifyListToSUBDelegate, this.onGetCheck_CheckRectifyListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetCheck_CheckRectifyListToSUBAsync(string unitId) { + return base.Channel.GetCheck_CheckRectifyListToSUBAsync(unitId); } public BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] GetCheck_CheckInfo_Table8ItemListToSUB(string unitId) { return base.Channel.GetCheck_CheckInfo_Table8ItemListToSUB(unitId); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginGetCheck_CheckInfo_Table8ItemListToSUB(string unitId, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginGetCheck_CheckInfo_Table8ItemListToSUB(unitId, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] EndGetCheck_CheckInfo_Table8ItemListToSUB(System.IAsyncResult result) { - return base.Channel.EndGetCheck_CheckInfo_Table8ItemListToSUB(result); - } - - private System.IAsyncResult OnBeginGetCheck_CheckInfo_Table8ItemListToSUB(object[] inValues, System.AsyncCallback callback, object asyncState) { - string unitId = ((string)(inValues[0])); - return this.BeginGetCheck_CheckInfo_Table8ItemListToSUB(unitId, callback, asyncState); - } - - private object[] OnEndGetCheck_CheckInfo_Table8ItemListToSUB(System.IAsyncResult result) { - BLL.CNCECHSSEService.Check_CheckInfo_Table8Item[] retVal = this.EndGetCheck_CheckInfo_Table8ItemListToSUB(result); - return new object[] { - retVal}; - } - - private void OnGetCheck_CheckInfo_Table8ItemListToSUBCompleted(object state) { - if ((this.GetCheck_CheckInfo_Table8ItemListToSUBCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.GetCheck_CheckInfo_Table8ItemListToSUBCompleted(this, new GetCheck_CheckInfo_Table8ItemListToSUBCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void GetCheck_CheckInfo_Table8ItemListToSUBAsync(string unitId) { - this.GetCheck_CheckInfo_Table8ItemListToSUBAsync(unitId, null); - } - - public void GetCheck_CheckInfo_Table8ItemListToSUBAsync(string unitId, object userState) { - if ((this.onBeginGetCheck_CheckInfo_Table8ItemListToSUBDelegate == null)) { - this.onBeginGetCheck_CheckInfo_Table8ItemListToSUBDelegate = new BeginOperationDelegate(this.OnBeginGetCheck_CheckInfo_Table8ItemListToSUB); - } - if ((this.onEndGetCheck_CheckInfo_Table8ItemListToSUBDelegate == null)) { - this.onEndGetCheck_CheckInfo_Table8ItemListToSUBDelegate = new EndOperationDelegate(this.OnEndGetCheck_CheckInfo_Table8ItemListToSUB); - } - if ((this.onGetCheck_CheckInfo_Table8ItemListToSUBCompletedDelegate == null)) { - this.onGetCheck_CheckInfo_Table8ItemListToSUBCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCheck_CheckInfo_Table8ItemListToSUBCompleted); - } - base.InvokeAsync(this.onBeginGetCheck_CheckInfo_Table8ItemListToSUBDelegate, new object[] { - unitId}, this.onEndGetCheck_CheckInfo_Table8ItemListToSUBDelegate, this.onGetCheck_CheckInfo_Table8ItemListToSUBCompletedDelegate, userState); + public System.Threading.Tasks.Task GetCheck_CheckInfo_Table8ItemListToSUBAsync(string unitId) { + return base.Channel.GetCheck_CheckInfo_Table8ItemListToSUBAsync(unitId); } public string[] DataInsertLaw_LawRegulationListTable(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList) { return base.Channel.DataInsertLaw_LawRegulationListTable(lawRegulationList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertLaw_LawRegulationListTable(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertLaw_LawRegulationListTable(lawRegulationList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertLaw_LawRegulationListTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertLaw_LawRegulationListTable(result); - } - - private System.IAsyncResult OnBeginDataInsertLaw_LawRegulationListTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList = ((BLL.CNCECHSSEService.Law_LawRegulationList[])(inValues[0])); - return this.BeginDataInsertLaw_LawRegulationListTable(lawRegulationList, callback, asyncState); - } - - private object[] OnEndDataInsertLaw_LawRegulationListTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertLaw_LawRegulationListTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertLaw_LawRegulationListTableCompleted(object state) { - if ((this.DataInsertLaw_LawRegulationListTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertLaw_LawRegulationListTableCompleted(this, new DataInsertLaw_LawRegulationListTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertLaw_LawRegulationListTableAsync(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList) { - this.DataInsertLaw_LawRegulationListTableAsync(lawRegulationList, null); - } - - public void DataInsertLaw_LawRegulationListTableAsync(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList, object userState) { - if ((this.onBeginDataInsertLaw_LawRegulationListTableDelegate == null)) { - this.onBeginDataInsertLaw_LawRegulationListTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertLaw_LawRegulationListTable); - } - if ((this.onEndDataInsertLaw_LawRegulationListTableDelegate == null)) { - this.onEndDataInsertLaw_LawRegulationListTableDelegate = new EndOperationDelegate(this.OnEndDataInsertLaw_LawRegulationListTable); - } - if ((this.onDataInsertLaw_LawRegulationListTableCompletedDelegate == null)) { - this.onDataInsertLaw_LawRegulationListTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertLaw_LawRegulationListTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertLaw_LawRegulationListTableDelegate, new object[] { - lawRegulationList}, this.onEndDataInsertLaw_LawRegulationListTableDelegate, this.onDataInsertLaw_LawRegulationListTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertLaw_LawRegulationListTableAsync(BLL.CNCECHSSEService.Law_LawRegulationList[] lawRegulationList) { + return base.Channel.DataInsertLaw_LawRegulationListTableAsync(lawRegulationList); } public string[] DataInsertLaw_HSSEStandardsListTable(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList) { return base.Channel.DataInsertLaw_HSSEStandardsListTable(hsseStandardsList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertLaw_HSSEStandardsListTable(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertLaw_HSSEStandardsListTable(hsseStandardsList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertLaw_HSSEStandardsListTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertLaw_HSSEStandardsListTable(result); - } - - private System.IAsyncResult OnBeginDataInsertLaw_HSSEStandardsListTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList = ((BLL.CNCECHSSEService.Law_HSSEStandardsList[])(inValues[0])); - return this.BeginDataInsertLaw_HSSEStandardsListTable(hsseStandardsList, callback, asyncState); - } - - private object[] OnEndDataInsertLaw_HSSEStandardsListTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertLaw_HSSEStandardsListTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertLaw_HSSEStandardsListTableCompleted(object state) { - if ((this.DataInsertLaw_HSSEStandardsListTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertLaw_HSSEStandardsListTableCompleted(this, new DataInsertLaw_HSSEStandardsListTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertLaw_HSSEStandardsListTableAsync(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList) { - this.DataInsertLaw_HSSEStandardsListTableAsync(hsseStandardsList, null); - } - - public void DataInsertLaw_HSSEStandardsListTableAsync(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList, object userState) { - if ((this.onBeginDataInsertLaw_HSSEStandardsListTableDelegate == null)) { - this.onBeginDataInsertLaw_HSSEStandardsListTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertLaw_HSSEStandardsListTable); - } - if ((this.onEndDataInsertLaw_HSSEStandardsListTableDelegate == null)) { - this.onEndDataInsertLaw_HSSEStandardsListTableDelegate = new EndOperationDelegate(this.OnEndDataInsertLaw_HSSEStandardsListTable); - } - if ((this.onDataInsertLaw_HSSEStandardsListTableCompletedDelegate == null)) { - this.onDataInsertLaw_HSSEStandardsListTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertLaw_HSSEStandardsListTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertLaw_HSSEStandardsListTableDelegate, new object[] { - hsseStandardsList}, this.onEndDataInsertLaw_HSSEStandardsListTableDelegate, this.onDataInsertLaw_HSSEStandardsListTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertLaw_HSSEStandardsListTableAsync(BLL.CNCECHSSEService.Law_HSSEStandardsList[] hsseStandardsList) { + return base.Channel.DataInsertLaw_HSSEStandardsListTableAsync(hsseStandardsList); } public string[] DataInsertLaw_RulesRegulationsTable(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations) { return base.Channel.DataInsertLaw_RulesRegulationsTable(rulesRegulations); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertLaw_RulesRegulationsTable(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertLaw_RulesRegulationsTable(rulesRegulations, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertLaw_RulesRegulationsTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertLaw_RulesRegulationsTable(result); - } - - private System.IAsyncResult OnBeginDataInsertLaw_RulesRegulationsTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations = ((BLL.CNCECHSSEService.Law_RulesRegulations[])(inValues[0])); - return this.BeginDataInsertLaw_RulesRegulationsTable(rulesRegulations, callback, asyncState); - } - - private object[] OnEndDataInsertLaw_RulesRegulationsTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertLaw_RulesRegulationsTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertLaw_RulesRegulationsTableCompleted(object state) { - if ((this.DataInsertLaw_RulesRegulationsTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertLaw_RulesRegulationsTableCompleted(this, new DataInsertLaw_RulesRegulationsTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertLaw_RulesRegulationsTableAsync(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations) { - this.DataInsertLaw_RulesRegulationsTableAsync(rulesRegulations, null); - } - - public void DataInsertLaw_RulesRegulationsTableAsync(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations, object userState) { - if ((this.onBeginDataInsertLaw_RulesRegulationsTableDelegate == null)) { - this.onBeginDataInsertLaw_RulesRegulationsTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertLaw_RulesRegulationsTable); - } - if ((this.onEndDataInsertLaw_RulesRegulationsTableDelegate == null)) { - this.onEndDataInsertLaw_RulesRegulationsTableDelegate = new EndOperationDelegate(this.OnEndDataInsertLaw_RulesRegulationsTable); - } - if ((this.onDataInsertLaw_RulesRegulationsTableCompletedDelegate == null)) { - this.onDataInsertLaw_RulesRegulationsTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertLaw_RulesRegulationsTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertLaw_RulesRegulationsTableDelegate, new object[] { - rulesRegulations}, this.onEndDataInsertLaw_RulesRegulationsTableDelegate, this.onDataInsertLaw_RulesRegulationsTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertLaw_RulesRegulationsTableAsync(BLL.CNCECHSSEService.Law_RulesRegulations[] rulesRegulations) { + return base.Channel.DataInsertLaw_RulesRegulationsTableAsync(rulesRegulations); } public string[] DataInsertLaw_ManageRuleTable(BLL.CNCECHSSEService.Law_ManageRule[] manageRule) { return base.Channel.DataInsertLaw_ManageRuleTable(manageRule); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertLaw_ManageRuleTable(BLL.CNCECHSSEService.Law_ManageRule[] manageRule, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertLaw_ManageRuleTable(manageRule, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertLaw_ManageRuleTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertLaw_ManageRuleTable(result); - } - - private System.IAsyncResult OnBeginDataInsertLaw_ManageRuleTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Law_ManageRule[] manageRule = ((BLL.CNCECHSSEService.Law_ManageRule[])(inValues[0])); - return this.BeginDataInsertLaw_ManageRuleTable(manageRule, callback, asyncState); - } - - private object[] OnEndDataInsertLaw_ManageRuleTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertLaw_ManageRuleTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertLaw_ManageRuleTableCompleted(object state) { - if ((this.DataInsertLaw_ManageRuleTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertLaw_ManageRuleTableCompleted(this, new DataInsertLaw_ManageRuleTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertLaw_ManageRuleTableAsync(BLL.CNCECHSSEService.Law_ManageRule[] manageRule) { - this.DataInsertLaw_ManageRuleTableAsync(manageRule, null); - } - - public void DataInsertLaw_ManageRuleTableAsync(BLL.CNCECHSSEService.Law_ManageRule[] manageRule, object userState) { - if ((this.onBeginDataInsertLaw_ManageRuleTableDelegate == null)) { - this.onBeginDataInsertLaw_ManageRuleTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertLaw_ManageRuleTable); - } - if ((this.onEndDataInsertLaw_ManageRuleTableDelegate == null)) { - this.onEndDataInsertLaw_ManageRuleTableDelegate = new EndOperationDelegate(this.OnEndDataInsertLaw_ManageRuleTable); - } - if ((this.onDataInsertLaw_ManageRuleTableCompletedDelegate == null)) { - this.onDataInsertLaw_ManageRuleTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertLaw_ManageRuleTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertLaw_ManageRuleTableDelegate, new object[] { - manageRule}, this.onEndDataInsertLaw_ManageRuleTableDelegate, this.onDataInsertLaw_ManageRuleTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertLaw_ManageRuleTableAsync(BLL.CNCECHSSEService.Law_ManageRule[] manageRule) { + return base.Channel.DataInsertLaw_ManageRuleTableAsync(manageRule); } public string[] DataInsertTechnique_HAZOPTable(BLL.CNCECHSSEService.Technique_HAZOP[] hazop) { return base.Channel.DataInsertTechnique_HAZOPTable(hazop); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_HAZOPTable(BLL.CNCECHSSEService.Technique_HAZOP[] hazop, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_HAZOPTable(hazop, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_HAZOPTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_HAZOPTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_HAZOPTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_HAZOP[] hazop = ((BLL.CNCECHSSEService.Technique_HAZOP[])(inValues[0])); - return this.BeginDataInsertTechnique_HAZOPTable(hazop, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_HAZOPTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_HAZOPTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_HAZOPTableCompleted(object state) { - if ((this.DataInsertTechnique_HAZOPTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_HAZOPTableCompleted(this, new DataInsertTechnique_HAZOPTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_HAZOPTableAsync(BLL.CNCECHSSEService.Technique_HAZOP[] hazop) { - this.DataInsertTechnique_HAZOPTableAsync(hazop, null); - } - - public void DataInsertTechnique_HAZOPTableAsync(BLL.CNCECHSSEService.Technique_HAZOP[] hazop, object userState) { - if ((this.onBeginDataInsertTechnique_HAZOPTableDelegate == null)) { - this.onBeginDataInsertTechnique_HAZOPTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_HAZOPTable); - } - if ((this.onEndDataInsertTechnique_HAZOPTableDelegate == null)) { - this.onEndDataInsertTechnique_HAZOPTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_HAZOPTable); - } - if ((this.onDataInsertTechnique_HAZOPTableCompletedDelegate == null)) { - this.onDataInsertTechnique_HAZOPTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_HAZOPTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_HAZOPTableDelegate, new object[] { - hazop}, this.onEndDataInsertTechnique_HAZOPTableDelegate, this.onDataInsertTechnique_HAZOPTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_HAZOPTableAsync(BLL.CNCECHSSEService.Technique_HAZOP[] hazop) { + return base.Channel.DataInsertTechnique_HAZOPTableAsync(hazop); } public string[] DataInsertTechnique_AppraiseTable(BLL.CNCECHSSEService.Technique_Appraise[] appraise) { return base.Channel.DataInsertTechnique_AppraiseTable(appraise); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_AppraiseTable(BLL.CNCECHSSEService.Technique_Appraise[] appraise, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_AppraiseTable(appraise, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_AppraiseTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_AppraiseTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_AppraiseTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_Appraise[] appraise = ((BLL.CNCECHSSEService.Technique_Appraise[])(inValues[0])); - return this.BeginDataInsertTechnique_AppraiseTable(appraise, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_AppraiseTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_AppraiseTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_AppraiseTableCompleted(object state) { - if ((this.DataInsertTechnique_AppraiseTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_AppraiseTableCompleted(this, new DataInsertTechnique_AppraiseTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_AppraiseTableAsync(BLL.CNCECHSSEService.Technique_Appraise[] appraise) { - this.DataInsertTechnique_AppraiseTableAsync(appraise, null); - } - - public void DataInsertTechnique_AppraiseTableAsync(BLL.CNCECHSSEService.Technique_Appraise[] appraise, object userState) { - if ((this.onBeginDataInsertTechnique_AppraiseTableDelegate == null)) { - this.onBeginDataInsertTechnique_AppraiseTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_AppraiseTable); - } - if ((this.onEndDataInsertTechnique_AppraiseTableDelegate == null)) { - this.onEndDataInsertTechnique_AppraiseTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_AppraiseTable); - } - if ((this.onDataInsertTechnique_AppraiseTableCompletedDelegate == null)) { - this.onDataInsertTechnique_AppraiseTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_AppraiseTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_AppraiseTableDelegate, new object[] { - appraise}, this.onEndDataInsertTechnique_AppraiseTableDelegate, this.onDataInsertTechnique_AppraiseTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_AppraiseTableAsync(BLL.CNCECHSSEService.Technique_Appraise[] appraise) { + return base.Channel.DataInsertTechnique_AppraiseTableAsync(appraise); } public string[] DataInsertTechnique_EmergencyTable(BLL.CNCECHSSEService.Technique_Emergency[] emergency) { return base.Channel.DataInsertTechnique_EmergencyTable(emergency); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_EmergencyTable(BLL.CNCECHSSEService.Technique_Emergency[] emergency, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_EmergencyTable(emergency, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_EmergencyTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_EmergencyTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_EmergencyTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_Emergency[] emergency = ((BLL.CNCECHSSEService.Technique_Emergency[])(inValues[0])); - return this.BeginDataInsertTechnique_EmergencyTable(emergency, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_EmergencyTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_EmergencyTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_EmergencyTableCompleted(object state) { - if ((this.DataInsertTechnique_EmergencyTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_EmergencyTableCompleted(this, new DataInsertTechnique_EmergencyTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_EmergencyTableAsync(BLL.CNCECHSSEService.Technique_Emergency[] emergency) { - this.DataInsertTechnique_EmergencyTableAsync(emergency, null); - } - - public void DataInsertTechnique_EmergencyTableAsync(BLL.CNCECHSSEService.Technique_Emergency[] emergency, object userState) { - if ((this.onBeginDataInsertTechnique_EmergencyTableDelegate == null)) { - this.onBeginDataInsertTechnique_EmergencyTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_EmergencyTable); - } - if ((this.onEndDataInsertTechnique_EmergencyTableDelegate == null)) { - this.onEndDataInsertTechnique_EmergencyTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_EmergencyTable); - } - if ((this.onDataInsertTechnique_EmergencyTableCompletedDelegate == null)) { - this.onDataInsertTechnique_EmergencyTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_EmergencyTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_EmergencyTableDelegate, new object[] { - emergency}, this.onEndDataInsertTechnique_EmergencyTableDelegate, this.onDataInsertTechnique_EmergencyTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_EmergencyTableAsync(BLL.CNCECHSSEService.Technique_Emergency[] emergency) { + return base.Channel.DataInsertTechnique_EmergencyTableAsync(emergency); } public string[] DataInsertTechnique_SpecialSchemeTable(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme) { return base.Channel.DataInsertTechnique_SpecialSchemeTable(specialScheme); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_SpecialSchemeTable(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_SpecialSchemeTable(specialScheme, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_SpecialSchemeTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_SpecialSchemeTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_SpecialSchemeTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme = ((BLL.CNCECHSSEService.Technique_SpecialScheme[])(inValues[0])); - return this.BeginDataInsertTechnique_SpecialSchemeTable(specialScheme, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_SpecialSchemeTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_SpecialSchemeTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_SpecialSchemeTableCompleted(object state) { - if ((this.DataInsertTechnique_SpecialSchemeTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_SpecialSchemeTableCompleted(this, new DataInsertTechnique_SpecialSchemeTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_SpecialSchemeTableAsync(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme) { - this.DataInsertTechnique_SpecialSchemeTableAsync(specialScheme, null); - } - - public void DataInsertTechnique_SpecialSchemeTableAsync(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme, object userState) { - if ((this.onBeginDataInsertTechnique_SpecialSchemeTableDelegate == null)) { - this.onBeginDataInsertTechnique_SpecialSchemeTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_SpecialSchemeTable); - } - if ((this.onEndDataInsertTechnique_SpecialSchemeTableDelegate == null)) { - this.onEndDataInsertTechnique_SpecialSchemeTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_SpecialSchemeTable); - } - if ((this.onDataInsertTechnique_SpecialSchemeTableCompletedDelegate == null)) { - this.onDataInsertTechnique_SpecialSchemeTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_SpecialSchemeTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_SpecialSchemeTableDelegate, new object[] { - specialScheme}, this.onEndDataInsertTechnique_SpecialSchemeTableDelegate, this.onDataInsertTechnique_SpecialSchemeTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_SpecialSchemeTableAsync(BLL.CNCECHSSEService.Technique_SpecialScheme[] specialScheme) { + return base.Channel.DataInsertTechnique_SpecialSchemeTableAsync(specialScheme); } public string[] DataInsertInformation_AccidentCauseReportTable(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList) { return base.Channel.DataInsertInformation_AccidentCauseReportTable(accidentCauseReportList, accidentCauseReportItemList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertInformation_AccidentCauseReportTable(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertInformation_AccidentCauseReportTable(accidentCauseReportList, accidentCauseReportItemList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertInformation_AccidentCauseReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertInformation_AccidentCauseReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertInformation_AccidentCauseReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList = ((BLL.CNCECHSSEService.Information_AccidentCauseReport[])(inValues[0])); - BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList = ((BLL.CNCECHSSEService.Information_AccidentCauseReportItem[])(inValues[1])); - return this.BeginDataInsertInformation_AccidentCauseReportTable(accidentCauseReportList, accidentCauseReportItemList, callback, asyncState); - } - - private object[] OnEndDataInsertInformation_AccidentCauseReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertInformation_AccidentCauseReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertInformation_AccidentCauseReportTableCompleted(object state) { - if ((this.DataInsertInformation_AccidentCauseReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertInformation_AccidentCauseReportTableCompleted(this, new DataInsertInformation_AccidentCauseReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertInformation_AccidentCauseReportTableAsync(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList) { - this.DataInsertInformation_AccidentCauseReportTableAsync(accidentCauseReportList, accidentCauseReportItemList, null); - } - - public void DataInsertInformation_AccidentCauseReportTableAsync(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList, object userState) { - if ((this.onBeginDataInsertInformation_AccidentCauseReportTableDelegate == null)) { - this.onBeginDataInsertInformation_AccidentCauseReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertInformation_AccidentCauseReportTable); - } - if ((this.onEndDataInsertInformation_AccidentCauseReportTableDelegate == null)) { - this.onEndDataInsertInformation_AccidentCauseReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertInformation_AccidentCauseReportTable); - } - if ((this.onDataInsertInformation_AccidentCauseReportTableCompletedDelegate == null)) { - this.onDataInsertInformation_AccidentCauseReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertInformation_AccidentCauseReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertInformation_AccidentCauseReportTableDelegate, new object[] { - accidentCauseReportList, - accidentCauseReportItemList}, this.onEndDataInsertInformation_AccidentCauseReportTableDelegate, this.onDataInsertInformation_AccidentCauseReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertInformation_AccidentCauseReportTableAsync(BLL.CNCECHSSEService.Information_AccidentCauseReport[] accidentCauseReportList, BLL.CNCECHSSEService.Information_AccidentCauseReportItem[] accidentCauseReportItemList) { + return base.Channel.DataInsertInformation_AccidentCauseReportTableAsync(accidentCauseReportList, accidentCauseReportItemList); } public string[] DataInsertInformation_DrillConductedQuarterlyReportTable(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList) { return base.Channel.DataInsertInformation_DrillConductedQuarterlyReportTable(drillConductedQuarterlyReportList, drillConductedQuarterlyReportItemList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertInformation_DrillConductedQuarterlyReportTable(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertInformation_DrillConductedQuarterlyReportTable(drillConductedQuarterlyReportList, drillConductedQuarterlyReportItemList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertInformation_DrillConductedQuarterlyReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertInformation_DrillConductedQuarterlyReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertInformation_DrillConductedQuarterlyReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList = ((BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[])(inValues[0])); - BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList = ((BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[])(inValues[1])); - return this.BeginDataInsertInformation_DrillConductedQuarterlyReportTable(drillConductedQuarterlyReportList, drillConductedQuarterlyReportItemList, callback, asyncState); - } - - private object[] OnEndDataInsertInformation_DrillConductedQuarterlyReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertInformation_DrillConductedQuarterlyReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertInformation_DrillConductedQuarterlyReportTableCompleted(object state) { - if ((this.DataInsertInformation_DrillConductedQuarterlyReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertInformation_DrillConductedQuarterlyReportTableCompleted(this, new DataInsertInformation_DrillConductedQuarterlyReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertInformation_DrillConductedQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList) { - this.DataInsertInformation_DrillConductedQuarterlyReportTableAsync(drillConductedQuarterlyReportList, drillConductedQuarterlyReportItemList, null); - } - - public void DataInsertInformation_DrillConductedQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList, object userState) { - if ((this.onBeginDataInsertInformation_DrillConductedQuarterlyReportTableDelegate == null)) { - this.onBeginDataInsertInformation_DrillConductedQuarterlyReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertInformation_DrillConductedQuarterlyReportTable); - } - if ((this.onEndDataInsertInformation_DrillConductedQuarterlyReportTableDelegate == null)) { - this.onEndDataInsertInformation_DrillConductedQuarterlyReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertInformation_DrillConductedQuarterlyReportTable); - } - if ((this.onDataInsertInformation_DrillConductedQuarterlyReportTableCompletedDelegate == null)) { - this.onDataInsertInformation_DrillConductedQuarterlyReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertInformation_DrillConductedQuarterlyReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertInformation_DrillConductedQuarterlyReportTableDelegate, new object[] { - drillConductedQuarterlyReportList, - drillConductedQuarterlyReportItemList}, this.onEndDataInsertInformation_DrillConductedQuarterlyReportTableDelegate, this.onDataInsertInformation_DrillConductedQuarterlyReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertInformation_DrillConductedQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReport[] drillConductedQuarterlyReportList, BLL.CNCECHSSEService.Information_DrillConductedQuarterlyReportItem[] drillConductedQuarterlyReportItemList) { + return base.Channel.DataInsertInformation_DrillConductedQuarterlyReportTableAsync(drillConductedQuarterlyReportList, drillConductedQuarterlyReportItemList); } public string[] DataInsertInformation_DrillPlanHalfYearReportTable(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList) { return base.Channel.DataInsertInformation_DrillPlanHalfYearReportTable(drillPlanHalfYearReportList, drillPlanHalfYearReportItemList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertInformation_DrillPlanHalfYearReportTable(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertInformation_DrillPlanHalfYearReportTable(drillPlanHalfYearReportList, drillPlanHalfYearReportItemList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertInformation_DrillPlanHalfYearReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertInformation_DrillPlanHalfYearReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertInformation_DrillPlanHalfYearReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList = ((BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[])(inValues[0])); - BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList = ((BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[])(inValues[1])); - return this.BeginDataInsertInformation_DrillPlanHalfYearReportTable(drillPlanHalfYearReportList, drillPlanHalfYearReportItemList, callback, asyncState); - } - - private object[] OnEndDataInsertInformation_DrillPlanHalfYearReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertInformation_DrillPlanHalfYearReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertInformation_DrillPlanHalfYearReportTableCompleted(object state) { - if ((this.DataInsertInformation_DrillPlanHalfYearReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertInformation_DrillPlanHalfYearReportTableCompleted(this, new DataInsertInformation_DrillPlanHalfYearReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertInformation_DrillPlanHalfYearReportTableAsync(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList) { - this.DataInsertInformation_DrillPlanHalfYearReportTableAsync(drillPlanHalfYearReportList, drillPlanHalfYearReportItemList, null); - } - - public void DataInsertInformation_DrillPlanHalfYearReportTableAsync(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList, object userState) { - if ((this.onBeginDataInsertInformation_DrillPlanHalfYearReportTableDelegate == null)) { - this.onBeginDataInsertInformation_DrillPlanHalfYearReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertInformation_DrillPlanHalfYearReportTable); - } - if ((this.onEndDataInsertInformation_DrillPlanHalfYearReportTableDelegate == null)) { - this.onEndDataInsertInformation_DrillPlanHalfYearReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertInformation_DrillPlanHalfYearReportTable); - } - if ((this.onDataInsertInformation_DrillPlanHalfYearReportTableCompletedDelegate == null)) { - this.onDataInsertInformation_DrillPlanHalfYearReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertInformation_DrillPlanHalfYearReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertInformation_DrillPlanHalfYearReportTableDelegate, new object[] { - drillPlanHalfYearReportList, - drillPlanHalfYearReportItemList}, this.onEndDataInsertInformation_DrillPlanHalfYearReportTableDelegate, this.onDataInsertInformation_DrillPlanHalfYearReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertInformation_DrillPlanHalfYearReportTableAsync(BLL.CNCECHSSEService.Information_DrillPlanHalfYearReport[] drillPlanHalfYearReportList, BLL.CNCECHSSEService.Information_DrillPlanHalfYearReportItem[] drillPlanHalfYearReportItemList) { + return base.Channel.DataInsertInformation_DrillPlanHalfYearReportTableAsync(drillPlanHalfYearReportList, drillPlanHalfYearReportItemList); } public string[] DataInsertInformation_MillionsMonthlyReportTable(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList) { return base.Channel.DataInsertInformation_MillionsMonthlyReportTable(millionsMonthlyReportList, millionsMonthlyReportItemList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertInformation_MillionsMonthlyReportTable(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertInformation_MillionsMonthlyReportTable(millionsMonthlyReportList, millionsMonthlyReportItemList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertInformation_MillionsMonthlyReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertInformation_MillionsMonthlyReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertInformation_MillionsMonthlyReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList = ((BLL.CNCECHSSEService.Information_MillionsMonthlyReport[])(inValues[0])); - BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList = ((BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[])(inValues[1])); - return this.BeginDataInsertInformation_MillionsMonthlyReportTable(millionsMonthlyReportList, millionsMonthlyReportItemList, callback, asyncState); - } - - private object[] OnEndDataInsertInformation_MillionsMonthlyReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertInformation_MillionsMonthlyReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertInformation_MillionsMonthlyReportTableCompleted(object state) { - if ((this.DataInsertInformation_MillionsMonthlyReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertInformation_MillionsMonthlyReportTableCompleted(this, new DataInsertInformation_MillionsMonthlyReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertInformation_MillionsMonthlyReportTableAsync(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList) { - this.DataInsertInformation_MillionsMonthlyReportTableAsync(millionsMonthlyReportList, millionsMonthlyReportItemList, null); - } - - public void DataInsertInformation_MillionsMonthlyReportTableAsync(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList, object userState) { - if ((this.onBeginDataInsertInformation_MillionsMonthlyReportTableDelegate == null)) { - this.onBeginDataInsertInformation_MillionsMonthlyReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertInformation_MillionsMonthlyReportTable); - } - if ((this.onEndDataInsertInformation_MillionsMonthlyReportTableDelegate == null)) { - this.onEndDataInsertInformation_MillionsMonthlyReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertInformation_MillionsMonthlyReportTable); - } - if ((this.onDataInsertInformation_MillionsMonthlyReportTableCompletedDelegate == null)) { - this.onDataInsertInformation_MillionsMonthlyReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertInformation_MillionsMonthlyReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertInformation_MillionsMonthlyReportTableDelegate, new object[] { - millionsMonthlyReportList, - millionsMonthlyReportItemList}, this.onEndDataInsertInformation_MillionsMonthlyReportTableDelegate, this.onDataInsertInformation_MillionsMonthlyReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertInformation_MillionsMonthlyReportTableAsync(BLL.CNCECHSSEService.Information_MillionsMonthlyReport[] millionsMonthlyReportList, BLL.CNCECHSSEService.Information_MillionsMonthlyReportItem[] millionsMonthlyReportItemList) { + return base.Channel.DataInsertInformation_MillionsMonthlyReportTableAsync(millionsMonthlyReportList, millionsMonthlyReportItemList); } public string[] DataInsertInformation_SafetyQuarterlyReportTable(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList) { return base.Channel.DataInsertInformation_SafetyQuarterlyReportTable(safetyQuarterlyReportList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertInformation_SafetyQuarterlyReportTable(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertInformation_SafetyQuarterlyReportTable(safetyQuarterlyReportList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertInformation_SafetyQuarterlyReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertInformation_SafetyQuarterlyReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertInformation_SafetyQuarterlyReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList = ((BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[])(inValues[0])); - return this.BeginDataInsertInformation_SafetyQuarterlyReportTable(safetyQuarterlyReportList, callback, asyncState); - } - - private object[] OnEndDataInsertInformation_SafetyQuarterlyReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertInformation_SafetyQuarterlyReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertInformation_SafetyQuarterlyReportTableCompleted(object state) { - if ((this.DataInsertInformation_SafetyQuarterlyReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertInformation_SafetyQuarterlyReportTableCompleted(this, new DataInsertInformation_SafetyQuarterlyReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertInformation_SafetyQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList) { - this.DataInsertInformation_SafetyQuarterlyReportTableAsync(safetyQuarterlyReportList, null); - } - - public void DataInsertInformation_SafetyQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList, object userState) { - if ((this.onBeginDataInsertInformation_SafetyQuarterlyReportTableDelegate == null)) { - this.onBeginDataInsertInformation_SafetyQuarterlyReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertInformation_SafetyQuarterlyReportTable); - } - if ((this.onEndDataInsertInformation_SafetyQuarterlyReportTableDelegate == null)) { - this.onEndDataInsertInformation_SafetyQuarterlyReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertInformation_SafetyQuarterlyReportTable); - } - if ((this.onDataInsertInformation_SafetyQuarterlyReportTableCompletedDelegate == null)) { - this.onDataInsertInformation_SafetyQuarterlyReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertInformation_SafetyQuarterlyReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertInformation_SafetyQuarterlyReportTableDelegate, new object[] { - safetyQuarterlyReportList}, this.onEndDataInsertInformation_SafetyQuarterlyReportTableDelegate, this.onDataInsertInformation_SafetyQuarterlyReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertInformation_SafetyQuarterlyReportTableAsync(BLL.CNCECHSSEService.Information_SafetyQuarterlyReport[] safetyQuarterlyReportList) { + return base.Channel.DataInsertInformation_SafetyQuarterlyReportTableAsync(safetyQuarterlyReportList); } public string[] DataInsertTraining_TrainingItemTable(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem) { return base.Channel.DataInsertTraining_TrainingItemTable(trainingItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTraining_TrainingItemTable(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTraining_TrainingItemTable(trainingItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTraining_TrainingItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTraining_TrainingItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTraining_TrainingItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem = ((BLL.CNCECHSSEService.Training_TrainingItem[])(inValues[0])); - return this.BeginDataInsertTraining_TrainingItemTable(trainingItem, callback, asyncState); - } - - private object[] OnEndDataInsertTraining_TrainingItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTraining_TrainingItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTraining_TrainingItemTableCompleted(object state) { - if ((this.DataInsertTraining_TrainingItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTraining_TrainingItemTableCompleted(this, new DataInsertTraining_TrainingItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTraining_TrainingItemTableAsync(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem) { - this.DataInsertTraining_TrainingItemTableAsync(trainingItem, null); - } - - public void DataInsertTraining_TrainingItemTableAsync(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem, object userState) { - if ((this.onBeginDataInsertTraining_TrainingItemTableDelegate == null)) { - this.onBeginDataInsertTraining_TrainingItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTraining_TrainingItemTable); - } - if ((this.onEndDataInsertTraining_TrainingItemTableDelegate == null)) { - this.onEndDataInsertTraining_TrainingItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTraining_TrainingItemTable); - } - if ((this.onDataInsertTraining_TrainingItemTableCompletedDelegate == null)) { - this.onDataInsertTraining_TrainingItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTraining_TrainingItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTraining_TrainingItemTableDelegate, new object[] { - trainingItem}, this.onEndDataInsertTraining_TrainingItemTableDelegate, this.onDataInsertTraining_TrainingItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTraining_TrainingItemTableAsync(BLL.CNCECHSSEService.Training_TrainingItem[] trainingItem) { + return base.Channel.DataInsertTraining_TrainingItemTableAsync(trainingItem); } public string[] DataInsertTraining_TrainTestDBItemTable(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem) { return base.Channel.DataInsertTraining_TrainTestDBItemTable(trainTestDBItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTraining_TrainTestDBItemTable(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTraining_TrainTestDBItemTable(trainTestDBItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTraining_TrainTestDBItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTraining_TrainTestDBItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTraining_TrainTestDBItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem = ((BLL.CNCECHSSEService.Training_TrainTestDBItem[])(inValues[0])); - return this.BeginDataInsertTraining_TrainTestDBItemTable(trainTestDBItem, callback, asyncState); - } - - private object[] OnEndDataInsertTraining_TrainTestDBItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTraining_TrainTestDBItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTraining_TrainTestDBItemTableCompleted(object state) { - if ((this.DataInsertTraining_TrainTestDBItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTraining_TrainTestDBItemTableCompleted(this, new DataInsertTraining_TrainTestDBItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTraining_TrainTestDBItemTableAsync(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem) { - this.DataInsertTraining_TrainTestDBItemTableAsync(trainTestDBItem, null); - } - - public void DataInsertTraining_TrainTestDBItemTableAsync(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem, object userState) { - if ((this.onBeginDataInsertTraining_TrainTestDBItemTableDelegate == null)) { - this.onBeginDataInsertTraining_TrainTestDBItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTraining_TrainTestDBItemTable); - } - if ((this.onEndDataInsertTraining_TrainTestDBItemTableDelegate == null)) { - this.onEndDataInsertTraining_TrainTestDBItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTraining_TrainTestDBItemTable); - } - if ((this.onDataInsertTraining_TrainTestDBItemTableCompletedDelegate == null)) { - this.onDataInsertTraining_TrainTestDBItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTraining_TrainTestDBItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTraining_TrainTestDBItemTableDelegate, new object[] { - trainTestDBItem}, this.onEndDataInsertTraining_TrainTestDBItemTableDelegate, this.onDataInsertTraining_TrainTestDBItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTraining_TrainTestDBItemTableAsync(BLL.CNCECHSSEService.Training_TrainTestDBItem[] trainTestDBItem) { + return base.Channel.DataInsertTraining_TrainTestDBItemTableAsync(trainTestDBItem); } public string[] DataInsertEduTrain_AccidentCaseItemTable(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem) { return base.Channel.DataInsertEduTrain_AccidentCaseItemTable(accidentCaseItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertEduTrain_AccidentCaseItemTable(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertEduTrain_AccidentCaseItemTable(accidentCaseItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertEduTrain_AccidentCaseItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertEduTrain_AccidentCaseItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertEduTrain_AccidentCaseItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem = ((BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[])(inValues[0])); - return this.BeginDataInsertEduTrain_AccidentCaseItemTable(accidentCaseItem, callback, asyncState); - } - - private object[] OnEndDataInsertEduTrain_AccidentCaseItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertEduTrain_AccidentCaseItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertEduTrain_AccidentCaseItemTableCompleted(object state) { - if ((this.DataInsertEduTrain_AccidentCaseItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertEduTrain_AccidentCaseItemTableCompleted(this, new DataInsertEduTrain_AccidentCaseItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertEduTrain_AccidentCaseItemTableAsync(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem) { - this.DataInsertEduTrain_AccidentCaseItemTableAsync(accidentCaseItem, null); - } - - public void DataInsertEduTrain_AccidentCaseItemTableAsync(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem, object userState) { - if ((this.onBeginDataInsertEduTrain_AccidentCaseItemTableDelegate == null)) { - this.onBeginDataInsertEduTrain_AccidentCaseItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertEduTrain_AccidentCaseItemTable); - } - if ((this.onEndDataInsertEduTrain_AccidentCaseItemTableDelegate == null)) { - this.onEndDataInsertEduTrain_AccidentCaseItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertEduTrain_AccidentCaseItemTable); - } - if ((this.onDataInsertEduTrain_AccidentCaseItemTableCompletedDelegate == null)) { - this.onDataInsertEduTrain_AccidentCaseItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertEduTrain_AccidentCaseItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertEduTrain_AccidentCaseItemTableDelegate, new object[] { - accidentCaseItem}, this.onEndDataInsertEduTrain_AccidentCaseItemTableDelegate, this.onDataInsertEduTrain_AccidentCaseItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertEduTrain_AccidentCaseItemTableAsync(BLL.CNCECHSSEService.EduTrain_AccidentCaseItem[] accidentCaseItem) { + return base.Channel.DataInsertEduTrain_AccidentCaseItemTableAsync(accidentCaseItem); } public string[] DataInsertTraining_KnowledgeItemTable(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem) { return base.Channel.DataInsertTraining_KnowledgeItemTable(knowledgeItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTraining_KnowledgeItemTable(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTraining_KnowledgeItemTable(knowledgeItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTraining_KnowledgeItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTraining_KnowledgeItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTraining_KnowledgeItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem = ((BLL.CNCECHSSEService.Training_KnowledgeItem[])(inValues[0])); - return this.BeginDataInsertTraining_KnowledgeItemTable(knowledgeItem, callback, asyncState); - } - - private object[] OnEndDataInsertTraining_KnowledgeItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTraining_KnowledgeItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTraining_KnowledgeItemTableCompleted(object state) { - if ((this.DataInsertTraining_KnowledgeItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTraining_KnowledgeItemTableCompleted(this, new DataInsertTraining_KnowledgeItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTraining_KnowledgeItemTableAsync(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem) { - this.DataInsertTraining_KnowledgeItemTableAsync(knowledgeItem, null); - } - - public void DataInsertTraining_KnowledgeItemTableAsync(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem, object userState) { - if ((this.onBeginDataInsertTraining_KnowledgeItemTableDelegate == null)) { - this.onBeginDataInsertTraining_KnowledgeItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTraining_KnowledgeItemTable); - } - if ((this.onEndDataInsertTraining_KnowledgeItemTableDelegate == null)) { - this.onEndDataInsertTraining_KnowledgeItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTraining_KnowledgeItemTable); - } - if ((this.onDataInsertTraining_KnowledgeItemTableCompletedDelegate == null)) { - this.onDataInsertTraining_KnowledgeItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTraining_KnowledgeItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTraining_KnowledgeItemTableDelegate, new object[] { - knowledgeItem}, this.onEndDataInsertTraining_KnowledgeItemTableDelegate, this.onDataInsertTraining_KnowledgeItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTraining_KnowledgeItemTableAsync(BLL.CNCECHSSEService.Training_KnowledgeItem[] knowledgeItem) { + return base.Channel.DataInsertTraining_KnowledgeItemTableAsync(knowledgeItem); } public string[] DataInsertTechnique_HazardListTable(BLL.CNCECHSSEService.Technique_HazardList[] hazardList) { return base.Channel.DataInsertTechnique_HazardListTable(hazardList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_HazardListTable(BLL.CNCECHSSEService.Technique_HazardList[] hazardList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_HazardListTable(hazardList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_HazardListTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_HazardListTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_HazardListTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_HazardList[] hazardList = ((BLL.CNCECHSSEService.Technique_HazardList[])(inValues[0])); - return this.BeginDataInsertTechnique_HazardListTable(hazardList, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_HazardListTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_HazardListTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_HazardListTableCompleted(object state) { - if ((this.DataInsertTechnique_HazardListTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_HazardListTableCompleted(this, new DataInsertTechnique_HazardListTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_HazardListTableAsync(BLL.CNCECHSSEService.Technique_HazardList[] hazardList) { - this.DataInsertTechnique_HazardListTableAsync(hazardList, null); - } - - public void DataInsertTechnique_HazardListTableAsync(BLL.CNCECHSSEService.Technique_HazardList[] hazardList, object userState) { - if ((this.onBeginDataInsertTechnique_HazardListTableDelegate == null)) { - this.onBeginDataInsertTechnique_HazardListTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_HazardListTable); - } - if ((this.onEndDataInsertTechnique_HazardListTableDelegate == null)) { - this.onEndDataInsertTechnique_HazardListTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_HazardListTable); - } - if ((this.onDataInsertTechnique_HazardListTableCompletedDelegate == null)) { - this.onDataInsertTechnique_HazardListTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_HazardListTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_HazardListTableDelegate, new object[] { - hazardList}, this.onEndDataInsertTechnique_HazardListTableDelegate, this.onDataInsertTechnique_HazardListTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_HazardListTableAsync(BLL.CNCECHSSEService.Technique_HazardList[] hazardList) { + return base.Channel.DataInsertTechnique_HazardListTableAsync(hazardList); } public string[] DataInsertTechnique_RectifyItemTable(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem) { return base.Channel.DataInsertTechnique_RectifyItemTable(rectifyItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_RectifyItemTable(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_RectifyItemTable(rectifyItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_RectifyItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_RectifyItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_RectifyItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem = ((BLL.CNCECHSSEService.Technique_RectifyItem[])(inValues[0])); - return this.BeginDataInsertTechnique_RectifyItemTable(rectifyItem, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_RectifyItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_RectifyItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_RectifyItemTableCompleted(object state) { - if ((this.DataInsertTechnique_RectifyItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_RectifyItemTableCompleted(this, new DataInsertTechnique_RectifyItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_RectifyItemTableAsync(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem) { - this.DataInsertTechnique_RectifyItemTableAsync(rectifyItem, null); - } - - public void DataInsertTechnique_RectifyItemTableAsync(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem, object userState) { - if ((this.onBeginDataInsertTechnique_RectifyItemTableDelegate == null)) { - this.onBeginDataInsertTechnique_RectifyItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_RectifyItemTable); - } - if ((this.onEndDataInsertTechnique_RectifyItemTableDelegate == null)) { - this.onEndDataInsertTechnique_RectifyItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_RectifyItemTable); - } - if ((this.onDataInsertTechnique_RectifyItemTableCompletedDelegate == null)) { - this.onDataInsertTechnique_RectifyItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_RectifyItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_RectifyItemTableDelegate, new object[] { - rectifyItem}, this.onEndDataInsertTechnique_RectifyItemTableDelegate, this.onDataInsertTechnique_RectifyItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_RectifyItemTableAsync(BLL.CNCECHSSEService.Technique_RectifyItem[] rectifyItem) { + return base.Channel.DataInsertTechnique_RectifyItemTableAsync(rectifyItem); } public string[] DataInsertTechnique_ExpertTable(BLL.CNCECHSSEService.Technique_Expert[] expert) { return base.Channel.DataInsertTechnique_ExpertTable(expert); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertTechnique_ExpertTable(BLL.CNCECHSSEService.Technique_Expert[] expert, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertTechnique_ExpertTable(expert, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertTechnique_ExpertTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertTechnique_ExpertTable(result); - } - - private System.IAsyncResult OnBeginDataInsertTechnique_ExpertTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Technique_Expert[] expert = ((BLL.CNCECHSSEService.Technique_Expert[])(inValues[0])); - return this.BeginDataInsertTechnique_ExpertTable(expert, callback, asyncState); - } - - private object[] OnEndDataInsertTechnique_ExpertTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertTechnique_ExpertTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertTechnique_ExpertTableCompleted(object state) { - if ((this.DataInsertTechnique_ExpertTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertTechnique_ExpertTableCompleted(this, new DataInsertTechnique_ExpertTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertTechnique_ExpertTableAsync(BLL.CNCECHSSEService.Technique_Expert[] expert) { - this.DataInsertTechnique_ExpertTableAsync(expert, null); - } - - public void DataInsertTechnique_ExpertTableAsync(BLL.CNCECHSSEService.Technique_Expert[] expert, object userState) { - if ((this.onBeginDataInsertTechnique_ExpertTableDelegate == null)) { - this.onBeginDataInsertTechnique_ExpertTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertTechnique_ExpertTable); - } - if ((this.onEndDataInsertTechnique_ExpertTableDelegate == null)) { - this.onEndDataInsertTechnique_ExpertTableDelegate = new EndOperationDelegate(this.OnEndDataInsertTechnique_ExpertTable); - } - if ((this.onDataInsertTechnique_ExpertTableCompletedDelegate == null)) { - this.onDataInsertTechnique_ExpertTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertTechnique_ExpertTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertTechnique_ExpertTableDelegate, new object[] { - expert}, this.onEndDataInsertTechnique_ExpertTableDelegate, this.onDataInsertTechnique_ExpertTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertTechnique_ExpertTableAsync(BLL.CNCECHSSEService.Technique_Expert[] expert) { + return base.Channel.DataInsertTechnique_ExpertTableAsync(expert); } public string[] DataInsertSupervise_SuperviseCheckRectifyTable(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify) { return base.Channel.DataInsertSupervise_SuperviseCheckRectifyTable(superviseCheckRectify); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertSupervise_SuperviseCheckRectifyTable(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertSupervise_SuperviseCheckRectifyTable(superviseCheckRectify, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertSupervise_SuperviseCheckRectifyTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertSupervise_SuperviseCheckRectifyTable(result); - } - - private System.IAsyncResult OnBeginDataInsertSupervise_SuperviseCheckRectifyTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify = ((BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[])(inValues[0])); - return this.BeginDataInsertSupervise_SuperviseCheckRectifyTable(superviseCheckRectify, callback, asyncState); - } - - private object[] OnEndDataInsertSupervise_SuperviseCheckRectifyTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertSupervise_SuperviseCheckRectifyTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertSupervise_SuperviseCheckRectifyTableCompleted(object state) { - if ((this.DataInsertSupervise_SuperviseCheckRectifyTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertSupervise_SuperviseCheckRectifyTableCompleted(this, new DataInsertSupervise_SuperviseCheckRectifyTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertSupervise_SuperviseCheckRectifyTableAsync(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify) { - this.DataInsertSupervise_SuperviseCheckRectifyTableAsync(superviseCheckRectify, null); - } - - public void DataInsertSupervise_SuperviseCheckRectifyTableAsync(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify, object userState) { - if ((this.onBeginDataInsertSupervise_SuperviseCheckRectifyTableDelegate == null)) { - this.onBeginDataInsertSupervise_SuperviseCheckRectifyTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertSupervise_SuperviseCheckRectifyTable); - } - if ((this.onEndDataInsertSupervise_SuperviseCheckRectifyTableDelegate == null)) { - this.onEndDataInsertSupervise_SuperviseCheckRectifyTableDelegate = new EndOperationDelegate(this.OnEndDataInsertSupervise_SuperviseCheckRectifyTable); - } - if ((this.onDataInsertSupervise_SuperviseCheckRectifyTableCompletedDelegate == null)) { - this.onDataInsertSupervise_SuperviseCheckRectifyTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertSupervise_SuperviseCheckRectifyTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertSupervise_SuperviseCheckRectifyTableDelegate, new object[] { - superviseCheckRectify}, this.onEndDataInsertSupervise_SuperviseCheckRectifyTableDelegate, this.onDataInsertSupervise_SuperviseCheckRectifyTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertSupervise_SuperviseCheckRectifyTableAsync(BLL.CNCECHSSEService.Supervise_SuperviseCheckRectify[] superviseCheckRectify) { + return base.Channel.DataInsertSupervise_SuperviseCheckRectifyTableAsync(superviseCheckRectify); } public string[] DataInsertHSSESystem_HSSEManageItemTable(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem) { return base.Channel.DataInsertHSSESystem_HSSEManageItemTable(HSSEManageItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertHSSESystem_HSSEManageItemTable(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertHSSESystem_HSSEManageItemTable(HSSEManageItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertHSSESystem_HSSEManageItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertHSSESystem_HSSEManageItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertHSSESystem_HSSEManageItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem = ((BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[])(inValues[0])); - return this.BeginDataInsertHSSESystem_HSSEManageItemTable(HSSEManageItem, callback, asyncState); - } - - private object[] OnEndDataInsertHSSESystem_HSSEManageItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertHSSESystem_HSSEManageItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertHSSESystem_HSSEManageItemTableCompleted(object state) { - if ((this.DataInsertHSSESystem_HSSEManageItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertHSSESystem_HSSEManageItemTableCompleted(this, new DataInsertHSSESystem_HSSEManageItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertHSSESystem_HSSEManageItemTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem) { - this.DataInsertHSSESystem_HSSEManageItemTableAsync(HSSEManageItem, null); - } - - public void DataInsertHSSESystem_HSSEManageItemTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem, object userState) { - if ((this.onBeginDataInsertHSSESystem_HSSEManageItemTableDelegate == null)) { - this.onBeginDataInsertHSSESystem_HSSEManageItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertHSSESystem_HSSEManageItemTable); - } - if ((this.onEndDataInsertHSSESystem_HSSEManageItemTableDelegate == null)) { - this.onEndDataInsertHSSESystem_HSSEManageItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertHSSESystem_HSSEManageItemTable); - } - if ((this.onDataInsertHSSESystem_HSSEManageItemTableCompletedDelegate == null)) { - this.onDataInsertHSSESystem_HSSEManageItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertHSSESystem_HSSEManageItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertHSSESystem_HSSEManageItemTableDelegate, new object[] { - HSSEManageItem}, this.onEndDataInsertHSSESystem_HSSEManageItemTableDelegate, this.onDataInsertHSSESystem_HSSEManageItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertHSSESystem_HSSEManageItemTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEManageItem[] HSSEManageItem) { + return base.Channel.DataInsertHSSESystem_HSSEManageItemTableAsync(HSSEManageItem); } public string[] DataInsertSupervise_UpCheckReportTable(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2) { return base.Channel.DataInsertSupervise_UpCheckReportTable(upCheckReport, upCheckReportItem, upCheckReportItem2); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertSupervise_UpCheckReportTable(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertSupervise_UpCheckReportTable(upCheckReport, upCheckReportItem, upCheckReportItem2, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertSupervise_UpCheckReportTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertSupervise_UpCheckReportTable(result); - } - - private System.IAsyncResult OnBeginDataInsertSupervise_UpCheckReportTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport = ((BLL.CNCECHSSEService.Supervise_UpCheckReport[])(inValues[0])); - BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem = ((BLL.CNCECHSSEService.Supervise_UpCheckReportItem[])(inValues[1])); - BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2 = ((BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[])(inValues[2])); - return this.BeginDataInsertSupervise_UpCheckReportTable(upCheckReport, upCheckReportItem, upCheckReportItem2, callback, asyncState); - } - - private object[] OnEndDataInsertSupervise_UpCheckReportTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertSupervise_UpCheckReportTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertSupervise_UpCheckReportTableCompleted(object state) { - if ((this.DataInsertSupervise_UpCheckReportTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertSupervise_UpCheckReportTableCompleted(this, new DataInsertSupervise_UpCheckReportTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertSupervise_UpCheckReportTableAsync(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2) { - this.DataInsertSupervise_UpCheckReportTableAsync(upCheckReport, upCheckReportItem, upCheckReportItem2, null); - } - - public void DataInsertSupervise_UpCheckReportTableAsync(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2, object userState) { - if ((this.onBeginDataInsertSupervise_UpCheckReportTableDelegate == null)) { - this.onBeginDataInsertSupervise_UpCheckReportTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertSupervise_UpCheckReportTable); - } - if ((this.onEndDataInsertSupervise_UpCheckReportTableDelegate == null)) { - this.onEndDataInsertSupervise_UpCheckReportTableDelegate = new EndOperationDelegate(this.OnEndDataInsertSupervise_UpCheckReportTable); - } - if ((this.onDataInsertSupervise_UpCheckReportTableCompletedDelegate == null)) { - this.onDataInsertSupervise_UpCheckReportTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertSupervise_UpCheckReportTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertSupervise_UpCheckReportTableDelegate, new object[] { - upCheckReport, - upCheckReportItem, - upCheckReportItem2}, this.onEndDataInsertSupervise_UpCheckReportTableDelegate, this.onDataInsertSupervise_UpCheckReportTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertSupervise_UpCheckReportTableAsync(BLL.CNCECHSSEService.Supervise_UpCheckReport[] upCheckReport, BLL.CNCECHSSEService.Supervise_UpCheckReportItem[] upCheckReportItem, BLL.CNCECHSSEService.Supervise_UpCheckReportItem2[] upCheckReportItem2) { + return base.Channel.DataInsertSupervise_UpCheckReportTableAsync(upCheckReport, upCheckReportItem, upCheckReportItem2); } public string[] DataInsertSupervise_SubUnitReportItemItemTable(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem) { return base.Channel.DataInsertSupervise_SubUnitReportItemItemTable(subUnitReportItem); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertSupervise_SubUnitReportItemItemTable(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertSupervise_SubUnitReportItemItemTable(subUnitReportItem, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertSupervise_SubUnitReportItemItemTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertSupervise_SubUnitReportItemItemTable(result); - } - - private System.IAsyncResult OnBeginDataInsertSupervise_SubUnitReportItemItemTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem = ((BLL.CNCECHSSEService.Supervise_SubUnitReportItem[])(inValues[0])); - return this.BeginDataInsertSupervise_SubUnitReportItemItemTable(subUnitReportItem, callback, asyncState); - } - - private object[] OnEndDataInsertSupervise_SubUnitReportItemItemTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertSupervise_SubUnitReportItemItemTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertSupervise_SubUnitReportItemItemTableCompleted(object state) { - if ((this.DataInsertSupervise_SubUnitReportItemItemTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertSupervise_SubUnitReportItemItemTableCompleted(this, new DataInsertSupervise_SubUnitReportItemItemTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertSupervise_SubUnitReportItemItemTableAsync(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem) { - this.DataInsertSupervise_SubUnitReportItemItemTableAsync(subUnitReportItem, null); - } - - public void DataInsertSupervise_SubUnitReportItemItemTableAsync(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem, object userState) { - if ((this.onBeginDataInsertSupervise_SubUnitReportItemItemTableDelegate == null)) { - this.onBeginDataInsertSupervise_SubUnitReportItemItemTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertSupervise_SubUnitReportItemItemTable); - } - if ((this.onEndDataInsertSupervise_SubUnitReportItemItemTableDelegate == null)) { - this.onEndDataInsertSupervise_SubUnitReportItemItemTableDelegate = new EndOperationDelegate(this.OnEndDataInsertSupervise_SubUnitReportItemItemTable); - } - if ((this.onDataInsertSupervise_SubUnitReportItemItemTableCompletedDelegate == null)) { - this.onDataInsertSupervise_SubUnitReportItemItemTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertSupervise_SubUnitReportItemItemTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertSupervise_SubUnitReportItemItemTableDelegate, new object[] { - subUnitReportItem}, this.onEndDataInsertSupervise_SubUnitReportItemItemTableDelegate, this.onDataInsertSupervise_SubUnitReportItemItemTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertSupervise_SubUnitReportItemItemTableAsync(BLL.CNCECHSSEService.Supervise_SubUnitReportItem[] subUnitReportItem) { + return base.Channel.DataInsertSupervise_SubUnitReportItemItemTableAsync(subUnitReportItem); } public string[] DataInsertCheck_CheckRectifyTable(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify) { return base.Channel.DataInsertCheck_CheckRectifyTable(checkRectify); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertCheck_CheckRectifyTable(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertCheck_CheckRectifyTable(checkRectify, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertCheck_CheckRectifyTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertCheck_CheckRectifyTable(result); - } - - private System.IAsyncResult OnBeginDataInsertCheck_CheckRectifyTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify = ((BLL.CNCECHSSEService.Check_CheckRectify[])(inValues[0])); - return this.BeginDataInsertCheck_CheckRectifyTable(checkRectify, callback, asyncState); - } - - private object[] OnEndDataInsertCheck_CheckRectifyTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertCheck_CheckRectifyTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertCheck_CheckRectifyTableCompleted(object state) { - if ((this.DataInsertCheck_CheckRectifyTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertCheck_CheckRectifyTableCompleted(this, new DataInsertCheck_CheckRectifyTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertCheck_CheckRectifyTableAsync(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify) { - this.DataInsertCheck_CheckRectifyTableAsync(checkRectify, null); - } - - public void DataInsertCheck_CheckRectifyTableAsync(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify, object userState) { - if ((this.onBeginDataInsertCheck_CheckRectifyTableDelegate == null)) { - this.onBeginDataInsertCheck_CheckRectifyTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertCheck_CheckRectifyTable); - } - if ((this.onEndDataInsertCheck_CheckRectifyTableDelegate == null)) { - this.onEndDataInsertCheck_CheckRectifyTableDelegate = new EndOperationDelegate(this.OnEndDataInsertCheck_CheckRectifyTable); - } - if ((this.onDataInsertCheck_CheckRectifyTableCompletedDelegate == null)) { - this.onDataInsertCheck_CheckRectifyTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertCheck_CheckRectifyTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertCheck_CheckRectifyTableDelegate, new object[] { - checkRectify}, this.onEndDataInsertCheck_CheckRectifyTableDelegate, this.onDataInsertCheck_CheckRectifyTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertCheck_CheckRectifyTableAsync(BLL.CNCECHSSEService.Check_CheckRectify[] checkRectify) { + return base.Channel.DataInsertCheck_CheckRectifyTableAsync(checkRectify); } public string DataInsertHSSESystem_HSSEOrganizeTable(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize) { return base.Channel.DataInsertHSSESystem_HSSEOrganizeTable(hsseOrganize); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertHSSESystem_HSSEOrganizeTable(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertHSSESystem_HSSEOrganizeTable(hsseOrganize, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string EndDataInsertHSSESystem_HSSEOrganizeTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertHSSESystem_HSSEOrganizeTable(result); - } - - private System.IAsyncResult OnBeginDataInsertHSSESystem_HSSEOrganizeTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize = ((BLL.CNCECHSSEService.HSSESystem_HSSEOrganize)(inValues[0])); - return this.BeginDataInsertHSSESystem_HSSEOrganizeTable(hsseOrganize, callback, asyncState); - } - - private object[] OnEndDataInsertHSSESystem_HSSEOrganizeTable(System.IAsyncResult result) { - string retVal = this.EndDataInsertHSSESystem_HSSEOrganizeTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertHSSESystem_HSSEOrganizeTableCompleted(object state) { - if ((this.DataInsertHSSESystem_HSSEOrganizeTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertHSSESystem_HSSEOrganizeTableCompleted(this, new DataInsertHSSESystem_HSSEOrganizeTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertHSSESystem_HSSEOrganizeTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize) { - this.DataInsertHSSESystem_HSSEOrganizeTableAsync(hsseOrganize, null); - } - - public void DataInsertHSSESystem_HSSEOrganizeTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize, object userState) { - if ((this.onBeginDataInsertHSSESystem_HSSEOrganizeTableDelegate == null)) { - this.onBeginDataInsertHSSESystem_HSSEOrganizeTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertHSSESystem_HSSEOrganizeTable); - } - if ((this.onEndDataInsertHSSESystem_HSSEOrganizeTableDelegate == null)) { - this.onEndDataInsertHSSESystem_HSSEOrganizeTableDelegate = new EndOperationDelegate(this.OnEndDataInsertHSSESystem_HSSEOrganizeTable); - } - if ((this.onDataInsertHSSESystem_HSSEOrganizeTableCompletedDelegate == null)) { - this.onDataInsertHSSESystem_HSSEOrganizeTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertHSSESystem_HSSEOrganizeTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertHSSESystem_HSSEOrganizeTableDelegate, new object[] { - hsseOrganize}, this.onEndDataInsertHSSESystem_HSSEOrganizeTableDelegate, this.onDataInsertHSSESystem_HSSEOrganizeTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertHSSESystem_HSSEOrganizeTableAsync(BLL.CNCECHSSEService.HSSESystem_HSSEOrganize hsseOrganize) { + return base.Channel.DataInsertHSSESystem_HSSEOrganizeTableAsync(hsseOrganize); } public string[] DataInsertSys_SubUnitLogListTable(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList) { return base.Channel.DataInsertSys_SubUnitLogListTable(subUnitLogList); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginDataInsertSys_SubUnitLogListTable(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList, System.AsyncCallback callback, object asyncState) { - return base.Channel.BeginDataInsertSys_SubUnitLogListTable(subUnitLogList, callback, asyncState); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string[] EndDataInsertSys_SubUnitLogListTable(System.IAsyncResult result) { - return base.Channel.EndDataInsertSys_SubUnitLogListTable(result); - } - - private System.IAsyncResult OnBeginDataInsertSys_SubUnitLogListTable(object[] inValues, System.AsyncCallback callback, object asyncState) { - BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList = ((BLL.CNCECHSSEService.Sys_SubUnitLog[])(inValues[0])); - return this.BeginDataInsertSys_SubUnitLogListTable(subUnitLogList, callback, asyncState); - } - - private object[] OnEndDataInsertSys_SubUnitLogListTable(System.IAsyncResult result) { - string[] retVal = this.EndDataInsertSys_SubUnitLogListTable(result); - return new object[] { - retVal}; - } - - private void OnDataInsertSys_SubUnitLogListTableCompleted(object state) { - if ((this.DataInsertSys_SubUnitLogListTableCompleted != null)) { - InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); - this.DataInsertSys_SubUnitLogListTableCompleted(this, new DataInsertSys_SubUnitLogListTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); - } - } - - public void DataInsertSys_SubUnitLogListTableAsync(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList) { - this.DataInsertSys_SubUnitLogListTableAsync(subUnitLogList, null); - } - - public void DataInsertSys_SubUnitLogListTableAsync(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList, object userState) { - if ((this.onBeginDataInsertSys_SubUnitLogListTableDelegate == null)) { - this.onBeginDataInsertSys_SubUnitLogListTableDelegate = new BeginOperationDelegate(this.OnBeginDataInsertSys_SubUnitLogListTable); - } - if ((this.onEndDataInsertSys_SubUnitLogListTableDelegate == null)) { - this.onEndDataInsertSys_SubUnitLogListTableDelegate = new EndOperationDelegate(this.OnEndDataInsertSys_SubUnitLogListTable); - } - if ((this.onDataInsertSys_SubUnitLogListTableCompletedDelegate == null)) { - this.onDataInsertSys_SubUnitLogListTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataInsertSys_SubUnitLogListTableCompleted); - } - base.InvokeAsync(this.onBeginDataInsertSys_SubUnitLogListTableDelegate, new object[] { - subUnitLogList}, this.onEndDataInsertSys_SubUnitLogListTableDelegate, this.onDataInsertSys_SubUnitLogListTableCompletedDelegate, userState); + public System.Threading.Tasks.Task DataInsertSys_SubUnitLogListTableAsync(BLL.CNCECHSSEService.Sys_SubUnitLog[] subUnitLogList) { + return base.Channel.DataInsertSys_SubUnitLogListTableAsync(subUnitLogList); } } } diff --git a/SGGL/BLL/Service References/CNCECHSSEService/Reference.svcmap b/SGGL/BLL/Service References/CNCECHSSEService/Reference.svcmap index 44c3fe2a..fb709f27 100644 --- a/SGGL/BLL/Service References/CNCECHSSEService/Reference.svcmap +++ b/SGGL/BLL/Service References/CNCECHSSEService/Reference.svcmap @@ -1,7 +1,8 @@ - + - true + false + true true false @@ -18,16 +19,10 @@ - + - - - - - - - + diff --git a/SGGL/BLL/Service References/CNCECHSSEService/configuration.svcinfo b/SGGL/BLL/Service References/CNCECHSSEService/configuration.svcinfo index 7259b0cf..0c9ee465 100644 --- a/SGGL/BLL/Service References/CNCECHSSEService/configuration.svcinfo +++ b/SGGL/BLL/Service References/CNCECHSSEService/configuration.svcinfo @@ -5,6 +5,6 @@ - + \ No newline at end of file diff --git a/SGGL/BLL/Service References/CNCECHSSEService/configuration91.svcinfo b/SGGL/BLL/Service References/CNCECHSSEService/configuration91.svcinfo index c7fe4623..d81e1fef 100644 --- a/SGGL/BLL/Service References/CNCECHSSEService/configuration91.svcinfo +++ b/SGGL/BLL/Service References/CNCECHSSEService/configuration91.svcinfo @@ -1,5 +1,5 @@ - + @@ -127,10 +127,10 @@ - + - http://114.247.88.97:20080/QHSE/HSSEService.svc + http://qhse.cncecoa.com/HSSEService.svc diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx index ac4ff068..d4737019 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx @@ -88,7 +88,7 @@ - + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs index b767b1d8..50c35c74 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs @@ -159,7 +159,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive } /// - /// 加载专业工程师 + /// 加载质量经理 /// public void LoadAuditSelect() { @@ -171,7 +171,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive join p in db.Project_ProjectUser on x.UserId equals p.UserId where y.UnitId == Const.UnitId_CD && p.ProjectId == CurrUser.LoginProjectId && y.ProjectId == CurrUser.LoginProjectId - where p.RoleId.Contains(Const.ZBCNEngineer) + where p.RoleId.Contains(Const.QAManager) select new { UserId = x.UserId, UserName = x.UserName }; drpAudit.DataValueField = "UserId"; drpAudit.DataTextField = "UserName"; diff --git a/SGGL/FineUIPro.Web/CQMS/Solution/ConstructSolution.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Solution/ConstructSolution.aspx.cs index 0501f675..e0db87c2 100644 --- a/SGGL/FineUIPro.Web/CQMS/Solution/ConstructSolution.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Solution/ConstructSolution.aspx.cs @@ -13,875 +13,975 @@ using System.Web.UI.WebControls; using AspNet = System.Web.UI.WebControls; namespace FineUIPro.Web.CQMS.Solution { - public partial class ConstructSolution : PageBase - { - #region 获取按钮权限 - /// - /// 获取按钮权限 - /// - /// - /// - private void GetButtonPower() - { - if (Request.Params["value"] == "0") + public partial class ConstructSolution : PageBase + { + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() { - return; + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.UserId, Const.CQMSConstructSolutionMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(Const.BtnAdd)) + { + btnNew.Hidden = false; + + } + if (buttonList.Contains(Const.BtnModify) || buttonList.Contains(Const.BtnSubmit)) + { + btnMenuModify.Hidden = false; + } + if (buttonList.Contains(Const.BtnDelete)) + { + btnMenuDel.Hidden = false; + } + } } - var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.UserId, Const.CQMSConstructSolutionMenuId); - if (buttonList.Count() > 0) + #endregion + protected void Page_Load(object sender, EventArgs e) { - if (buttonList.Contains(Const.BtnAdd)) - { - btnNew.Hidden = false; - - } - if (buttonList.Contains(Const.BtnModify) || buttonList.Contains(Const.BtnSubmit)) - { - btnMenuModify.Hidden = false; - } - if (buttonList.Contains(Const.BtnDelete)) - { - btnMenuDel.Hidden = false; - } + if (!IsPostBack) + { + GetButtonPower(); + BLL.SolutionTempleteTypeService.InitSolutionTempleteDropDownList(drpSolutionType, true); + //Funs.FineUIPleaseSelect(drpState); + UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.CurrUser.LoginProjectId, true); + CNProfessionalService.InitCNProfessionalDownList(drpCNProfessional, true); + UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpProposeUnit, CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true); + btnNew.OnClientClick = window_tt.GetShowReference("EditConstructSolution.aspx") + "return false;"; + if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_CD && this.CurrUser.UnitId != Const.hfnbdId) + { + this.drpProposeUnit.Hidden = true; + } + BindGrid(); + } + else + { + var eventArgs = GetRequestEventArgument(); // 此函数所在文件:PageBase.cs + if (eventArgs.StartsWith("ButtonClick")) + { + string rootPath = Server.MapPath("~/"); + string path = string.Empty; + if (drpModelType.SelectedValue == "1") + { + path = Const.CQMSConstructSolutionTemplateUrl1; + } + else + { + path = Const.CQMSConstructSolutionTemplateUrl3; + } + string uploadfilepath = rootPath + path; + string fileName = Path.GetFileName(uploadfilepath); + FileInfo fileInfo = new FileInfo(uploadfilepath); + FileInfo info = new FileInfo(uploadfilepath); + long fileSize = info.Length; + Response.Clear(); + Response.ContentType = "application/octet-stream"; + Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); + Response.AddHeader("Content-Length", fileSize.ToString()); + Response.TransmitFile(uploadfilepath, 0, fileSize); + Response.Flush(); + } + } } - } - #endregion - protected void Page_Load(object sender, EventArgs e) - { - if (!IsPostBack) + + protected string ConvertEdition(object edition) { - GetButtonPower(); - BLL.SolutionTempleteTypeService.InitSolutionTempleteDropDownList(drpSolutionType, true); - //Funs.FineUIPleaseSelect(drpState); - UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.CurrUser.LoginProjectId, true); - CNProfessionalService.InitCNProfessionalDownList(drpCNProfessional, true); - UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpProposeUnit, CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true); - btnNew.OnClientClick = window_tt.GetShowReference("EditConstructSolution.aspx") + "return false;"; - if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_CD && this.CurrUser.UnitId != Const.hfnbdId) - { - this.drpProposeUnit.Hidden = true; - } - BindGrid(); + return string.Format("{0:#0.#}", ((int)edition) / 10.0); } - else + protected void Grid1_RowDataBound(object sender, GridRowEventArgs e) { - var eventArgs = GetRequestEventArgument(); // 此函数所在文件:PageBase.cs - if (eventArgs.StartsWith("ButtonClick")) - { - string rootPath = Server.MapPath("~/"); - string path = string.Empty; - if (drpModelType.SelectedValue == "1") - { - path = Const.CQMSConstructSolutionTemplateUrl1; - } - else - { - path = Const.CQMSConstructSolutionTemplateUrl3; - } - string uploadfilepath = rootPath + path; - string fileName = Path.GetFileName(uploadfilepath); - FileInfo fileInfo = new FileInfo(uploadfilepath); - FileInfo info = new FileInfo(uploadfilepath); - long fileSize = info.Length; - Response.Clear(); - Response.ContentType = "application/octet-stream"; - Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); - Response.AddHeader("Content-Length", fileSize.ToString()); - Response.TransmitFile(uploadfilepath, 0, fileSize); - Response.Flush(); - } + int i = e.RowIndex; + string id = Grid1.Rows[i].DataKeys[0].ToString(); + var solution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); + + //Grid1.Rows[i].Values[""] + if (solution.Edition.Value >= 3) + + { //闭环 + Grid1.Rows[i].RowCssClass = "red"; + } + ////else if( checkControl.LimitDate> ) + //else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1).Date < DateTime.Now && checkControl.State != BLL.Const.CheckControl_Complete) //延期未整改 + //{ + // Grid1.Rows[i].RowCssClass = "orange"; + //} + //else //期内未整改 + //{ + // Grid1.Rows[i].RowCssClass = "red"; + //} } - } + protected DataTable ChecklistData() + { - protected string ConvertEdition(object edition) - { - return string.Format("{0:#0.#}",((int)edition)/10.0); - } - protected void Grid1_RowDataBound(object sender, GridRowEventArgs e) - { - int i = e.RowIndex; - string id = Grid1.Rows[i].DataKeys[0].ToString(); - var solution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); - - //Grid1.Rows[i].Values[""] - if (solution.Edition.Value>=3) - - { //闭环 - Grid1.Rows[i].RowCssClass = "red"; - } - ////else if( checkControl.LimitDate> ) - //else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1).Date < DateTime.Now && checkControl.State != BLL.Const.CheckControl_Complete) //延期未整改 - //{ - // Grid1.Rows[i].RowCssClass = "orange"; - //} - //else //期内未整改 - //{ - // Grid1.Rows[i].RowCssClass = "red"; - //} - } - protected DataTable ChecklistData() - { - - string strSql = @"SELECT chec.ConstructSolutionId,chec.ProjectId,chec.UnitId,Edition,chec.UnitWorkIds,chec.CNProfessionalCodes," - + @" chec.CompileMan,chec.CompileDate,chec.code,chec.state,chec.SolutionType,chec.SolutionName," - + @" unit.UnitName,u.userName as CompileManName,chec.SpecialSchemeTypeId,s.SolutionTempleteTypeName," - + @" t.SpecialSchemeTypeName ,(select top 1 case when ApproveDate is null then getdate() else ApproveDate end from + string strSql = @"SELECT chec.ConstructSolutionId,chec.ProjectId,chec.UnitId,Edition,chec.UnitWorkIds,chec.CNProfessionalCodes," + + @" chec.CompileMan,chec.CompileDate,chec.code,chec.state,chec.SolutionType,chec.SolutionName," + + @" unit.UnitName,u.userName as CompileManName,chec.SpecialSchemeTypeId,s.SolutionTempleteTypeName," + + @" t.SpecialSchemeTypeName ,(select top 1 case when ApproveDate is null then getdate() else ApproveDate end from Solution_CQMSConstructSolutionApprove approve where approve.ConstructSolutionId = chec.ConstructSolutionId and approve.ApproveType != 'S' order by ApproveDate desc) as ApproveDate " - + @" FROM Solution_CQMSConstructSolution chec " - + @" left join Base_Unit unit on unit.unitId=chec.UnitId " - + @" left join sys_User u on u.userId = chec.CompileMan" - + @" left join[dbo].[Base_SolutionTempleteType] s on chec.SolutionType=s.SolutionTempleteTypeCode" - + @" left join[dbo].[Base_SpecialSchemeType] t on chec.SpecialSchemeTypeId=t.SpecialSchemeTypeId" - + @" where chec.ProjectId=@ProjectId"; + + @" FROM Solution_CQMSConstructSolution chec " + + @" left join Base_Unit unit on unit.unitId=chec.UnitId " + + @" left join sys_User u on u.userId = chec.CompileMan" + + @" left join[dbo].[Base_SolutionTempleteType] s on chec.SolutionType=s.SolutionTempleteTypeCode" + + @" left join[dbo].[Base_SpecialSchemeType] t on chec.SpecialSchemeTypeId=t.SpecialSchemeTypeId" + + @" where chec.ProjectId=@ProjectId"; - List listStr = new List(); - listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId)); - if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_CD && this.CurrUser.UnitId != Const.hfnbdId) - { - strSql += " AND chec.UnitId='" + this.CurrUser.UnitId + "'"; - } - if (drpProposeUnit.SelectedValue != Const._Null) - { - strSql += " AND chec.UnitId=@unitId"; - listStr.Add(new SqlParameter("@unitId", drpProposeUnit.SelectedValue)); - } - if (drpSolutionType.SelectedValue != Const._Null) - { - strSql += " AND chec.SolutionType=@SolutionType"; - listStr.Add(new SqlParameter("@SolutionType", drpSolutionType.SelectedValue)); - } - if (drpUnitWork.SelectedValue != Const._Null) - { - strSql += " AND CHARINDEX(@unitworkId,chec.unitworkIds) > 0 "; - listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue)); - } - if (drpCNProfessional.SelectedValue != Const._Null) - { - strSql += " AND CHARINDEX(@CNProfessionalCode,chec.CNProfessionalCodes) > 0 "; - //strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode"; - listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue)); - } - if (drpState.SelectedValue != Const._Null) - { - if (drpState.SelectedValue == "1") //已闭合 - { - strSql += " AND State=@State"; - listStr.Add(new SqlParameter("@State", "3")); - } - else //未闭合 - { - strSql += " AND State!=@State"; - listStr.Add(new SqlParameter("@State", "3")); - } - } - strSql += " order by ApproveDate desc "; - //if (drpUnitWork.SelectedValue != Const._Null) - //{ - // strSql += " AND chec.unitworkId=@unitworkId"; - // listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue)); - //} - //if (drpCNProfessional.SelectedValue != Const._Null) - //{ - // strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode"; - // listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue)); - //} - //if (drpQuestionType.SelectedValue != Const._Null) - //{ - // strSql += " AND chec.QuestionType=@QuestionType"; - // listStr.Add(new SqlParameter("@QuestionType", drpQuestionType.SelectedValue)); - //} - //if (dpHandelStatus.SelectedValue != Const._Null) - //{ - // if (dpHandelStatus.SelectedValue.Equals("1")) - // { - // strSql += " AND (chec.state='5' or chec.state='6')"; - // } - // else if (dpHandelStatus.SelectedValue.Equals("2")) - // { - // strSql += " AND chec.state='7'"; - // } - // else if (dpHandelStatus.SelectedValue.Equals("3")) - // { - // strSql += " AND DATEADD(day,1,chec.LimitDate)< GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7"; - // } - // else if (dpHandelStatus.SelectedValue.Equals("4")) - // { - // strSql += " AND DATEADD(day,1,chec.LimitDate)> GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7"; - // } - //} - SqlParameter[] parameter = listStr.ToArray(); - DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); - return tb; - } - private void BindGrid() - { - var list = ChecklistData(); - Grid1.RecordCount = list.Rows.Count; - var CNProfessional = CNProfessionalService.GetCNProfessionalItem(); - var uniWork = UnitWorkService.GetUnitWorkLists(CurrUser.LoginProjectId); - if (list.Rows.Count > 0) - { - for (int i = 0; i < list.Rows.Count; i++) - { - if (list.Rows[i]["CNProfessionalCodes"] != null) - { - var code = list.Rows[i]["CNProfessionalCodes"].ToString().Split(','); - var listf = CNProfessional.Where(p => code.Contains(p.Value)).Select(p => p.Text).ToArray(); - list.Rows[i]["CNProfessionalCodes"] = string.Join(",", listf); - } - if (list.Rows[i]["UnitWorkIds"] != null) - { - var code = list.Rows[i]["UnitWorkIds"].ToString().Split(','); - var workid = uniWork.Where(p => code.Contains(p.UnitWorkId)).Select(p => p.UnitWorkName + BLL.UnitWorkService.GetProjectType(p.ProjectType)).ToArray(); - list.Rows[i]["UnitWorkIds"] = string.Join(",", workid); - } - } - } - list = GetFilteredTable(Grid1.FilteredData, list); - var table = GetPagedDataTable(Grid1, list); - Grid1.DataSource = table; - Grid1.DataBind(); - } - protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) - { - object[] keys = Grid1.DataKeys[e.RowIndex]; - string fileId = string.Empty; - if (keys == null) - { - return; - } - else - { - fileId = keys[0].ToString(); - } - if (e.CommandName == "exportSuggestion") - { - Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); - var list = CQMSConstructSolutionApproveService.getListDataForExport(fileId); - - string rootPath = Server.MapPath("~/"); - string initTemplatePath = string.Empty; - string uploadfilepath = string.Empty; - string newUrl = string.Empty; - - initTemplatePath = Const.ConstructSolutionSuggestTemplateUrl; - uploadfilepath = rootPath + initTemplatePath; - newUrl = uploadfilepath.Replace(".doc", constructSolution.Code.Replace("/", "-") + ".doc"); - if (File.Exists(newUrl)) - { - File.Delete(newUrl); - } - File.Copy(uploadfilepath, newUrl); - Document doc = new Aspose.Words.Document(newUrl); - Bookmark bookmarkSolutionName = doc.Range.Bookmarks["SolutionName"]; - if (bookmarkSolutionName != null) - { - bookmarkSolutionName.Text = constructSolution.SolutionName; - } - Bookmark bookmarkProjectName = doc.Range.Bookmarks["projectName"]; - Bookmark bookmarkProjectName2 = doc.Range.Bookmarks["projectName2"]; - Bookmark bookmarkprojectNum = doc.Range.Bookmarks["projectNum"]; - Bookmark FileNum = doc.Range.Bookmarks["FileNum"]; - if (FileNum != null) - { - FileNum.Text = constructSolution.Code; - } - if (bookmarkProjectName != null) - { - var project = ProjectService.GetProjectByProjectId(constructSolution.ProjectId); - if (project != null) - { - bookmarkProjectName.Text = project.ProjectName; - bookmarkProjectName2.Text = project.ProjectName; - bookmarkprojectNum.Text = project.ProjectCode; - } - } - Bookmark bookmarkEdition = doc.Range.Bookmarks["Edition"]; - if (bookmarkEdition != null && constructSolution.Edition.HasValue) - { - bookmarkEdition.Text =""+ (constructSolution.Edition.Value/10.0).ToString("0.0"); - } - Bookmark bookmarkoption1 = doc.Range.Bookmarks["option1"]; - Bookmark bookmarkAuditer1 = doc.Range.Bookmarks["Auditer1"]; - Bookmark bookmarkAuditDate1 = doc.Range.Bookmarks["AuditDate1"]; - - if (bookmarkoption1 != null) - { - string option = ""; - var listtemp = list.Where(u=>u.SignType=="ZY").ToList(); - for (int i = 0; i < listtemp.Count; i++) - { - - option += string.Format("{0}\n", listtemp[i].ApproveIdea); - - } - bookmarkoption1.Text = option; - var temp = list.Where(u => u.SignType == "ZY").LastOrDefault(); - if (temp != null) - { - var user = UserService.GetUserByUserId(temp.ApproveMan); - if (user != null) + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId)); + if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_CD && this.CurrUser.UnitId != Const.hfnbdId) + { + strSql += " AND chec.UnitId='" + this.CurrUser.UnitId + "'"; + } + if (drpProposeUnit.SelectedValue != Const._Null) + { + strSql += " AND chec.UnitId=@unitId"; + listStr.Add(new SqlParameter("@unitId", drpProposeUnit.SelectedValue)); + } + if (drpSolutionType.SelectedValue != Const._Null) + { + strSql += " AND chec.SolutionType=@SolutionType"; + listStr.Add(new SqlParameter("@SolutionType", drpSolutionType.SelectedValue)); + } + if (drpUnitWork.SelectedValue != Const._Null) + { + strSql += " AND CHARINDEX(@unitworkId,chec.unitworkIds) > 0 "; + listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue)); + } + if (drpCNProfessional.SelectedValue != Const._Null) + { + strSql += " AND CHARINDEX(@CNProfessionalCode,chec.CNProfessionalCodes) > 0 "; + //strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode"; + listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue)); + } + if (drpState.SelectedValue != Const._Null) + { + if (drpState.SelectedValue == "1") //已闭合 { - bookmarkAuditer1.Text = user.UserName; + strSql += " AND State=@State"; + listStr.Add(new SqlParameter("@State", "3")); } - bookmarkAuditDate1.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - } - Bookmark bookmarkoption2 = doc.Range.Bookmarks["option2"]; - Bookmark bookmarkAuditer2 = doc.Range.Bookmarks["Auditer2"]; - Bookmark bookmarkAuditDate2 = doc.Range.Bookmarks["AuditDate2"]; - - - if (bookmarkoption2 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "ZL").ToList(); - for (int i = 0; i < listtemp.Count; i++) - { - - option += string.Format("{0}\n", listtemp[i].ApproveIdea); - - } - bookmarkoption2.Text = option; - - var temp = list.Where(u => u.SignType == "ZL").LastOrDefault(); - if (temp != null) - { - var user = UserService.GetUserByUserId(temp.ApproveMan); - if (user != null) + else //未闭合 { - bookmarkAuditer2.Text = user.UserName; + strSql += " AND State!=@State"; + listStr.Add(new SqlParameter("@State", "3")); } - bookmarkAuditDate2.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - } - Bookmark bookmarkoption3 = doc.Range.Bookmarks["option3"]; - Bookmark bookmarkAuditer3 = doc.Range.Bookmarks["Auditer3"]; - Bookmark bookmarkAuditDate3 = doc.Range.Bookmarks["AuditDate3"]; - - if (bookmarkoption3 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "AQ").ToList(); - for (int i = 0; i < listtemp.Count; i++) - { - var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); - if (puser.RoleId.Contains(Const.HSSEEngineer)) - { - var user = UserService.GetUserByUserId(listtemp[i].ApproveMan); - - option += string.Format("{0}\n", listtemp[i].ApproveIdea); - if (user != null) - { - bookmarkAuditer3.Text = user.UserName; - } - bookmarkAuditDate3.Text = listtemp[i].ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - } - } - bookmarkoption3.Text = option; - - } - Bookmark bookmarkoption4 = doc.Range.Bookmarks["option4"]; - Bookmark bookmarkAuditer4 = doc.Range.Bookmarks["Auditer4"]; - Bookmark bookmarkAuditDate4 = doc.Range.Bookmarks["AuditDate4"]; - - if (bookmarkoption4 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "AQ").ToList(); - for (int i = 0; i < listtemp.Count; i++) - { - var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); - if (puser.RoleId.Contains(Const.HSSEManager)) - { - var user = UserService.GetUserByUserId(listtemp[i].ApproveMan); - - option += string.Format("{0}\n", listtemp[i].ApproveIdea); - if (user != null) - { - bookmarkAuditer4.Text = user.UserName; - } - bookmarkAuditDate4.Text = listtemp[i].ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - } - } - bookmarkoption4.Text = option; - - - } - Bookmark bookmarkoption5 = doc.Range.Bookmarks["option5"]; - Bookmark bookmarkAuditer5 = doc.Range.Bookmarks["Auditer5"]; - Bookmark bookmarkAuditDate5 = doc.Range.Bookmarks["AuditDate5"]; - if (bookmarkoption5!= null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "SG").ToList(); - for (int i = 0; i < listtemp.Count; i++) - { - - option += string.Format("{0}\n", listtemp[i].ApproveIdea); - - } - bookmarkoption5.Text = option; - var temp = list.Where(u => u.SignType == "SG").LastOrDefault(); - if (temp != null) - { - var user = UserService.GetUserByUserId(temp.ApproveMan); - if (user != null) - { - bookmarkAuditer5.Text = user.UserName; - } - bookmarkAuditDate5.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - } - doc.Save(newUrl); - - Document doc1 = new Aspose.Words.Document(newUrl); - //验证参数 - if (doc1 == null) { throw new Exception("Word文件无效"); } - string fileName = Path.GetFileName(newUrl); - FileInfo info = new FileInfo(newUrl); - long fileSize = info.Length; - Response.Clear(); - Response.ContentType = "application/x-zip-compressed"; - Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); - Response.AddHeader("Content-Length", fileSize.ToString()); - Response.TransmitFile(newUrl, 0, fileSize); - Response.Flush(); - Response.Close(); - File.Delete(newUrl); + } + strSql += " order by ApproveDate desc "; + //if (drpUnitWork.SelectedValue != Const._Null) + //{ + // strSql += " AND chec.unitworkId=@unitworkId"; + // listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue)); + //} + //if (drpCNProfessional.SelectedValue != Const._Null) + //{ + // strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode"; + // listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue)); + //} + //if (drpQuestionType.SelectedValue != Const._Null) + //{ + // strSql += " AND chec.QuestionType=@QuestionType"; + // listStr.Add(new SqlParameter("@QuestionType", drpQuestionType.SelectedValue)); + //} + //if (dpHandelStatus.SelectedValue != Const._Null) + //{ + // if (dpHandelStatus.SelectedValue.Equals("1")) + // { + // strSql += " AND (chec.state='5' or chec.state='6')"; + // } + // else if (dpHandelStatus.SelectedValue.Equals("2")) + // { + // strSql += " AND chec.state='7'"; + // } + // else if (dpHandelStatus.SelectedValue.Equals("3")) + // { + // strSql += " AND DATEADD(day,1,chec.LimitDate)< GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7"; + // } + // else if (dpHandelStatus.SelectedValue.Equals("4")) + // { + // strSql += " AND DATEADD(day,1,chec.LimitDate)> GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7"; + // } + //} + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + return tb; } - else if (e.CommandName == "exportApproval") + private void BindGrid() { - Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); - var list = CQMSConstructSolutionApproveService.getListData(fileId); - - string rootPath = Server.MapPath("~/"); - string initTemplatePath = string.Empty; - string uploadfilepath = string.Empty; - string newUrl = string.Empty; - - initTemplatePath = Const.ConstructSolutionApproveTemplateUrl; - uploadfilepath = rootPath + initTemplatePath; - newUrl = uploadfilepath.Replace(".doc", constructSolution.Code.Replace("/", "-") + ".doc"); - if (File.Exists(newUrl)) - { - File.Delete(newUrl); - } - File.Copy(uploadfilepath, newUrl); - Document doc = new Aspose.Words.Document(newUrl); - - Bookmark bookmarkSolutionName = doc.Range.Bookmarks["SolutionName"]; - if (bookmarkSolutionName != null) - { - bookmarkSolutionName.Text = constructSolution.SolutionName; - } - Bookmark bookmarkProjectName = doc.Range.Bookmarks["projectName"]; - Bookmark bookmarkProjectName2 = doc.Range.Bookmarks["projectName2"]; - Bookmark bookmarkprojectNum = doc.Range.Bookmarks["projectNum"]; - Bookmark FileNum = doc.Range.Bookmarks["FileNum"]; - if (FileNum !=null) - { - FileNum.Text = constructSolution.Code; - } - if (bookmarkProjectName != null) - { - var project = ProjectService.GetProjectByProjectId(constructSolution.ProjectId); - if (project != null) - { - bookmarkProjectName.Text = project.ProjectName; - bookmarkProjectName2.Text = project.ProjectName; - bookmarkprojectNum.Text = project.ProjectCode; - } - } - Bookmark bookmarkEdition = doc.Range.Bookmarks["Edition"]; - if (bookmarkEdition != null && constructSolution.Edition.HasValue) - { - bookmarkEdition.Text = "" + (constructSolution.Edition.Value / 10.0).ToString("0.0"); - } - Bookmark bookmarkoption1 = doc.Range.Bookmarks["option1"]; - Bookmark bookmarkAuditer1 = doc.Range.Bookmarks["Auditer1"]; - Bookmark bookmarkAuditDate1 = doc.Range.Bookmarks["AuditDate1"]; - - if (bookmarkoption1 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "ZY").LastOrDefault(); - if (listtemp != null) - { - option += string.Format("{0}\n", listtemp.ApproveIdea); - var user = UserService.GetUserByUserId(listtemp.ApproveMan); - if (user != null) + var list = ChecklistData(); + Grid1.RecordCount = list.Rows.Count; + var CNProfessional = CNProfessionalService.GetCNProfessionalItem(); + var uniWork = UnitWorkService.GetUnitWorkLists(CurrUser.LoginProjectId); + if (list.Rows.Count > 0) + { + for (int i = 0; i < list.Rows.Count; i++) { - bookmarkAuditer1.Text = user.UserName; + if (list.Rows[i]["CNProfessionalCodes"] != null) + { + var code = list.Rows[i]["CNProfessionalCodes"].ToString().Split(','); + var listf = CNProfessional.Where(p => code.Contains(p.Value)).Select(p => p.Text).ToArray(); + list.Rows[i]["CNProfessionalCodes"] = string.Join(",", listf); + } + if (list.Rows[i]["UnitWorkIds"] != null) + { + var code = list.Rows[i]["UnitWorkIds"].ToString().Split(','); + var workid = uniWork.Where(p => code.Contains(p.UnitWorkId)).Select(p => p.UnitWorkName + BLL.UnitWorkService.GetProjectType(p.ProjectType)).ToArray(); + list.Rows[i]["UnitWorkIds"] = string.Join(",", workid); + } } - bookmarkAuditDate1.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - } - bookmarkoption1.Text = option; - } - Bookmark bookmarkoption2 = doc.Range.Bookmarks["option2"]; - Bookmark bookmarkAuditer2 = doc.Range.Bookmarks["Auditer2"]; - Bookmark bookmarkAuditDate2 = doc.Range.Bookmarks["AuditDate2"]; - - if (bookmarkoption2 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "ZL").LastOrDefault(); - if (listtemp != null) - { - option += string.Format("{0}\n", listtemp.ApproveIdea); - var user = UserService.GetUserByUserId(listtemp.ApproveMan); - if (user != null) - { - bookmarkAuditer2.Text = user.UserName; - } - bookmarkAuditDate2.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - bookmarkoption2.Text = option; - } - - - - - - Bookmark bookmarkoption3 = doc.Range.Bookmarks["option3"]; - Bookmark bookmarkAuditer3 = doc.Range.Bookmarks["Auditer3"]; - Bookmark bookmarkAuditDate3 = doc.Range.Bookmarks["AuditDate3"]; - - if (bookmarkoption3 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "AQ").ToList(); - Model.Solution_CQMSConstructSolutionApprove lastApprove = null; - for (int i = 0; i < listtemp.Count; i++) - { - var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); - if (puser.RoleId.Contains(Const.HSSEEngineer)) - { - lastApprove = listtemp[i]; - } - - } - if(lastApprove != null) - { - option += string.Format("{0}\n", lastApprove.ApproveIdea); - - var user = UserService.GetUserByUserId(lastApprove.ApproveMan); - if (user != null) - { - bookmarkAuditer3.Text = user.UserName; - } - bookmarkAuditDate3.Text = lastApprove.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - - bookmarkoption3.Text = option; - } - Bookmark bookmarkoption4 = doc.Range.Bookmarks["option4"]; - Bookmark bookmarkAuditer4 = doc.Range.Bookmarks["Auditer4"]; - Bookmark bookmarkAuditDate4 = doc.Range.Bookmarks["AuditDate4"]; - - if (bookmarkoption4 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "AQ").ToList(); - Model.Solution_CQMSConstructSolutionApprove lastApprove = null; - - for (int i = 0; i < listtemp.Count; i++) - { - var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); - if (puser.RoleId.Contains(Const.HSSEManager)) - { - lastApprove = listtemp[i]; - } - - } - if (lastApprove != null) - { - option += string.Format("{0}\n", lastApprove.ApproveIdea); - var user = UserService.GetUserByUserId(lastApprove.ApproveMan); - if (user != null) - { - bookmarkAuditer4.Text = user.UserName; - } - bookmarkAuditDate4.Text = lastApprove.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - - bookmarkoption4.Text = option; - } - Bookmark bookmarkoption5 = doc.Range.Bookmarks["option5"]; - Bookmark bookmarkAuditer5 = doc.Range.Bookmarks["Auditer5"]; - Bookmark bookmarkAuditDate5 = doc.Range.Bookmarks["AuditDate5"]; - if (bookmarkoption5 != null) - { - string option = ""; - var listtemp = list.Where(u => u.SignType == "SG").LastOrDefault(); - if (listtemp != null) - { - option += string.Format("{0}\n", listtemp.ApproveIdea); - var user = UserService.GetUserByUserId(listtemp.ApproveMan); - if (user != null) - { - bookmarkAuditer5.Text = user.UserName; - } - bookmarkAuditDate5.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); - - } - bookmarkoption5.Text = option; - } - doc.Save(newUrl); - - Document doc1 = new Aspose.Words.Document(newUrl); - //验证参数 - if (doc1 == null) { throw new Exception("Word文件无效"); } - string fileName = Path.GetFileName(newUrl); - FileInfo info = new FileInfo(newUrl); - long fileSize = info.Length; - Response.Clear(); - Response.ContentType = "application/x-zip-compressed"; - Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); - Response.AddHeader("Content-Length", fileSize.ToString()); - Response.TransmitFile(newUrl, 0, fileSize); - Response.Flush(); - Response.Close(); - File.Delete(newUrl); + } + list = GetFilteredTable(Grid1.FilteredData, list); + var table = GetPagedDataTable(Grid1, list); + Grid1.DataSource = table; + Grid1.DataBind(); } - else if (e.CommandName == "attchUrl") + protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) { - Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); - - if (constructSolution != null) - { - PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/Solution&menuId={2}", - -1, constructSolution.ConstructSolutionId + constructSolution.Edition, Const.CQMSConstructSolutionMenuId))); - } - - } - } - protected void btnQuery_Click(object sender, EventArgs e) - { - BindGrid(); - } - - protected void btnRset_Click(object sender, EventArgs e) - { - drpSolutionType.SelectedIndex = 0; - drpProposeUnit.SelectedIndex = 0; - drpUnitWork.SelectedIndex = 0; - drpCNProfessional.SelectedIndex = 0; - drpState.SelectedIndex = 0; - BindGrid(); - } - - protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) - { - Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); - BindGrid(); - } - - protected void btnMenuModify_Click(object sender, EventArgs e) - { - if (Grid1.SelectedRowIndexArray.Length == 0) - { - Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); - return; - } - string id = Grid1.SelectedRowID.Split(',')[0]; - Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); - if (constructSolution.State == Const.CQMSConstructSolution_Complete) - { - Alert.ShowInTop("该方案已经审批完成,无法操作,请右键查看!", MessageBoxIcon.Warning); - return; - } - else if (constructSolution.State == Const.CQMSConstructSolution_Compile) - { - if (constructSolution.CompileMan == CurrUser.UserId || CurrUser.UserId == Const.sysglyId) - { - - PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); - } - else - { - Alert.ShowInTop("您不是编制人,无法操作!请右键查看", MessageBoxIcon.Warning); - return; - } - } - else if (constructSolution.State == Const.CQMSConstructSolution_Audit || constructSolution.State == Const.CQMSConstructSolution_ReCompile) - { - Model.Solution_CQMSConstructSolutionApprove approve = CQMSConstructSolutionApproveService.GetConstructSolutionApproveByApproveMan(id, CurrUser.UserId); - if (approve != null || CurrUser.UserId == Const.sysglyId) - { - PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); - return; - //Response.Redirect("CQMSConstructSolutionAudit.aspx?constructSolutionId=" + id); - //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListView.aspx?CheckControlCode={0}", id, "查看 - "))); - } - else - { - if (constructSolution.CompileMan.Equals(CurrUser.UserId)) - { - PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); - } - else - { - Alert.ShowInTop("您不是办理用户,无法操作!请右键查看", MessageBoxIcon.Warning); + object[] keys = Grid1.DataKeys[e.RowIndex]; + string fileId = string.Empty; + if (keys == null) + { return; - } + } + else + { + fileId = keys[0].ToString(); + } + if (e.CommandName == "exportSuggestion") + { + Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); + var list = CQMSConstructSolutionApproveService.getListDataForExport(fileId); - } - } + string rootPath = Server.MapPath("~/"); + string initTemplatePath = string.Empty; + string uploadfilepath = string.Empty; + string newUrl = string.Empty; - - } - protected void btnOut_Click(object sender, EventArgs e) - { - Response.ClearContent(); - string filename = Funs.GetNewFileName(); - Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("施工组织设计及施工方案" + filename, System.Text.Encoding.UTF8) + ".xls"); - Response.ContentType = "application/excel"; - Response.ContentEncoding = System.Text.Encoding.UTF8; - this.Grid1.PageSize = 100000; - this.BindGrid(); - Response.Write(GetGridTableHtml(Grid1)); - Response.End(); - } - /// - /// 导出方法 - /// - /// - /// - public static string GetGridTableHtml(Grid grid) - { - StringBuilder sb = new StringBuilder(); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - foreach (GridColumn column in grid.Columns) - { - if (column.ColumnID == "exportSuggestion" || column.ColumnID == "exportApproval" || column.ColumnID == "AttchUrl") - { - continue; - } - sb.AppendFormat("", column.HeaderText); - } - sb.Append(""); - foreach (GridRow row in grid.Rows) - { - sb.Append(""); - foreach (GridColumn column in grid.Columns) - { - string html = row.Values[column.ColumnIndex].ToString(); - if (column.ColumnID == "tfPageIndex" && (row.FindControl("lblPageIndex") as AspNet.Label) != null) - { - html = (row.FindControl("lblPageIndex") as AspNet.Label).Text; - } - if (column.ColumnID == "Edition" && (row.FindControl("Label41") as AspNet.Label) != null) - { - html = (row.FindControl("Label41") as AspNet.Label).Text; - } - if (column.ColumnID == "AuditDate" && (row.FindControl("Label2") as AspNet.Label) != null) - { - html = (row.FindControl("Label2") as AspNet.Label).Text; - } - if (column.ColumnID == "State" && (row.FindControl("Label1") as AspNet.Label) != null) - { - html = (row.FindControl("Label1") as AspNet.Label).Text; - } - if (column.ColumnID == "ToAuditMan") - { - html = (row.FindControl("Label3") as AspNet.Label).Text; - } - // 处理CheckBox - if (html.Contains("f-grid-static-checkbox")) - { - if (!html.Contains("f-checked")) + initTemplatePath = Const.ConstructSolutionSuggestTemplateUrl; + uploadfilepath = rootPath + initTemplatePath; + newUrl = uploadfilepath.Replace(".doc", constructSolution.Code.Replace("/", "-") + ".doc"); + if (File.Exists(newUrl)) { - html = "×"; + File.Delete(newUrl); + } + File.Copy(uploadfilepath, newUrl); + Document doc = new Aspose.Words.Document(newUrl); + Bookmark bookmarkSolutionName = doc.Range.Bookmarks["SolutionName"]; + if (bookmarkSolutionName != null) + { + bookmarkSolutionName.Text = constructSolution.SolutionName; + } + Bookmark bookmarkProjectName = doc.Range.Bookmarks["projectName"]; + Bookmark bookmarkProjectName2 = doc.Range.Bookmarks["projectName2"]; + Bookmark bookmarkprojectNum = doc.Range.Bookmarks["projectNum"]; + Bookmark FileNum = doc.Range.Bookmarks["FileNum"]; + if (FileNum != null) + { + FileNum.Text = constructSolution.Code; + } + if (bookmarkProjectName != null) + { + var project = ProjectService.GetProjectByProjectId(constructSolution.ProjectId); + if (project != null) + { + bookmarkProjectName.Text = project.ProjectName; + bookmarkProjectName2.Text = project.ProjectName; + bookmarkprojectNum.Text = project.ProjectCode; + } + } + Bookmark bookmarkEdition = doc.Range.Bookmarks["Edition"]; + if (bookmarkEdition != null && constructSolution.Edition.HasValue) + { + bookmarkEdition.Text = "" + (constructSolution.Edition.Value / 10.0).ToString("0.0"); + } + Bookmark bookmarkoption1 = doc.Range.Bookmarks["option1"]; + Bookmark bookmarkAuditer1 = doc.Range.Bookmarks["Auditer1"]; + Bookmark bookmarkAuditDate1 = doc.Range.Bookmarks["AuditDate1"]; + + if (bookmarkoption1 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "ZY").ToList(); + for (int i = 0; i < listtemp.Count; i++) + { + + option += string.Format("{0}\n", listtemp[i].ApproveIdea); + + } + bookmarkoption1.Text = option; + var temp = list.Where(u => u.SignType == "ZY").LastOrDefault(); + if (temp != null) + { + var user = UserService.GetUserByUserId(temp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer1"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer1.Text = user.UserName; + } + + } + bookmarkAuditDate1.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + } + Bookmark bookmarkoption2 = doc.Range.Bookmarks["option2"]; + Bookmark bookmarkAuditer2 = doc.Range.Bookmarks["Auditer2"]; + Bookmark bookmarkAuditDate2 = doc.Range.Bookmarks["AuditDate2"]; + + + if (bookmarkoption2 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "ZL").ToList(); + for (int i = 0; i < listtemp.Count; i++) + { + + option += string.Format("{0}\n", listtemp[i].ApproveIdea); + + } + bookmarkoption2.Text = option; + + var temp = list.Where(u => u.SignType == "ZL").LastOrDefault(); + if (temp != null) + { + var user = UserService.GetUserByUserId(temp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer2"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer2.Text = user.UserName; + } + } + bookmarkAuditDate2.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + } + Bookmark bookmarkoption3 = doc.Range.Bookmarks["option3"]; + Bookmark bookmarkAuditer3 = doc.Range.Bookmarks["Auditer3"]; + Bookmark bookmarkAuditDate3 = doc.Range.Bookmarks["AuditDate3"]; + + if (bookmarkoption3 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "AQ").ToList(); + for (int i = 0; i < listtemp.Count; i++) + { + var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); + if (puser.RoleId.Contains(Const.HSSEEngineer)) + { + var user = UserService.GetUserByUserId(listtemp[i].ApproveMan); + + option += string.Format("{0}\n", listtemp[i].ApproveIdea); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer3"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer3.Text = user.UserName; + } + } + + + bookmarkAuditDate3.Text = listtemp[i].ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + } + } + bookmarkoption3.Text = option; + + } + Bookmark bookmarkoption4 = doc.Range.Bookmarks["option4"]; + Bookmark bookmarkAuditer4 = doc.Range.Bookmarks["Auditer4"]; + Bookmark bookmarkAuditDate4 = doc.Range.Bookmarks["AuditDate4"]; + + if (bookmarkoption4 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "AQ").ToList(); + for (int i = 0; i < listtemp.Count; i++) + { + var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); + if (puser.RoleId.Contains(Const.HSSEManager)) + { + var user = UserService.GetUserByUserId(listtemp[i].ApproveMan); + + option += string.Format("{0}\n", listtemp[i].ApproveIdea); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer4"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer4.Text = user.UserName; + } + } + bookmarkAuditDate4.Text = listtemp[i].ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + } + } + bookmarkoption4.Text = option; + + + } + Bookmark bookmarkoption5 = doc.Range.Bookmarks["option5"]; + Bookmark bookmarkAuditer5 = doc.Range.Bookmarks["Auditer5"]; + Bookmark bookmarkAuditDate5 = doc.Range.Bookmarks["AuditDate5"]; + if (bookmarkoption5 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "SG").ToList(); + for (int i = 0; i < listtemp.Count; i++) + { + + option += string.Format("{0}\n", listtemp[i].ApproveIdea); + + } + bookmarkoption5.Text = option; + var temp = list.Where(u => u.SignType == "SG").LastOrDefault(); + if (temp != null) + { + var user = UserService.GetUserByUserId(temp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer5"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer5.Text = user.UserName; + } + } + bookmarkAuditDate5.Text = temp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + } + doc.Save(newUrl); + + Document doc1 = new Aspose.Words.Document(newUrl); + //验证参数 + if (doc1 == null) { throw new Exception("Word文件无效"); } + string fileName = Path.GetFileName(newUrl); + FileInfo info = new FileInfo(newUrl); + long fileSize = info.Length; + Response.Clear(); + Response.ContentType = "application/x-zip-compressed"; + Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); + Response.AddHeader("Content-Length", fileSize.ToString()); + Response.TransmitFile(newUrl, 0, fileSize); + Response.Flush(); + Response.Close(); + File.Delete(newUrl); + } + else if (e.CommandName == "exportApproval") + { + Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); + var list = CQMSConstructSolutionApproveService.getListData(fileId); + + string rootPath = Server.MapPath("~/"); + string initTemplatePath = string.Empty; + string uploadfilepath = string.Empty; + string newUrl = string.Empty; + + initTemplatePath = Const.ConstructSolutionApproveTemplateUrl; + uploadfilepath = rootPath + initTemplatePath; + newUrl = uploadfilepath.Replace(".doc", constructSolution.Code.Replace("/", "-") + ".doc"); + if (File.Exists(newUrl)) + { + File.Delete(newUrl); + } + File.Copy(uploadfilepath, newUrl); + Document doc = new Aspose.Words.Document(newUrl); + + Bookmark bookmarkSolutionName = doc.Range.Bookmarks["SolutionName"]; + if (bookmarkSolutionName != null) + { + bookmarkSolutionName.Text = constructSolution.SolutionName; + } + Bookmark bookmarkProjectName = doc.Range.Bookmarks["projectName"]; + Bookmark bookmarkProjectName2 = doc.Range.Bookmarks["projectName2"]; + Bookmark bookmarkprojectNum = doc.Range.Bookmarks["projectNum"]; + Bookmark FileNum = doc.Range.Bookmarks["FileNum"]; + if (FileNum != null) + { + FileNum.Text = constructSolution.Code; + } + if (bookmarkProjectName != null) + { + var project = ProjectService.GetProjectByProjectId(constructSolution.ProjectId); + if (project != null) + { + bookmarkProjectName.Text = project.ProjectName; + bookmarkProjectName2.Text = project.ProjectName; + bookmarkprojectNum.Text = project.ProjectCode; + } + } + Bookmark bookmarkEdition = doc.Range.Bookmarks["Edition"]; + if (bookmarkEdition != null && constructSolution.Edition.HasValue) + { + bookmarkEdition.Text = "" + (constructSolution.Edition.Value / 10.0).ToString("0.0"); + } + Bookmark bookmarkoption1 = doc.Range.Bookmarks["option1"]; + Bookmark bookmarkAuditer1 = doc.Range.Bookmarks["Auditer1"]; + Bookmark bookmarkAuditDate1 = doc.Range.Bookmarks["AuditDate1"]; + + if (bookmarkoption1 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "ZY").LastOrDefault(); + if (listtemp != null) + { + option += string.Format("{0}\n", listtemp.ApproveIdea); + var user = UserService.GetUserByUserId(listtemp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer1"); + builders.InsertImage(file, 80, 20); + } + else + bookmarkAuditer1.Text = user.UserName; + } + bookmarkAuditDate1.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + } + bookmarkoption1.Text = option; + } + Bookmark bookmarkoption2 = doc.Range.Bookmarks["option2"]; + Bookmark bookmarkAuditer2 = doc.Range.Bookmarks["Auditer2"]; + Bookmark bookmarkAuditDate2 = doc.Range.Bookmarks["AuditDate2"]; + + if (bookmarkoption2 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "ZL").LastOrDefault(); + if (listtemp != null) + { + option += string.Format("{0}\n", listtemp.ApproveIdea); + var user = UserService.GetUserByUserId(listtemp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer2"); + builders.InsertImage(file, 80, 20); + } + else + bookmarkAuditer2.Text = user.UserName; + } + bookmarkAuditDate2.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + bookmarkoption2.Text = option; + } + + + + + + Bookmark bookmarkoption3 = doc.Range.Bookmarks["option3"]; + Bookmark bookmarkAuditer3 = doc.Range.Bookmarks["Auditer3"]; + Bookmark bookmarkAuditDate3 = doc.Range.Bookmarks["AuditDate3"]; + + if (bookmarkoption3 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "AQ").ToList(); + Model.Solution_CQMSConstructSolutionApprove lastApprove = null; + for (int i = 0; i < listtemp.Count; i++) + { + var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); + if (puser.RoleId.Contains(Const.HSSEEngineer)) + { + lastApprove = listtemp[i]; + } + + } + if (lastApprove != null) + { + option += string.Format("{0}\n", lastApprove.ApproveIdea); + + var user = UserService.GetUserByUserId(lastApprove.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer3"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer3.Text = user.UserName; + } + } + bookmarkAuditDate3.Text = lastApprove.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + + bookmarkoption3.Text = option; + } + Bookmark bookmarkoption4 = doc.Range.Bookmarks["option4"]; + Bookmark bookmarkAuditer4 = doc.Range.Bookmarks["Auditer4"]; + Bookmark bookmarkAuditDate4 = doc.Range.Bookmarks["AuditDate4"]; + + if (bookmarkoption4 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "AQ").ToList(); + Model.Solution_CQMSConstructSolutionApprove lastApprove = null; + + for (int i = 0; i < listtemp.Count; i++) + { + var puser = ProjectUserService.GetProjectUserByUserIdProjectId(constructSolution.ProjectId, listtemp[i].ApproveMan); + if (puser.RoleId.Contains(Const.HSSEManager)) + { + lastApprove = listtemp[i]; + } + + } + if (lastApprove != null) + { + option += string.Format("{0}\n", lastApprove.ApproveIdea); + var user = UserService.GetUserByUserId(lastApprove.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer4"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer4.Text = user.UserName; + } + } + bookmarkAuditDate4.Text = lastApprove.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + + bookmarkoption4.Text = option; + } + Bookmark bookmarkoption5 = doc.Range.Bookmarks["option5"]; + Bookmark bookmarkAuditer5 = doc.Range.Bookmarks["Auditer5"]; + Bookmark bookmarkAuditDate5 = doc.Range.Bookmarks["AuditDate5"]; + if (bookmarkoption5 != null) + { + string option = ""; + var listtemp = list.Where(u => u.SignType == "SG").LastOrDefault(); + if (listtemp != null) + { + option += string.Format("{0}\n", listtemp.ApproveIdea); + var user = UserService.GetUserByUserId(listtemp.ApproveMan); + if (user != null) + { + if (!string.IsNullOrEmpty(user.SignatureUrl) && File.Exists(rootPath + user.SignatureUrl)) + { + DocumentBuilder builders = new DocumentBuilder(doc); + var file = rootPath + user.SignatureUrl; + builders.MoveToBookmark("Auditer5"); + builders.InsertImage(file, 80, 20); + } + else + { + bookmarkAuditer5.Text = user.UserName; + } + } + bookmarkAuditDate5.Text = listtemp.ApproveDate.Value.ToString("yyyy年 MM月 dd日"); + + } + bookmarkoption5.Text = option; + } + doc.Save(newUrl); + + Document doc1 = new Aspose.Words.Document(newUrl); + //验证参数 + if (doc1 == null) { throw new Exception("Word文件无效"); } + string fileName = Path.GetFileName(newUrl); + FileInfo info = new FileInfo(newUrl); + long fileSize = info.Length; + Response.Clear(); + Response.ContentType = "application/x-zip-compressed"; + Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); + Response.AddHeader("Content-Length", fileSize.ToString()); + Response.TransmitFile(newUrl, 0, fileSize); + Response.Flush(); + Response.Close(); + File.Delete(newUrl); + } + else if (e.CommandName == "attchUrl") + { + Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(fileId); + + if (constructSolution != null) + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/Solution&menuId={2}", + -1, constructSolution.ConstructSolutionId + constructSolution.Edition, Const.CQMSConstructSolutionMenuId))); + } + + } + } + protected void btnQuery_Click(object sender, EventArgs e) + { + BindGrid(); + } + + protected void btnRset_Click(object sender, EventArgs e) + { + drpSolutionType.SelectedIndex = 0; + drpProposeUnit.SelectedIndex = 0; + drpUnitWork.SelectedIndex = 0; + drpCNProfessional.SelectedIndex = 0; + drpState.SelectedIndex = 0; + BindGrid(); + } + + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + protected void btnMenuModify_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID.Split(',')[0]; + Model.Solution_CQMSConstructSolution constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); + if (constructSolution.State == Const.CQMSConstructSolution_Complete) + { + Alert.ShowInTop("该方案已经审批完成,无法操作,请右键查看!", MessageBoxIcon.Warning); + return; + } + else if (constructSolution.State == Const.CQMSConstructSolution_Compile) + { + if (constructSolution.CompileMan == CurrUser.UserId || CurrUser.UserId == Const.sysglyId) + { + + PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); } else { - html = "√"; + Alert.ShowInTop("您不是编制人,无法操作!请右键查看", MessageBoxIcon.Warning); + return; } - } - if (column.ColumnID == "exportSuggestion" || column.ColumnID == "exportApproval" || column.ColumnID == "AttchUrl") - { - continue; - } - sb.AppendFormat("", html); - // sb.AppendFormat("", html); - } + } + else if (constructSolution.State == Const.CQMSConstructSolution_Audit || constructSolution.State == Const.CQMSConstructSolution_ReCompile) + { + Model.Solution_CQMSConstructSolutionApprove approve = CQMSConstructSolutionApproveService.GetConstructSolutionApproveByApproveMan(id, CurrUser.UserId); + if (approve != null || CurrUser.UserId == Const.sysglyId) + { + PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); + return; + //Response.Redirect("CQMSConstructSolutionAudit.aspx?constructSolutionId=" + id); + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListView.aspx?CheckControlCode={0}", id, "查看 - "))); + } + else + { + if (constructSolution.CompileMan.Equals(CurrUser.UserId)) + { + PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("EditConstructSolution.aspx?constructSolutionId={0}", id))); + } + else + { + Alert.ShowInTop("您不是办理用户,无法操作!请右键查看", MessageBoxIcon.Warning); + return; + } + + } + } + - sb.Append(""); } - - sb.Append("
{0}
{0}{0}
"); - - return sb.ToString(); - } - - - protected void btnMenuView_Click(object sender, EventArgs e) - { - if (Grid1.SelectedRowIndexArray.Length == 0) + protected void btnOut_Click(object sender, EventArgs e) { - Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); - return; + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("施工组织设计及施工方案" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 100000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); } - string id = Grid1.SelectedRowID.Split(',')[0]; - PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("ConstructSolutionView.aspx?constructSolutionId={0}", id))); - - } - - protected void btnMenuDel_Click(object sender, EventArgs e) - { - if (Grid1.SelectedRowIndexArray.Length == 0) + /// + /// 导出方法 + /// + /// + /// + public static string GetGridTableHtml(Grid grid) { - Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); - return; + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + + foreach (GridColumn column in grid.Columns) + { + if (column.ColumnID == "exportSuggestion" || column.ColumnID == "exportApproval" || column.ColumnID == "AttchUrl") + { + continue; + } + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfPageIndex" && (row.FindControl("lblPageIndex") as AspNet.Label) != null) + { + html = (row.FindControl("lblPageIndex") as AspNet.Label).Text; + } + if (column.ColumnID == "Edition" && (row.FindControl("Label41") as AspNet.Label) != null) + { + html = (row.FindControl("Label41") as AspNet.Label).Text; + } + if (column.ColumnID == "AuditDate" && (row.FindControl("Label2") as AspNet.Label) != null) + { + html = (row.FindControl("Label2") as AspNet.Label).Text; + } + if (column.ColumnID == "State" && (row.FindControl("Label1") as AspNet.Label) != null) + { + html = (row.FindControl("Label1") as AspNet.Label).Text; + } + if (column.ColumnID == "ToAuditMan") + { + html = (row.FindControl("Label3") as AspNet.Label).Text; + } + // 处理CheckBox + if (html.Contains("f-grid-static-checkbox")) + { + if (!html.Contains("f-checked")) + { + html = "×"; + } + else + { + html = "√"; + } + } + if (column.ColumnID == "exportSuggestion" || column.ColumnID == "exportApproval" || column.ColumnID == "AttchUrl") + { + continue; + } + sb.AppendFormat("", html); + // sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}{0}
"); + + return sb.ToString(); } - string id = Grid1.SelectedRowID.Split(',')[0]; - if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.UserId, Const.CQMSConstructSolutionMenuId, Const.BtnDelete)) + + + protected void btnMenuView_Click(object sender, EventArgs e) { - var constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); - HSSEConstructSolutionService.DeleteConstructSolutionByCQMSConstructSolutionId(id); - CQMSConstructSolutionApproveService.DeleteConstructSolutionApprovesByConstructSolutionId(id); - CQMSConstructSolutionService.DeleteConstructSolution(id); - LogService.AddSys_Log(CurrUser, constructSolution.Code, id, Const.CQMSConstructSolutionMenuId, "删除方案审查"); - BindGrid(); - Alert.ShowInTop("删除成功!", MessageBoxIcon.Success); + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID.Split(',')[0]; + PageContext.RegisterStartupScript(window_tt.GetShowReference(String.Format("ConstructSolutionView.aspx?constructSolutionId={0}", id))); } - else + + protected void btnMenuDel_Click(object sender, EventArgs e) { - Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Success); + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID.Split(',')[0]; + if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.UserId, Const.CQMSConstructSolutionMenuId, Const.BtnDelete)) + { + var constructSolution = CQMSConstructSolutionService.GetConstructSolutionByConstructSolutionId(id); + HSSEConstructSolutionService.DeleteConstructSolutionByCQMSConstructSolutionId(id); + CQMSConstructSolutionApproveService.DeleteConstructSolutionApprovesByConstructSolutionId(id); + CQMSConstructSolutionService.DeleteConstructSolution(id); + LogService.AddSys_Log(CurrUser, constructSolution.Code, id, Const.CQMSConstructSolutionMenuId, "删除方案审查"); + BindGrid(); + Alert.ShowInTop("删除成功!", MessageBoxIcon.Success); + + } + else + { + Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Success); + } } - } - protected void Window1_Close(object sender, WindowCloseEventArgs e) - { - BindGrid(); - } + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } - protected void window_tt_Close(object sender, WindowCloseEventArgs e) - { - BindGrid(); - } + protected void window_tt_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } - protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) - { - btnMenuModify_Click(sender, e); - } + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + btnMenuModify_Click(sender, e); + } - protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) - { - Grid1.PageIndex = e.NewPageIndex; - BindGrid(); - } - } + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + Grid1.PageIndex = e.NewPageIndex; + BindGrid(); + } + } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/Solution/施工组织设计或(专项)施工方案审批确认表E21028-13HJ-SU-001.doc b/SGGL/FineUIPro.Web/File/Word/CQMS/Solution/施工组织设计或(专项)施工方案审批确认表E21028-13HJ-SU-001.doc deleted file mode 100644 index 80dcbf0d07b6a400b9593bfdcaa2cbd7f93ff45f..0000000000000000000000000000000000000000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LIV*sp7o6d} zeOs8DY*7@ - + - + + + diff --git a/SGGL/FineUIPro.Web/ZHGL/ServerCheck/SubUnitReport.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/ServerCheck/SubUnitReport.aspx.cs index be22e5e0..7b025064 100644 --- a/SGGL/FineUIPro.Web/ZHGL/ServerCheck/SubUnitReport.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/ServerCheck/SubUnitReport.aspx.cs @@ -285,32 +285,29 @@ namespace FineUIPro.Web.ZHGL.ServerCheck private void UpSubUnitReport(string SubUnitReportId) { ///创建客户端服务 - //var poxy = Web.ServiceProxy.CreateServiceClient(); - //poxy.DataInsertSupervise_SubUnitReportItemItemTableCompleted += new EventHandler(poxy_DataInsertSupervise_SubUnitReportTableCompleted); - //var subUnitReport = from x in Funs.DB.View_Supervise_SubUnitReportItem - // // join y in Funs.DB.AttachFile on x.SubUnitReportItemId equals y.ToKeyId - // where x.SubUnitReportId == SubUnitReportId && (x.UpState == BLL.Const.UpState_2 || x.UpState == BLL.Const.UpState_4 || x.UpState == null) - // select new HSSEService.Supervise_SubUnitReportItem - // { - // SubUnitReportItemId = x.SubUnitReportItemId, - // ReportTitle = x.ReportTitle, - // ReportContent = x.ReportContent, - // // AttachUrl = x.AttachUrl, - // ReportDate = x.ReportDate, - // State = x.State, - // ////附件转为字节传送 - // //FileContext = FileStructService.GetFileStructByAttachUrl(x.AttachUrl), - - // AttachFileId = x.AttachFileId, - // ToKeyId = x.ToKeyId, - // AttachSource = x.AttachSource, - // AttachUrl = x.AttachUrl, - // ////附件转为字节传送 - // FileContext = FileStructService.GetMoreFileStructByAttachUrl(x.AttachUrl), - - // }; - //poxy.DataInsertSupervise_SubUnitReportItemItemTableAsync(subUnitReport.ToList()); - } + if (!string.IsNullOrEmpty(this.trSubUnitReport.SelectedNodeID)) + { + SaveData(BLL.Const.UpState_2); + string code = CNCECHSSEGetWebService.UpSupervise_SubUnitReportItem(this.SubUnitReportId, this.CurrUser); + if (code == "1") + { + ShowNotify("同步成功!", MessageBoxIcon.Success); + this.InitTreeMenu(); + this.EmptyText(); + } + else + { + Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error); + } + this.InitTreeMenu(); + this.EmptyText(); + } + else + { + ShowNotify("请选择上报名称!", MessageBoxIcon.Warning); + return; + } + } /// /// 企业安全文件上报到集团公司 diff --git a/SGGL/FineUIPro.Web/common/ServiceProxy.cs b/SGGL/FineUIPro.Web/common/ServiceProxy.cs index 591644fc..87caa21b 100644 --- a/SGGL/FineUIPro.Web/common/ServiceProxy.cs +++ b/SGGL/FineUIPro.Web/common/ServiceProxy.cs @@ -10,24 +10,24 @@ public static class ServiceProxy { - ///// - ///// 创建客户端服务 - ///// - //public static HSSEService.HSSEServiceClient CreateServiceClient() - //{ - // string address = ConfigurationManager.AppSettings["endpoint"]; - // var proxy = new HSSEService.HSSEServiceClient(); - // ConfigEndpointAddress(proxy, address); - // return proxy; - //} + ///// + ///// 创建客户端服务 + ///// + public static BLL.CNCECHSSEService.HSSEServiceClient CreateServiceClient() + { + string address = ConfigurationManager.AppSettings["endpoint"]; + var proxy = new BLL.CNCECHSSEService.HSSEServiceClient(); + ConfigEndpointAddress(proxy, address); + return proxy; + } - /// - /// 根据web.config中服务器端主机地址配置服务通道的终端地址。 - /// - /// 通道类型 - /// 代理 - /// 服务访问地址 - public static void ConfigEndpointAddress(System.ServiceModel.ClientBase proxy, string endpointAddress) + /// + /// 根据web.config中服务器端主机地址配置服务通道的终端地址。 + /// + /// 通道类型 + /// 代理 + /// 服务访问地址 + public static void ConfigEndpointAddress(System.ServiceModel.ClientBase proxy, string endpointAddress) where TChannel : class { Uri endpointUri = new Uri(endpointAddress); diff --git a/SGGL/WebAPI/Controllers/HSSE/TestRecordController.cs b/SGGL/WebAPI/Controllers/HSSE/TestRecordController.cs index d97c3654..131648b4 100644 --- a/SGGL/WebAPI/Controllers/HSSE/TestRecordController.cs +++ b/SGGL/WebAPI/Controllers/HSSE/TestRecordController.cs @@ -369,17 +369,17 @@ namespace WebAPI.Controllers { getTestRecord.Signature = Signature; getTestRecord.TestEndTime = DateTime.Now; - var getRItem = db.Training_TestRecordItem.Where(x => x.TestRecordId == testRecordId); - if (getRItem.Count() > 0) - { - getTestRecord.TestScores = getRItem.Sum(x => x.SubjectScore ?? 0); - } + // var getRItem = db.Training_TestRecordItem.Where(x => x.TestRecordId == testRecordId); + // if (getRItem.Count() > 0) + // { + getTestRecord.TestScores = db.Training_TestRecordItem.Where(x => x.TestRecordId == testRecordId).Sum(x => x.SubjectScore ?? 0); + // } db.SubmitChanges(); getTestScores = getTestRecord.TestScores ?? 0; } ////考试分数 - int getPassScores = SysConstSetService.getPassScore(); + int getPassScores = SysConstSetService.getPassScoreForApi(); if (getTestScores <= getPassScores) { int testCount = db.Training_TestRecord.Where(x => x.TestPlanId == getTestRecord.TestPlanId && x.TestManId == getTestRecord.TestManId).Count();