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("{0} | ", 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("{0} | ", html);
- // sb.AppendFormat("{0} | ", 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("
");
-
- 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("{0} | ", 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("{0} | ", html);
+ // sb.AppendFormat("{0} | ", html);
+ }
+
+ sb.Append("
");
+ }
+
+ sb.Append("
");
+
+ 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 80dcbf0d..00000000
--- a/SGGL/FineUIPro.Web/File/Word/CQMS/Solution/施工组织设计或(专项)施工方案审批确认表E21028-13HJ-SU-001.doc
+++ /dev/null
@@ -1,35 +0,0 @@
-
- 大体积混凝土施工方案审批表
-|文件编号 | |
-|: | |
-|发布日期 |年 月 |
-|: | |
-
-| |
-|工程施工组织设计/(专项)施工方案 |
-| |
-|审批确认: |
-| |
-| |
-|施工专业工程师 项目经理(签字) |
-|审批确认: |
-| |
-| |
-| |
-|施工技术质量负责人(签字): |
-|审批确认: |
-| |
-| |
-| |
-| |
-| |
-|HSE 工程师 : 总监理工程师(签字、加盖执业印章) |
-|审批确认 |
-| |
-| |
-|HSE经理: 建设单位代表(签字) |
-|审批确认 |
-| |
-| |
-|施工经理:_________________ |
-
diff --git a/SGGL/FineUIPro.Web/SysManage/UserListEdit.aspx b/SGGL/FineUIPro.Web/SysManage/UserListEdit.aspx
index edc8041a..11ddce78 100644
--- a/SGGL/FineUIPro.Web/SysManage/UserListEdit.aspx
+++ b/SGGL/FineUIPro.Web/SysManage/UserListEdit.aspx
@@ -48,14 +48,16 @@
-
+
-
+
+
+
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();