18
This commit is contained in:
parent
239ccfc732
commit
2e8e87e8c5
|
|
@ -75,6 +75,7 @@
|
||||||
<Compile Include="SFC\UserDa.cs" />
|
<Compile Include="SFC\UserDa.cs" />
|
||||||
<Compile Include="SysCommon\CustomFieldDa.cs" />
|
<Compile Include="SysCommon\CustomFieldDa.cs" />
|
||||||
<Compile Include="SysCommon\EmailConfigDa.cs" />
|
<Compile Include="SysCommon\EmailConfigDa.cs" />
|
||||||
|
<Compile Include="SysCommon\EquipmentJumpPlanCheckDa.cs" />
|
||||||
<Compile Include="SysCommon\SysConfigDa.cs" />
|
<Compile Include="SysCommon\SysConfigDa.cs" />
|
||||||
<Compile Include="SystemUtil.cs" />
|
<Compile Include="SystemUtil.cs" />
|
||||||
<Compile Include="TagAccess.cs" />
|
<Compile Include="TagAccess.cs" />
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,87 @@ BEGIN
|
||||||
(N'BIZ_EQUIP', N'设备', N'BIZ', N'SYSADMIN', GETDATE() );
|
(N'BIZ_EQUIP', N'设备', N'BIZ', N'SYSADMIN', GETDATE() );
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
/* 跳过当天保养计划校验 */
|
||||||
|
IF NOT EXISTS
|
||||||
|
(
|
||||||
|
SELECT TOP (1)
|
||||||
|
*
|
||||||
|
FROM dbo.Auths WITH (NOLOCK)
|
||||||
|
WHERE AuthCode = 'BIZ_EQUIP_JUMP_CHECK'
|
||||||
|
)
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO SFCData.dbo.Auths
|
||||||
|
(
|
||||||
|
AuthCode,
|
||||||
|
AuthName,
|
||||||
|
FatherAuthCode,
|
||||||
|
CreateBy,
|
||||||
|
CreateOn
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(N'BIZ_EQUIP_JUMP_CHECK', N'跳过当天保养计划校验', N'BIZ_EQUIP', N'SYSADMIN', GETDATE() );
|
||||||
|
END;
|
||||||
|
|
||||||
|
IF NOT EXISTS
|
||||||
|
(
|
||||||
|
SELECT TOP (1)
|
||||||
|
*
|
||||||
|
FROM dbo.Auths WITH (NOLOCK)
|
||||||
|
WHERE AuthCode = 'BIZ_EQUIP_JUMP_CHECK_01'
|
||||||
|
)
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO SFCData.dbo.Auths
|
||||||
|
(
|
||||||
|
AuthCode,
|
||||||
|
AuthName,
|
||||||
|
FatherAuthCode,
|
||||||
|
CreateBy,
|
||||||
|
CreateOn
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(N'BIZ_EQUIP_JUMP_CHECK_01', N'跳过当天保养计划校验查看', N'BIZ_EQUIP_JUMP_CHECK', N'SYSADMIN', GETDATE() );
|
||||||
|
END;
|
||||||
|
|
||||||
|
IF NOT EXISTS
|
||||||
|
(
|
||||||
|
SELECT TOP (1)
|
||||||
|
*
|
||||||
|
FROM dbo.Auths WITH (NOLOCK)
|
||||||
|
WHERE AuthCode = 'BIZ_EQUIP_JUMP_CHECK_02'
|
||||||
|
)
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO SFCData.dbo.Auths
|
||||||
|
(
|
||||||
|
AuthCode,
|
||||||
|
AuthName,
|
||||||
|
FatherAuthCode,
|
||||||
|
CreateBy,
|
||||||
|
CreateOn
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(N'BIZ_EQUIP_JUMP_CHECK_02', N'跳过当天保养计划校验新增', N'BIZ_EQUIP_JUMP_CHECK', N'SYSADMIN', GETDATE() );
|
||||||
|
END;
|
||||||
|
|
||||||
|
IF NOT EXISTS
|
||||||
|
(
|
||||||
|
SELECT TOP (1)
|
||||||
|
*
|
||||||
|
FROM dbo.Auths WITH (NOLOCK)
|
||||||
|
WHERE AuthCode = 'BIZ_EQUIP_JUMP_CHECK_03'
|
||||||
|
)
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO SFCData.dbo.Auths
|
||||||
|
(
|
||||||
|
AuthCode,
|
||||||
|
AuthName,
|
||||||
|
FatherAuthCode,
|
||||||
|
CreateBy,
|
||||||
|
CreateOn
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(N'BIZ_EQUIP_JUMP_CHECK_03', N'跳过当天保养计划校验删除', N'BIZ_EQUIP_JUMP_CHECK', N'SYSADMIN', GETDATE() );
|
||||||
|
END;
|
||||||
|
|
||||||
/* 软件配置 */
|
/* 软件配置 */
|
||||||
IF NOT EXISTS
|
IF NOT EXISTS
|
||||||
(
|
(
|
||||||
|
|
|
||||||
178
DeviceRepair.DataAccess/SysCommon/EquipmentJumpPlanCheckDa.cs
Normal file
178
DeviceRepair.DataAccess/SysCommon/EquipmentJumpPlanCheckDa.cs
Normal file
|
|
@ -0,0 +1,178 @@
|
||||||
|
using DeviceRepair.DataAccess.Data;
|
||||||
|
using DeviceRepair.Models;
|
||||||
|
using DeviceRepair.Models.Plan;
|
||||||
|
using DeviceRepair.Utils;
|
||||||
|
using NLog;
|
||||||
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
|
||||||
|
|
||||||
|
namespace DeviceRepair.DataAccess.SysCommon
|
||||||
|
{
|
||||||
|
public class EquipmentJumpPlanCheckDa : BaseDa
|
||||||
|
{
|
||||||
|
private static readonly Logger log = LogManager.GetCurrentClassLogger();
|
||||||
|
|
||||||
|
public EquipmentJumpPlanCheckDa(IDictionary<string, string> apiParams) : base(apiParams)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取全部配置信息
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public DataSet GetDatas()
|
||||||
|
{
|
||||||
|
var dsDatas = new DataSet("Datas");
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var EquipmentID = string.Empty;
|
||||||
|
DateTime? CheckDate = null;
|
||||||
|
|
||||||
|
if (ApiParameters.ContainsKey("EquipmentID"))
|
||||||
|
{
|
||||||
|
EquipmentID = base.GetParamString("EquipmentID", "设备编号");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ApiParameters.ContainsKey("CheckDate"))
|
||||||
|
{
|
||||||
|
CheckDate = base.GetParamDateTime("CheckDate", "校验日期");
|
||||||
|
}
|
||||||
|
|
||||||
|
var exp = Expressionable.Create<EquipmentJumpPlanCheckInfo, DeviceInformationInfo>()
|
||||||
|
.And((x, dev) => x.Status == "A")
|
||||||
|
.AndIF(!EquipmentID.IsNull(), (x, dev) => x.EquipmentID == EquipmentID)
|
||||||
|
.AndIF(CheckDate.HasValue, (x, dev) => x.CheckDate == CheckDate.Value)
|
||||||
|
.ToExpression();//拼接表达式
|
||||||
|
|
||||||
|
var Datas = devMain.Queryable<EquipmentJumpPlanCheckInfo, DeviceInformationInfo>((x, dev) => new object[] {
|
||||||
|
JoinType.Inner , x.EquipmentAutoID == dev.AutoID
|
||||||
|
}).Where(exp)?.Select((x, dev) => new
|
||||||
|
{
|
||||||
|
AutoID = x.AutoID,
|
||||||
|
EquipmentAutoID = x.EquipmentAutoID,
|
||||||
|
CheckDate = x.CheckDate,
|
||||||
|
CreateBy = x.CreateBy,
|
||||||
|
CreateClient = x.CreateClient,
|
||||||
|
CreateOn = x.CreateOn,
|
||||||
|
EquipmentID = x.EquipmentID,
|
||||||
|
EquipmentName = dev.EquipmentName,
|
||||||
|
Status = x.Status
|
||||||
|
}).ToList();
|
||||||
|
var table = Datas.ToDataTable();
|
||||||
|
dsDatas.Tables.Add(table);
|
||||||
|
return dsDatas;
|
||||||
|
}
|
||||||
|
catch (SqlException sqlEx)
|
||||||
|
{
|
||||||
|
throw sqlEx;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据新增
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public APIResponseData DataNews()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var EquipmentID = base.GetParamString("EquipmentID", "设备编号");
|
||||||
|
var CheckDate = base.GetParamDateTime("CheckDate", "校验日期");
|
||||||
|
int OperationID = base.GetParamInt("OPERATORAUTOID", "操作员");
|
||||||
|
|
||||||
|
var dev = devMain.Queryable<DeviceInformationInfo>().First(x => x.EquipmentID.Equals(EquipmentID, StringComparison.CurrentCultureIgnoreCase));
|
||||||
|
if (dev == null)
|
||||||
|
throw new ArgumentException($"没有找到设备编号为【{EquipmentID}】的设备!");
|
||||||
|
|
||||||
|
var Item = new EquipmentJumpPlanCheckInfo
|
||||||
|
{
|
||||||
|
CheckDate = CheckDate.Date,
|
||||||
|
EquipmentAutoID = dev.AutoID,
|
||||||
|
EquipmentID = dev.EquipmentID,
|
||||||
|
Status = "A",
|
||||||
|
CreateBy = OperationID,
|
||||||
|
CreateClient = ApiParameters["CLIENTNAME"],
|
||||||
|
CreateOn = DateTime.Now
|
||||||
|
};
|
||||||
|
|
||||||
|
devMain.BeginTran();
|
||||||
|
if (devMain.Insertable(Item).ExecuteCommand() > 0)
|
||||||
|
{
|
||||||
|
devMain.CommitTran();
|
||||||
|
return new APIResponseData { Code = 1 };
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
return new APIResponseData { Code = -1, Message = "操作失败!" };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (SqlException sqlEx)
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
throw sqlEx;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
log.Error(ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除操作
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public APIResponseData DataDel()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var AutoID = base.GetParamInt("AutoID", "主键编号");
|
||||||
|
var Item = devMain.Queryable<EquipmentJumpPlanCheckInfo>().First(x => x.AutoID == AutoID);
|
||||||
|
if (Item == null)
|
||||||
|
throw new ArgumentNullException("当前数据不存在或已被其他人处理!");
|
||||||
|
|
||||||
|
int OperationID = base.GetParamInt("OPERATORAUTOID", "操作员");
|
||||||
|
|
||||||
|
Item.Status = "C";
|
||||||
|
Item.ModifyBy = OperationID;
|
||||||
|
Item.ModifyClient = ApiParameters["CLIENTNAME"];
|
||||||
|
Item.ModifyOn = DateTime.Now;
|
||||||
|
|
||||||
|
devMain.BeginTran();
|
||||||
|
if (devMain.Updateable(Item).ExecuteCommand() > 0)
|
||||||
|
{
|
||||||
|
devMain.CommitTran();
|
||||||
|
return new APIResponseData { Code = 1 };
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
return new APIResponseData { Code = -1, Message = "操作失败!" };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (SqlException sqlEx)
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
throw sqlEx;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
devMain.RollbackTran();
|
||||||
|
log.Error(ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -129,6 +129,7 @@
|
||||||
<Compile Include="Plan\DailyPlanCompleteStatus.cs" />
|
<Compile Include="Plan\DailyPlanCompleteStatus.cs" />
|
||||||
<Compile Include="Plan\DriveMaintenancePlanExcelModel.cs" />
|
<Compile Include="Plan\DriveMaintenancePlanExcelModel.cs" />
|
||||||
<Compile Include="Plan\DriveMaintencePlanDailyInfo.cs" />
|
<Compile Include="Plan\DriveMaintencePlanDailyInfo.cs" />
|
||||||
|
<Compile Include="Plan\EquipmentJumpPlanCheckInfo.cs" />
|
||||||
<Compile Include="Plan\PlanItemDates.cs" />
|
<Compile Include="Plan\PlanItemDates.cs" />
|
||||||
<Compile Include="Plan\PlanProgress.cs" />
|
<Compile Include="Plan\PlanProgress.cs" />
|
||||||
<Compile Include="Plan\PlanRecordFormInfo.cs" />
|
<Compile Include="Plan\PlanRecordFormInfo.cs" />
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,8 @@
|
||||||
|
|
||||||
Get_SFC_Auths = 16,
|
Get_SFC_Auths = 16,
|
||||||
|
|
||||||
|
Get_JumpCheck = 17,
|
||||||
|
|
||||||
Attachment = 99
|
Attachment = 99
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
79
DeviceRepair.Models/Plan/EquipmentJumpPlanCheckInfo.cs
Normal file
79
DeviceRepair.Models/Plan/EquipmentJumpPlanCheckInfo.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace DeviceRepair.Models.Plan
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 跳过指定日期的SFC设备使用前校验是否完成保养计划
|
||||||
|
/// </summary>
|
||||||
|
[SugarTable("EquipmentJumpPlanCheck")]
|
||||||
|
public class EquipmentJumpPlanCheckInfo
|
||||||
|
{
|
||||||
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||||
|
public virtual int AutoID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设备编号
|
||||||
|
/// </summary>
|
||||||
|
public virtual int EquipmentAutoID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设备编号
|
||||||
|
/// </summary>
|
||||||
|
public virtual string EquipmentID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设备名称
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(IsIgnore = true)]
|
||||||
|
public virtual string EquipmentName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 跳过校验日期
|
||||||
|
/// </summary>
|
||||||
|
public virtual DateTime CheckDate { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 状态
|
||||||
|
/// A 创建,正常状态
|
||||||
|
/// C 删除,关闭状态
|
||||||
|
/// </summary>
|
||||||
|
public virtual string Status { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建人
|
||||||
|
/// </summary>
|
||||||
|
public virtual int CreateBy { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建日期
|
||||||
|
/// </summary>
|
||||||
|
public virtual DateTime CreateOn { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建人名称
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(IsIgnore = true)]
|
||||||
|
public virtual string CreatebyName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 操作人设备名称
|
||||||
|
/// </summary>
|
||||||
|
public virtual string CreateClient { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改人
|
||||||
|
/// </summary>
|
||||||
|
public virtual int ModifyBy { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改时间
|
||||||
|
/// </summary>
|
||||||
|
public virtual DateTime ModifyOn { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改操作人设备名称
|
||||||
|
/// </summary>
|
||||||
|
public virtual string ModifyClient { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
DeviceRepairAndOptimization.sln
(Stored with Git LFS)
BIN
DeviceRepairAndOptimization.sln
(Stored with Git LFS)
Binary file not shown.
135
TsSFCDevice.Client.Biz/Impl/EquipmentJumpPlanCheckRepository.cs
Normal file
135
TsSFCDevice.Client.Biz/Impl/EquipmentJumpPlanCheckRepository.cs
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
using DeviceRepair.Models;
|
||||||
|
using DeviceRepair.Models.Plan;
|
||||||
|
using DeviceRepair.Utils;
|
||||||
|
using NLog;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using TsSFCDevice.Client.Biz.Base.Service;
|
||||||
|
using TsSFCDevice.Client.Biz.Base.Utils;
|
||||||
|
|
||||||
|
namespace TsSFCDevice.Client.Biz.Impl
|
||||||
|
{
|
||||||
|
public class EquipmentJumpPlanCheckRepository
|
||||||
|
{
|
||||||
|
private readonly Logger log;
|
||||||
|
private static EquipmentJumpPlanCheckRepository manager;
|
||||||
|
|
||||||
|
private IDictionary<string, string> m_ApiParameters;
|
||||||
|
/// <summary>
|
||||||
|
/// API输入参数
|
||||||
|
/// </summary>
|
||||||
|
public IDictionary<string, string> ApiParameters
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return m_ApiParameters;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
m_ApiParameters = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static EquipmentJumpPlanCheckRepository Instance
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (manager == null)
|
||||||
|
manager = new EquipmentJumpPlanCheckRepository();
|
||||||
|
return manager;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public EquipmentJumpPlanCheckRepository()
|
||||||
|
{
|
||||||
|
log = LogManager.GetCurrentClassLogger();
|
||||||
|
m_ApiParameters = new Dictionary<string, string>();
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 公共
|
||||||
|
|
||||||
|
internal string GetParameters(string cOperator = "", bool bFlag = true)
|
||||||
|
{
|
||||||
|
|
||||||
|
return ParametersObject.GetInstance(cOperator).GetJsonSerialized(m_ApiParameters);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
public IList<EquipmentJumpPlanCheckInfo> GetDatas(string EquipmentID = "", DateTime? CheckDate = null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var Data = new List<EquipmentJumpPlanCheckInfo>();
|
||||||
|
|
||||||
|
byte[] btResults = null;
|
||||||
|
ApiParameters?.Clear();
|
||||||
|
|
||||||
|
if (!EquipmentID.IsNull())
|
||||||
|
ApiParameters.Add("EquipmentID", EquipmentID);
|
||||||
|
if (CheckDate.HasValue)
|
||||||
|
ApiParameters.Add("CheckDate", CheckDate.Value.ToString("yyyy-MM-dd"));
|
||||||
|
|
||||||
|
var Rtn = Utility.SfcBizService.CurrentSvc.GetDatas(DeviceSvc.SysModelType.Get_JumpCheck, GetParameters(), out btResults);
|
||||||
|
if (Rtn.Code != 1)
|
||||||
|
{
|
||||||
|
throw new Exception(Rtn.Message);
|
||||||
|
}
|
||||||
|
DataSet dsResults = CompressionHelper.ExactDataSet(btResults);
|
||||||
|
|
||||||
|
return DTOHelper<EquipmentJumpPlanCheckInfo>.DataTableToList(dsResults.Tables[0]);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex.Message, ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public APIResponseData DataNews(string EquipmentID, DateTime CheckDate)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ApiParameters?.Clear();
|
||||||
|
|
||||||
|
ApiParameters.Add("EquipmentID", EquipmentID);
|
||||||
|
ApiParameters.Add("CheckDate", CheckDate.ToString("yyyy-MM-dd"));
|
||||||
|
|
||||||
|
var Rtn = Utility.SfcBizService.CurrentSvc.News_JumpCheckData(GetParameters());
|
||||||
|
if (Rtn.Code != 1)
|
||||||
|
{
|
||||||
|
throw new Exception(Rtn.Message);
|
||||||
|
}
|
||||||
|
return new APIResponseData { Code = 1, Message = Rtn.Message };
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex.Message, ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public APIResponseData DataRemove(int AutoID)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ApiParameters?.Clear();
|
||||||
|
ApiParameters.Add("AutoID", AutoID + "");
|
||||||
|
|
||||||
|
var Rtn = Utility.SfcBizService.CurrentSvc.Remove_JumpCheckData(GetParameters());
|
||||||
|
if (Rtn.Code != 1)
|
||||||
|
{
|
||||||
|
throw new Exception(Rtn.Message);
|
||||||
|
}
|
||||||
|
return new APIResponseData { Code = 1, Message = Rtn.Message };
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex.Message, ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,7 +7,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using TsSFCDevice.Client.Biz.Base.Service;
|
using TsSFCDevice.Client.Biz.Base.Service;
|
||||||
using TsSFCDevice.Client.Biz.Base.Utils;
|
using TsSFCDevice.Client.Biz.Base.Utils;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@
|
||||||
<Compile Include="Impl\CommonRepository.cs" />
|
<Compile Include="Impl\CommonRepository.cs" />
|
||||||
<Compile Include="Impl\CustomFieldRepository.cs" />
|
<Compile Include="Impl\CustomFieldRepository.cs" />
|
||||||
<Compile Include="Impl\DevRepository.cs" />
|
<Compile Include="Impl\DevRepository.cs" />
|
||||||
|
<Compile Include="Impl\EquipmentJumpPlanCheckRepository.cs" />
|
||||||
<Compile Include="Impl\MaintenanceRepository.cs" />
|
<Compile Include="Impl\MaintenanceRepository.cs" />
|
||||||
<Compile Include="Impl\PlanRepository.cs" />
|
<Compile Include="Impl\PlanRepository.cs" />
|
||||||
<Compile Include="Impl\PreserveRepository.cs" />
|
<Compile Include="Impl\PreserveRepository.cs" />
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/disco/">
|
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||||
<contractRef ref="http://localhost/TsSFCDeviceSvc/MainService.asmx?wsdl" docRef="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
<contractRef ref="http://localhost/TsSFCDeviceSvc/MainService.asmx?wsdl" docRef="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||||
<soap address="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns:q1="http://www.TechScan.cn/" binding="q1:MainServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
<soap address="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns:q1="http://www.TechScan.cn/" binding="q1:MainServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||||
<soap address="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns:q2="http://www.TechScan.cn/" binding="q2:MainServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
<soap address="http://localhost/TsSFCDeviceSvc/MainService.asmx" xmlns:q2="http://www.TechScan.cn/" binding="q2:MainServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://www.TechScan.cn/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.TechScan.cn/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.TechScan.cn/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://www.TechScan.cn/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||||
<wsdl:types>
|
<wsdl:types>
|
||||||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.TechScan.cn/">
|
<s:schema elementFormDefault="qualified" targetNamespace="http://www.TechScan.cn/">
|
||||||
<s:element name="HelloWorld">
|
<s:element name="HelloWorld">
|
||||||
|
|
@ -62,6 +62,7 @@
|
||||||
<s:enumeration value="AM_PLAN_Scheduler" />
|
<s:enumeration value="AM_PLAN_Scheduler" />
|
||||||
<s:enumeration value="SFC_Batch_PE_QE_Email" />
|
<s:enumeration value="SFC_Batch_PE_QE_Email" />
|
||||||
<s:enumeration value="Get_SFC_Auths" />
|
<s:enumeration value="Get_SFC_Auths" />
|
||||||
|
<s:enumeration value="Get_JumpCheck" />
|
||||||
<s:enumeration value="Attachment" />
|
<s:enumeration value="Attachment" />
|
||||||
</s:restriction>
|
</s:restriction>
|
||||||
</s:simpleType>
|
</s:simpleType>
|
||||||
|
|
@ -98,20 +99,6 @@
|
||||||
</s:sequence>
|
</s:sequence>
|
||||||
</s:complexType>
|
</s:complexType>
|
||||||
</s:element>
|
</s:element>
|
||||||
<s:element name="Get_EquipmentPlanIsComplete">
|
|
||||||
<s:complexType>
|
|
||||||
<s:sequence>
|
|
||||||
<s:element minOccurs="0" maxOccurs="1" name="inParams" type="s:string" />
|
|
||||||
</s:sequence>
|
|
||||||
</s:complexType>
|
|
||||||
</s:element>
|
|
||||||
<s:element name="Get_EquipmentPlanIsCompleteResponse">
|
|
||||||
<s:complexType>
|
|
||||||
<s:sequence>
|
|
||||||
<s:element minOccurs="0" maxOccurs="1" name="Get_EquipmentPlanIsCompleteResult" type="tns:APIResponseData" />
|
|
||||||
</s:sequence>
|
|
||||||
</s:complexType>
|
|
||||||
</s:element>
|
|
||||||
<s:element name="Get_DEVICE_TreeDatas">
|
<s:element name="Get_DEVICE_TreeDatas">
|
||||||
<s:complexType>
|
<s:complexType>
|
||||||
<s:sequence>
|
<s:sequence>
|
||||||
|
|
@ -901,6 +888,48 @@
|
||||||
</s:sequence>
|
</s:sequence>
|
||||||
</s:complexType>
|
</s:complexType>
|
||||||
</s:element>
|
</s:element>
|
||||||
|
<s:element name="Get_EquipmentPlanIsComplete">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="inParams" type="s:string" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
|
<s:element name="Get_EquipmentPlanIsCompleteResponse">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="Get_EquipmentPlanIsCompleteResult" type="tns:APIResponseData" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
|
<s:element name="News_JumpCheckData">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="inParams" type="s:string" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
|
<s:element name="News_JumpCheckDataResponse">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="News_JumpCheckDataResult" type="tns:APIResponseData" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
|
<s:element name="Remove_JumpCheckData">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="inParams" type="s:string" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
|
<s:element name="Remove_JumpCheckDataResponse">
|
||||||
|
<s:complexType>
|
||||||
|
<s:sequence>
|
||||||
|
<s:element minOccurs="0" maxOccurs="1" name="Remove_JumpCheckDataResult" type="tns:APIResponseData" />
|
||||||
|
</s:sequence>
|
||||||
|
</s:complexType>
|
||||||
|
</s:element>
|
||||||
<s:element name="UserConfirm">
|
<s:element name="UserConfirm">
|
||||||
<s:complexType>
|
<s:complexType>
|
||||||
<s:sequence>
|
<s:sequence>
|
||||||
|
|
@ -969,15 +998,6 @@
|
||||||
<wsdl:message name="UserLoginSFCAuthorize">
|
<wsdl:message name="UserLoginSFCAuthorize">
|
||||||
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
||||||
</wsdl:message>
|
</wsdl:message>
|
||||||
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapIn">
|
|
||||||
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsComplete" />
|
|
||||||
</wsdl:message>
|
|
||||||
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapOut">
|
|
||||||
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsCompleteResponse" />
|
|
||||||
</wsdl:message>
|
|
||||||
<wsdl:message name="Get_EquipmentPlanIsCompleteSFCAuthorize">
|
|
||||||
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
|
||||||
</wsdl:message>
|
|
||||||
<wsdl:message name="Get_DEVICE_TreeDatasSoapIn">
|
<wsdl:message name="Get_DEVICE_TreeDatasSoapIn">
|
||||||
<wsdl:part name="parameters" element="tns:Get_DEVICE_TreeDatas" />
|
<wsdl:part name="parameters" element="tns:Get_DEVICE_TreeDatas" />
|
||||||
</wsdl:message>
|
</wsdl:message>
|
||||||
|
|
@ -1383,6 +1403,33 @@
|
||||||
<wsdl:message name="EditConfigsSFCAuthorize">
|
<wsdl:message name="EditConfigsSFCAuthorize">
|
||||||
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
||||||
</wsdl:message>
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapIn">
|
||||||
|
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsComplete" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Get_EquipmentPlanIsCompleteSoapOut">
|
||||||
|
<wsdl:part name="parameters" element="tns:Get_EquipmentPlanIsCompleteResponse" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Get_EquipmentPlanIsCompleteSFCAuthorize">
|
||||||
|
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="News_JumpCheckDataSoapIn">
|
||||||
|
<wsdl:part name="parameters" element="tns:News_JumpCheckData" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="News_JumpCheckDataSoapOut">
|
||||||
|
<wsdl:part name="parameters" element="tns:News_JumpCheckDataResponse" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="News_JumpCheckDataSFCAuthorize">
|
||||||
|
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Remove_JumpCheckDataSoapIn">
|
||||||
|
<wsdl:part name="parameters" element="tns:Remove_JumpCheckData" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Remove_JumpCheckDataSoapOut">
|
||||||
|
<wsdl:part name="parameters" element="tns:Remove_JumpCheckDataResponse" />
|
||||||
|
</wsdl:message>
|
||||||
|
<wsdl:message name="Remove_JumpCheckDataSFCAuthorize">
|
||||||
|
<wsdl:part name="SFCAuthorize" element="tns:SFCAuthorize" />
|
||||||
|
</wsdl:message>
|
||||||
<wsdl:message name="UserConfirmSoapIn">
|
<wsdl:message name="UserConfirmSoapIn">
|
||||||
<wsdl:part name="parameters" element="tns:UserConfirm" />
|
<wsdl:part name="parameters" element="tns:UserConfirm" />
|
||||||
</wsdl:message>
|
</wsdl:message>
|
||||||
|
|
@ -1411,11 +1458,6 @@
|
||||||
<wsdl:input message="tns:UserLoginSoapIn" />
|
<wsdl:input message="tns:UserLoginSoapIn" />
|
||||||
<wsdl:output message="tns:UserLoginSoapOut" />
|
<wsdl:output message="tns:UserLoginSoapOut" />
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
|
||||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">判断当前开工设备是否存在未完成的保养计划</wsdl:documentation>
|
|
||||||
<wsdl:input message="tns:Get_EquipmentPlanIsCompleteSoapIn" />
|
|
||||||
<wsdl:output message="tns:Get_EquipmentPlanIsCompleteSoapOut" />
|
|
||||||
</wsdl:operation>
|
|
||||||
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
||||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">获取树形结构</wsdl:documentation>
|
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">获取树形结构</wsdl:documentation>
|
||||||
<wsdl:input message="tns:Get_DEVICE_TreeDatasSoapIn" />
|
<wsdl:input message="tns:Get_DEVICE_TreeDatasSoapIn" />
|
||||||
|
|
@ -1641,6 +1683,21 @@
|
||||||
<wsdl:input message="tns:EditConfigsSoapIn" />
|
<wsdl:input message="tns:EditConfigsSoapIn" />
|
||||||
<wsdl:output message="tns:EditConfigsSoapOut" />
|
<wsdl:output message="tns:EditConfigsSoapOut" />
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
||||||
|
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">判断当前开工设备是否存在未完成的保养计划</wsdl:documentation>
|
||||||
|
<wsdl:input message="tns:Get_EquipmentPlanIsCompleteSoapIn" />
|
||||||
|
<wsdl:output message="tns:Get_EquipmentPlanIsCompleteSoapOut" />
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="News_JumpCheckData">
|
||||||
|
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">跳过指定设备指定日期的设备计划完成校验</wsdl:documentation>
|
||||||
|
<wsdl:input message="tns:News_JumpCheckDataSoapIn" />
|
||||||
|
<wsdl:output message="tns:News_JumpCheckDataSoapOut" />
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Remove_JumpCheckData">
|
||||||
|
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">删除跳过指定设备指定日期的设备计划完成校验</wsdl:documentation>
|
||||||
|
<wsdl:input message="tns:Remove_JumpCheckDataSoapIn" />
|
||||||
|
<wsdl:output message="tns:Remove_JumpCheckDataSoapOut" />
|
||||||
|
</wsdl:operation>
|
||||||
<wsdl:operation name="UserConfirm">
|
<wsdl:operation name="UserConfirm">
|
||||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">电子签</wsdl:documentation>
|
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">电子签</wsdl:documentation>
|
||||||
<wsdl:input message="tns:UserConfirmSoapIn" />
|
<wsdl:input message="tns:UserConfirmSoapIn" />
|
||||||
|
|
@ -1689,16 +1746,6 @@
|
||||||
<soap:body use="literal" />
|
<soap:body use="literal" />
|
||||||
</wsdl:output>
|
</wsdl:output>
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
|
||||||
<soap:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
|
|
||||||
<wsdl:input>
|
|
||||||
<soap:body use="literal" />
|
|
||||||
<soap:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
|
|
||||||
</wsdl:input>
|
|
||||||
<wsdl:output>
|
|
||||||
<soap:body use="literal" />
|
|
||||||
</wsdl:output>
|
|
||||||
</wsdl:operation>
|
|
||||||
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
||||||
<soap:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
|
<soap:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
|
||||||
<wsdl:input>
|
<wsdl:input>
|
||||||
|
|
@ -2149,6 +2196,36 @@
|
||||||
<soap:body use="literal" />
|
<soap:body use="literal" />
|
||||||
</wsdl:output>
|
</wsdl:output>
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
||||||
|
<soap:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
<soap:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="News_JumpCheckData">
|
||||||
|
<soap:operation soapAction="http://www.TechScan.cn/News_JumpCheckData" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
<soap:header message="tns:News_JumpCheckDataSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Remove_JumpCheckData">
|
||||||
|
<soap:operation soapAction="http://www.TechScan.cn/Remove_JumpCheckData" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
<soap:header message="tns:Remove_JumpCheckDataSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
<wsdl:operation name="UserConfirm">
|
<wsdl:operation name="UserConfirm">
|
||||||
<soap:operation soapAction="http://www.TechScan.cn/UserConfirm" style="document" />
|
<soap:operation soapAction="http://www.TechScan.cn/UserConfirm" style="document" />
|
||||||
<wsdl:input>
|
<wsdl:input>
|
||||||
|
|
@ -2202,16 +2279,6 @@
|
||||||
<soap12:body use="literal" />
|
<soap12:body use="literal" />
|
||||||
</wsdl:output>
|
</wsdl:output>
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
|
||||||
<soap12:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
|
|
||||||
<wsdl:input>
|
|
||||||
<soap12:body use="literal" />
|
|
||||||
<soap12:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
|
|
||||||
</wsdl:input>
|
|
||||||
<wsdl:output>
|
|
||||||
<soap12:body use="literal" />
|
|
||||||
</wsdl:output>
|
|
||||||
</wsdl:operation>
|
|
||||||
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
<wsdl:operation name="Get_DEVICE_TreeDatas">
|
||||||
<soap12:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
|
<soap12:operation soapAction="http://www.TechScan.cn/Get_DEVICE_TreeDatas" style="document" />
|
||||||
<wsdl:input>
|
<wsdl:input>
|
||||||
|
|
@ -2662,6 +2729,36 @@
|
||||||
<soap12:body use="literal" />
|
<soap12:body use="literal" />
|
||||||
</wsdl:output>
|
</wsdl:output>
|
||||||
</wsdl:operation>
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Get_EquipmentPlanIsComplete">
|
||||||
|
<soap12:operation soapAction="http://www.TechScan.cn/Get_EquipmentPlanIsComplete" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
<soap12:header message="tns:Get_EquipmentPlanIsCompleteSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="News_JumpCheckData">
|
||||||
|
<soap12:operation soapAction="http://www.TechScan.cn/News_JumpCheckData" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
<soap12:header message="tns:News_JumpCheckDataSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="Remove_JumpCheckData">
|
||||||
|
<soap12:operation soapAction="http://www.TechScan.cn/Remove_JumpCheckData" style="document" />
|
||||||
|
<wsdl:input>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
<soap12:header message="tns:Remove_JumpCheckDataSFCAuthorize" part="SFCAuthorize" use="literal" />
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<soap12:body use="literal" />
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
<wsdl:operation name="UserConfirm">
|
<wsdl:operation name="UserConfirm">
|
||||||
<soap12:operation soapAction="http://www.TechScan.cn/UserConfirm" style="document" />
|
<soap12:operation soapAction="http://www.TechScan.cn/UserConfirm" style="document" />
|
||||||
<wsdl:input>
|
<wsdl:input>
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,12 @@
|
||||||
#pragma warning disable 1591
|
#pragma warning disable 1591
|
||||||
|
|
||||||
namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
using System.Diagnostics;
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Web.Services;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Web.Services.Protocols;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Web.Services.Protocols;
|
|
||||||
using System.Web.Services;
|
|
||||||
using System.Data;
|
using System.Data;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,8 +40,6 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback UserLoginOperationCompleted;
|
private System.Threading.SendOrPostCallback UserLoginOperationCompleted;
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback Get_EquipmentPlanIsCompleteOperationCompleted;
|
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback Get_DEVICE_TreeDatasOperationCompleted;
|
private System.Threading.SendOrPostCallback Get_DEVICE_TreeDatasOperationCompleted;
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback Get_DEVICE_RouteOperationCompleted;
|
private System.Threading.SendOrPostCallback Get_DEVICE_RouteOperationCompleted;
|
||||||
|
|
@ -132,6 +130,12 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback EditConfigsOperationCompleted;
|
private System.Threading.SendOrPostCallback EditConfigsOperationCompleted;
|
||||||
|
|
||||||
|
private System.Threading.SendOrPostCallback Get_EquipmentPlanIsCompleteOperationCompleted;
|
||||||
|
|
||||||
|
private System.Threading.SendOrPostCallback News_JumpCheckDataOperationCompleted;
|
||||||
|
|
||||||
|
private System.Threading.SendOrPostCallback Remove_JumpCheckDataOperationCompleted;
|
||||||
|
|
||||||
private System.Threading.SendOrPostCallback UserConfirmOperationCompleted;
|
private System.Threading.SendOrPostCallback UserConfirmOperationCompleted;
|
||||||
|
|
||||||
private bool useDefaultCredentialsSetExplicitly;
|
private bool useDefaultCredentialsSetExplicitly;
|
||||||
|
|
@ -193,9 +197,6 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
public event UserLoginCompletedEventHandler UserLoginCompleted;
|
public event UserLoginCompletedEventHandler UserLoginCompleted;
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
public event Get_EquipmentPlanIsCompleteCompletedEventHandler Get_EquipmentPlanIsCompleteCompleted;
|
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
public event Get_DEVICE_TreeDatasCompletedEventHandler Get_DEVICE_TreeDatasCompleted;
|
public event Get_DEVICE_TreeDatasCompletedEventHandler Get_DEVICE_TreeDatasCompleted;
|
||||||
|
|
||||||
|
|
@ -331,6 +332,15 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
public event EditConfigsCompletedEventHandler EditConfigsCompleted;
|
public event EditConfigsCompletedEventHandler EditConfigsCompleted;
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public event Get_EquipmentPlanIsCompleteCompletedEventHandler Get_EquipmentPlanIsCompleteCompleted;
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public event News_JumpCheckDataCompletedEventHandler News_JumpCheckDataCompleted;
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public event Remove_JumpCheckDataCompletedEventHandler Remove_JumpCheckDataCompleted;
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
public event UserConfirmCompletedEventHandler UserConfirmCompleted;
|
public event UserConfirmCompletedEventHandler UserConfirmCompleted;
|
||||||
|
|
||||||
|
|
@ -458,36 +468,6 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
|
||||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_EquipmentPlanIsComplete", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
||||||
public APIResponseData Get_EquipmentPlanIsComplete(string inParams) {
|
|
||||||
object[] results = this.Invoke("Get_EquipmentPlanIsComplete", new object[] {
|
|
||||||
inParams});
|
|
||||||
return ((APIResponseData)(results[0]));
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
public void Get_EquipmentPlanIsCompleteAsync(string inParams) {
|
|
||||||
this.Get_EquipmentPlanIsCompleteAsync(inParams, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
public void Get_EquipmentPlanIsCompleteAsync(string inParams, object userState) {
|
|
||||||
if ((this.Get_EquipmentPlanIsCompleteOperationCompleted == null)) {
|
|
||||||
this.Get_EquipmentPlanIsCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_EquipmentPlanIsCompleteOperationCompleted);
|
|
||||||
}
|
|
||||||
this.InvokeAsync("Get_EquipmentPlanIsComplete", new object[] {
|
|
||||||
inParams}, this.Get_EquipmentPlanIsCompleteOperationCompleted, userState);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnGet_EquipmentPlanIsCompleteOperationCompleted(object arg) {
|
|
||||||
if ((this.Get_EquipmentPlanIsCompleteCompleted != null)) {
|
|
||||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
||||||
this.Get_EquipmentPlanIsCompleteCompleted(this, new Get_EquipmentPlanIsCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
||||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_DEVICE_TreeDatas", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_DEVICE_TreeDatas", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||||
|
|
@ -1903,6 +1883,96 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
||||||
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Get_EquipmentPlanIsComplete", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||||
|
public APIResponseData Get_EquipmentPlanIsComplete(string inParams) {
|
||||||
|
object[] results = this.Invoke("Get_EquipmentPlanIsComplete", new object[] {
|
||||||
|
inParams});
|
||||||
|
return ((APIResponseData)(results[0]));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void Get_EquipmentPlanIsCompleteAsync(string inParams) {
|
||||||
|
this.Get_EquipmentPlanIsCompleteAsync(inParams, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void Get_EquipmentPlanIsCompleteAsync(string inParams, object userState) {
|
||||||
|
if ((this.Get_EquipmentPlanIsCompleteOperationCompleted == null)) {
|
||||||
|
this.Get_EquipmentPlanIsCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_EquipmentPlanIsCompleteOperationCompleted);
|
||||||
|
}
|
||||||
|
this.InvokeAsync("Get_EquipmentPlanIsComplete", new object[] {
|
||||||
|
inParams}, this.Get_EquipmentPlanIsCompleteOperationCompleted, userState);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnGet_EquipmentPlanIsCompleteOperationCompleted(object arg) {
|
||||||
|
if ((this.Get_EquipmentPlanIsCompleteCompleted != null)) {
|
||||||
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||||
|
this.Get_EquipmentPlanIsCompleteCompleted(this, new Get_EquipmentPlanIsCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
||||||
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/News_JumpCheckData", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||||
|
public APIResponseData News_JumpCheckData(string inParams) {
|
||||||
|
object[] results = this.Invoke("News_JumpCheckData", new object[] {
|
||||||
|
inParams});
|
||||||
|
return ((APIResponseData)(results[0]));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void News_JumpCheckDataAsync(string inParams) {
|
||||||
|
this.News_JumpCheckDataAsync(inParams, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void News_JumpCheckDataAsync(string inParams, object userState) {
|
||||||
|
if ((this.News_JumpCheckDataOperationCompleted == null)) {
|
||||||
|
this.News_JumpCheckDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnNews_JumpCheckDataOperationCompleted);
|
||||||
|
}
|
||||||
|
this.InvokeAsync("News_JumpCheckData", new object[] {
|
||||||
|
inParams}, this.News_JumpCheckDataOperationCompleted, userState);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnNews_JumpCheckDataOperationCompleted(object arg) {
|
||||||
|
if ((this.News_JumpCheckDataCompleted != null)) {
|
||||||
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||||
|
this.News_JumpCheckDataCompleted(this, new News_JumpCheckDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
||||||
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/Remove_JumpCheckData", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||||
|
public APIResponseData Remove_JumpCheckData(string inParams) {
|
||||||
|
object[] results = this.Invoke("Remove_JumpCheckData", new object[] {
|
||||||
|
inParams});
|
||||||
|
return ((APIResponseData)(results[0]));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void Remove_JumpCheckDataAsync(string inParams) {
|
||||||
|
this.Remove_JumpCheckDataAsync(inParams, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public void Remove_JumpCheckDataAsync(string inParams, object userState) {
|
||||||
|
if ((this.Remove_JumpCheckDataOperationCompleted == null)) {
|
||||||
|
this.Remove_JumpCheckDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemove_JumpCheckDataOperationCompleted);
|
||||||
|
}
|
||||||
|
this.InvokeAsync("Remove_JumpCheckData", new object[] {
|
||||||
|
inParams}, this.Remove_JumpCheckDataOperationCompleted, userState);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnRemove_JumpCheckDataOperationCompleted(object arg) {
|
||||||
|
if ((this.Remove_JumpCheckDataCompleted != null)) {
|
||||||
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||||
|
this.Remove_JumpCheckDataCompleted(this, new Remove_JumpCheckDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
[System.Web.Services.Protocols.SoapHeaderAttribute("SFCAuthorizeValue")]
|
||||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/UserConfirm", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.TechScan.cn/UserConfirm", RequestNamespace="http://www.TechScan.cn/", ResponseNamespace="http://www.TechScan.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||||
|
|
@ -2176,6 +2246,9 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
Get_SFC_Auths,
|
Get_SFC_Auths,
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
Get_JumpCheck,
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
Attachment,
|
Attachment,
|
||||||
}
|
}
|
||||||
|
|
@ -2300,32 +2373,6 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
||||||
public delegate void Get_EquipmentPlanIsCompleteCompletedEventHandler(object sender, Get_EquipmentPlanIsCompleteCompletedEventArgs e);
|
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
||||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
||||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
||||||
public partial class Get_EquipmentPlanIsCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
||||||
|
|
||||||
private object[] results;
|
|
||||||
|
|
||||||
internal Get_EquipmentPlanIsCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
||||||
base(exception, cancelled, userState) {
|
|
||||||
this.results = results;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <remarks/>
|
|
||||||
public APIResponseData Result {
|
|
||||||
get {
|
|
||||||
this.RaiseExceptionIfNecessary();
|
|
||||||
return ((APIResponseData)(this.results[0]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
public delegate void Get_DEVICE_TreeDatasCompletedEventHandler(object sender, Get_DEVICE_TreeDatasCompletedEventArgs e);
|
public delegate void Get_DEVICE_TreeDatasCompletedEventHandler(object sender, Get_DEVICE_TreeDatasCompletedEventArgs e);
|
||||||
|
|
@ -3728,6 +3775,84 @@ namespace TsSFCDevice.Client.Biz.DeviceSvc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
public delegate void Get_EquipmentPlanIsCompleteCompletedEventHandler(object sender, Get_EquipmentPlanIsCompleteCompletedEventArgs e);
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||||
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||||
|
public partial class Get_EquipmentPlanIsCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||||
|
|
||||||
|
private object[] results;
|
||||||
|
|
||||||
|
internal Get_EquipmentPlanIsCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||||
|
base(exception, cancelled, userState) {
|
||||||
|
this.results = results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public APIResponseData Result {
|
||||||
|
get {
|
||||||
|
this.RaiseExceptionIfNecessary();
|
||||||
|
return ((APIResponseData)(this.results[0]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
public delegate void News_JumpCheckDataCompletedEventHandler(object sender, News_JumpCheckDataCompletedEventArgs e);
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||||
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||||
|
public partial class News_JumpCheckDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||||
|
|
||||||
|
private object[] results;
|
||||||
|
|
||||||
|
internal News_JumpCheckDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||||
|
base(exception, cancelled, userState) {
|
||||||
|
this.results = results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public APIResponseData Result {
|
||||||
|
get {
|
||||||
|
this.RaiseExceptionIfNecessary();
|
||||||
|
return ((APIResponseData)(this.results[0]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
public delegate void Remove_JumpCheckDataCompletedEventHandler(object sender, Remove_JumpCheckDataCompletedEventArgs e);
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||||
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||||
|
public partial class Remove_JumpCheckDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||||
|
|
||||||
|
private object[] results;
|
||||||
|
|
||||||
|
internal Remove_JumpCheckDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||||
|
base(exception, cancelled, userState) {
|
||||||
|
this.results = results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <remarks/>
|
||||||
|
public APIResponseData Result {
|
||||||
|
get {
|
||||||
|
this.RaiseExceptionIfNecessary();
|
||||||
|
return ((APIResponseData)(this.results[0]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <remarks/>
|
/// <remarks/>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
||||||
public delegate void UserConfirmCompletedEventHandler(object sender, UserConfirmCompletedEventArgs e);
|
public delegate void UserConfirmCompletedEventHandler(object sender, UserConfirmCompletedEventArgs e);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
<Results>
|
<Results>
|
||||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost/TsSFCDeviceSvc/MainService.asmx?wsdl" filename="MainService.wsdl" />
|
|
||||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost/TsSFCDeviceSvc/MainService.asmx?disco" filename="MainService.disco" />
|
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost/TsSFCDeviceSvc/MainService.asmx?disco" filename="MainService.disco" />
|
||||||
|
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost/TsSFCDeviceSvc/MainService.asmx?wsdl" filename="MainService.wsdl" />
|
||||||
</Results>
|
</Results>
|
||||||
</DiscoveryClientResultsFile>
|
</DiscoveryClientResultsFile>
|
||||||
|
|
@ -37,7 +37,10 @@ namespace TsSFCDevice.Client.Launch
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 跳过当天保养计划校验
|
/// 跳过当天保养计划校验
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly static string PLAN_JUMP_CHECK = "BIZ_EQUIP_PM_PLAN_06";
|
public readonly static string PLAN_JUMP_CHECK = "BIZ_EQUIP_JUMP_CHECK";
|
||||||
|
public readonly static string PLAN_JUMP_CHECK_Watch = "BIZ_EQUIP_JUMP_CHECK_01";
|
||||||
|
public readonly static string PLAN_JUMP_CHECK_Add = "BIZ_EQUIP_JUMP_CHECK_02";
|
||||||
|
public readonly static string PLAN_JUMP_CHECK_DELETE = "BIZ_EQUIP_JUMP_CHECK_03";
|
||||||
|
|
||||||
#region PM 保养计划
|
#region PM 保养计划
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,18 @@
|
||||||
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.DateEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.DateEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraSpreadsheet.SpreadsheetControl, DevExpress.XtraSpreadsheet.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.Repository.RepositoryItemTextEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.Repository.RepositoryItemTextEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraTreeList.TreeList, DevExpress.XtraTreeList.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraTreeList.TreeList, DevExpress.XtraTreeList.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraSpreadsheet.SpreadsheetControl, DevExpress.XtraSpreadsheet.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
using DeviceRepair.Models.Tag;
|
using DeviceRepair.Models.Tag;
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace TsSFCDevice.Client.Launch.Tag
|
namespace TsSFCDevice.Client.Launch.Tag
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -406,6 +406,12 @@
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="sysConfig\pageJumpCheckEdit.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="sysConfig\pageJumpCheckEdit.Designer.cs">
|
||||||
|
<DependentUpon>pageJumpCheckEdit.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="sysConfig\pageJumpCheckView.cs">
|
<Compile Include="sysConfig\pageJumpCheckView.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|
@ -575,6 +581,9 @@
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="sysConfig\pageJumpCheckEdit.resx">
|
||||||
|
<DependentUpon>pageJumpCheckEdit.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="sysConfig\pageJumpCheckView.resx">
|
<EmbeddedResource Include="sysConfig\pageJumpCheckView.resx">
|
||||||
<DependentUpon>pageJumpCheckView.cs</DependentUpon>
|
<DependentUpon>pageJumpCheckView.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|
|
||||||
|
|
@ -977,7 +977,10 @@ namespace TsSFCDevice.Client.Launch
|
||||||
throw new Exception($"当前账号缺少此操作的权限");
|
throw new Exception($"当前账号缺少此操作的权限");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using (pageJumpCheckView view = new pageJumpCheckView())
|
||||||
|
{
|
||||||
|
view.ShowDialog(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
356
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.Designer.cs
generated
Normal file
356
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,356 @@
|
||||||
|
namespace TsSFCDevice.Client.Launch.sysConfig
|
||||||
|
{
|
||||||
|
partial class pageJumpCheckEdit
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(pageJumpCheckEdit));
|
||||||
|
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
|
||||||
|
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.toolbarFormControl1 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormControl();
|
||||||
|
this.toolbarFormManager1 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormManager(this.components);
|
||||||
|
this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
|
||||||
|
this.btnCommit = new DevExpress.XtraBars.BarButtonItem();
|
||||||
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||||
|
this.ipsEquipmentID = new DevExpress.XtraEditors.ButtonEdit();
|
||||||
|
this.ipsCheckDate = new DevExpress.XtraEditors.DateEdit();
|
||||||
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||||
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||||
|
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||||
|
this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||||
|
this.layoutControl1.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID.Properties)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.Properties.CalendarTimeProperties)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.Properties)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// barManager1
|
||||||
|
//
|
||||||
|
this.barManager1.DockControls.Add(this.barDockControlTop);
|
||||||
|
this.barManager1.DockControls.Add(this.barDockControlBottom);
|
||||||
|
this.barManager1.DockControls.Add(this.barDockControlLeft);
|
||||||
|
this.barManager1.DockControls.Add(this.barDockControlRight);
|
||||||
|
this.barManager1.Form = this;
|
||||||
|
//
|
||||||
|
// barDockControlTop
|
||||||
|
//
|
||||||
|
this.barDockControlTop.CausesValidation = false;
|
||||||
|
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.barDockControlTop.Location = new System.Drawing.Point(0, 31);
|
||||||
|
this.barDockControlTop.Manager = this.barManager1;
|
||||||
|
this.barDockControlTop.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.barDockControlTop.Size = new System.Drawing.Size(738, 0);
|
||||||
|
//
|
||||||
|
// barDockControlBottom
|
||||||
|
//
|
||||||
|
this.barDockControlBottom.CausesValidation = false;
|
||||||
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 123);
|
||||||
|
this.barDockControlBottom.Manager = this.barManager1;
|
||||||
|
this.barDockControlBottom.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.barDockControlBottom.Size = new System.Drawing.Size(738, 0);
|
||||||
|
//
|
||||||
|
// barDockControlLeft
|
||||||
|
//
|
||||||
|
this.barDockControlLeft.CausesValidation = false;
|
||||||
|
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
||||||
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
|
||||||
|
this.barDockControlLeft.Manager = this.barManager1;
|
||||||
|
this.barDockControlLeft.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.barDockControlLeft.Size = new System.Drawing.Size(0, 92);
|
||||||
|
//
|
||||||
|
// barDockControlRight
|
||||||
|
//
|
||||||
|
this.barDockControlRight.CausesValidation = false;
|
||||||
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
|
this.barDockControlRight.Location = new System.Drawing.Point(738, 31);
|
||||||
|
this.barDockControlRight.Manager = this.barManager1;
|
||||||
|
this.barDockControlRight.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 92);
|
||||||
|
//
|
||||||
|
// toolbarFormControl1
|
||||||
|
//
|
||||||
|
this.toolbarFormControl1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.toolbarFormControl1.Manager = this.toolbarFormManager1;
|
||||||
|
this.toolbarFormControl1.Name = "toolbarFormControl1";
|
||||||
|
this.toolbarFormControl1.Size = new System.Drawing.Size(738, 31);
|
||||||
|
this.toolbarFormControl1.TabIndex = 4;
|
||||||
|
this.toolbarFormControl1.TabStop = false;
|
||||||
|
this.toolbarFormControl1.TitleItemLinks.Add(this.btnCommit);
|
||||||
|
this.toolbarFormControl1.ToolbarForm = this;
|
||||||
|
//
|
||||||
|
// toolbarFormManager1
|
||||||
|
//
|
||||||
|
this.toolbarFormManager1.DockControls.Add(this.barDockControl1);
|
||||||
|
this.toolbarFormManager1.DockControls.Add(this.barDockControl2);
|
||||||
|
this.toolbarFormManager1.DockControls.Add(this.barDockControl3);
|
||||||
|
this.toolbarFormManager1.DockControls.Add(this.barDockControl4);
|
||||||
|
this.toolbarFormManager1.Form = this;
|
||||||
|
this.toolbarFormManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
||||||
|
this.btnCommit});
|
||||||
|
this.toolbarFormManager1.MaxItemId = 1;
|
||||||
|
//
|
||||||
|
// barDockControl1
|
||||||
|
//
|
||||||
|
this.barDockControl1.CausesValidation = false;
|
||||||
|
this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.barDockControl1.Location = new System.Drawing.Point(0, 31);
|
||||||
|
this.barDockControl1.Manager = this.toolbarFormManager1;
|
||||||
|
this.barDockControl1.Size = new System.Drawing.Size(738, 0);
|
||||||
|
//
|
||||||
|
// barDockControl2
|
||||||
|
//
|
||||||
|
this.barDockControl2.CausesValidation = false;
|
||||||
|
this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.barDockControl2.Location = new System.Drawing.Point(0, 123);
|
||||||
|
this.barDockControl2.Manager = this.toolbarFormManager1;
|
||||||
|
this.barDockControl2.Size = new System.Drawing.Size(738, 0);
|
||||||
|
//
|
||||||
|
// barDockControl3
|
||||||
|
//
|
||||||
|
this.barDockControl3.CausesValidation = false;
|
||||||
|
this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||||
|
this.barDockControl3.Location = new System.Drawing.Point(0, 31);
|
||||||
|
this.barDockControl3.Manager = this.toolbarFormManager1;
|
||||||
|
this.barDockControl3.Size = new System.Drawing.Size(0, 92);
|
||||||
|
//
|
||||||
|
// barDockControl4
|
||||||
|
//
|
||||||
|
this.barDockControl4.CausesValidation = false;
|
||||||
|
this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
|
this.barDockControl4.Location = new System.Drawing.Point(738, 31);
|
||||||
|
this.barDockControl4.Manager = this.toolbarFormManager1;
|
||||||
|
this.barDockControl4.Size = new System.Drawing.Size(0, 92);
|
||||||
|
//
|
||||||
|
// btnCommit
|
||||||
|
//
|
||||||
|
this.btnCommit.Caption = "提交";
|
||||||
|
this.btnCommit.Id = 0;
|
||||||
|
this.btnCommit.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.ImageOptions.Image")));
|
||||||
|
this.btnCommit.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.ImageOptions.LargeImage")));
|
||||||
|
this.btnCommit.Name = "btnCommit";
|
||||||
|
this.btnCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
||||||
|
this.btnCommit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnCommit_ItemClick);
|
||||||
|
//
|
||||||
|
// layoutControl1
|
||||||
|
//
|
||||||
|
this.layoutControl1.Controls.Add(this.ipsEquipmentID);
|
||||||
|
this.layoutControl1.Controls.Add(this.ipsCheckDate);
|
||||||
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.layoutControl1.Location = new System.Drawing.Point(0, 31);
|
||||||
|
this.layoutControl1.Name = "layoutControl1";
|
||||||
|
this.layoutControl1.Root = this.Root;
|
||||||
|
this.layoutControl1.Size = new System.Drawing.Size(738, 92);
|
||||||
|
this.layoutControl1.TabIndex = 5;
|
||||||
|
this.layoutControl1.Text = "layoutControl1";
|
||||||
|
//
|
||||||
|
// ipsEquipmentID
|
||||||
|
//
|
||||||
|
this.ipsEquipmentID.Location = new System.Drawing.Point(104, 12);
|
||||||
|
this.ipsEquipmentID.MenuManager = this.barManager1;
|
||||||
|
this.ipsEquipmentID.Name = "ipsEquipmentID";
|
||||||
|
this.ipsEquipmentID.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsEquipmentID.Properties.Appearance.Options.UseFont = true;
|
||||||
|
this.ipsEquipmentID.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsEquipmentID.Properties.AppearanceFocused.Options.UseFont = true;
|
||||||
|
this.ipsEquipmentID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Clear),
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
||||||
|
this.ipsEquipmentID.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
||||||
|
this.ipsEquipmentID.Size = new System.Drawing.Size(622, 26);
|
||||||
|
this.ipsEquipmentID.StyleController = this.layoutControl1;
|
||||||
|
this.ipsEquipmentID.TabIndex = 4;
|
||||||
|
this.ipsEquipmentID.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.ipsEquipmentID_ButtonClick);
|
||||||
|
//
|
||||||
|
// ipsCheckDate
|
||||||
|
//
|
||||||
|
this.ipsCheckDate.EditValue = null;
|
||||||
|
this.ipsCheckDate.Location = new System.Drawing.Point(104, 42);
|
||||||
|
this.ipsCheckDate.MenuManager = this.barManager1;
|
||||||
|
this.ipsCheckDate.Name = "ipsCheckDate";
|
||||||
|
this.ipsCheckDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.Appearance.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.Button.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.Button.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.ButtonPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.ButtonPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.CalendarHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.CalendarHeader.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCell.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSelected.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSelected.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSpecialPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSpecialPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSpecialSelected.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellSpecialSelected.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellToday.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.DayCellToday.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.Header.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.Header.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.HeaderPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceCalendar.HeaderPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceDropDown.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.AppearanceFocused.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.Appearance.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.AppearanceFocused.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.BeepOnError = false;
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.MaskSettings.Set("mask", "d");
|
||||||
|
this.ipsCheckDate.Properties.CalendarTimeProperties.TimeEditStyle = DevExpress.XtraEditors.Repository.TimeEditStyle.TouchUI;
|
||||||
|
this.ipsCheckDate.Properties.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.TouchUI;
|
||||||
|
this.ipsCheckDate.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.False;
|
||||||
|
this.ipsCheckDate.Size = new System.Drawing.Size(622, 26);
|
||||||
|
this.ipsCheckDate.StyleController = this.layoutControl1;
|
||||||
|
this.ipsCheckDate.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// Root
|
||||||
|
//
|
||||||
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||||
|
this.Root.GroupBordersVisible = false;
|
||||||
|
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||||
|
this.layoutControlItem1,
|
||||||
|
this.layoutControlItem2});
|
||||||
|
this.Root.Name = "Root";
|
||||||
|
this.Root.Size = new System.Drawing.Size(738, 92);
|
||||||
|
this.Root.TextVisible = false;
|
||||||
|
//
|
||||||
|
// layoutControlItem1
|
||||||
|
//
|
||||||
|
this.layoutControlItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.layoutControlItem1.AppearanceItemCaption.Options.UseFont = true;
|
||||||
|
this.layoutControlItem1.AppearanceItemCaptionDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.layoutControlItem1.AppearanceItemCaptionDisabled.Options.UseFont = true;
|
||||||
|
this.layoutControlItem1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||||
|
this.layoutControlItem1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||||
|
this.layoutControlItem1.Control = this.ipsEquipmentID;
|
||||||
|
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.layoutControlItem1.Name = "layoutControlItem1";
|
||||||
|
this.layoutControlItem1.Size = new System.Drawing.Size(718, 30);
|
||||||
|
this.layoutControlItem1.Text = "设备编号:";
|
||||||
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(80, 19);
|
||||||
|
//
|
||||||
|
// layoutControlItem2
|
||||||
|
//
|
||||||
|
this.layoutControlItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.layoutControlItem2.AppearanceItemCaption.Options.UseFont = true;
|
||||||
|
this.layoutControlItem2.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||||
|
this.layoutControlItem2.ContentVertAlignment = DevExpress.Utils.VertAlignment.Top;
|
||||||
|
this.layoutControlItem2.Control = this.ipsCheckDate;
|
||||||
|
this.layoutControlItem2.Location = new System.Drawing.Point(0, 30);
|
||||||
|
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||||
|
this.layoutControlItem2.Size = new System.Drawing.Size(718, 42);
|
||||||
|
this.layoutControlItem2.Text = "校验时间:";
|
||||||
|
this.layoutControlItem2.TextSize = new System.Drawing.Size(80, 19);
|
||||||
|
//
|
||||||
|
// pageJumpCheckEdit
|
||||||
|
//
|
||||||
|
this.Appearance.Options.UseFont = true;
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(738, 123);
|
||||||
|
this.Controls.Add(this.layoutControl1);
|
||||||
|
this.Controls.Add(this.barDockControlLeft);
|
||||||
|
this.Controls.Add(this.barDockControlRight);
|
||||||
|
this.Controls.Add(this.barDockControlBottom);
|
||||||
|
this.Controls.Add(this.barDockControlTop);
|
||||||
|
this.Controls.Add(this.barDockControl3);
|
||||||
|
this.Controls.Add(this.barDockControl4);
|
||||||
|
this.Controls.Add(this.barDockControl2);
|
||||||
|
this.Controls.Add(this.barDockControl1);
|
||||||
|
this.Controls.Add(this.toolbarFormControl1);
|
||||||
|
this.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.IconOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("pageJumpCheckEdit.IconOptions.LargeImage")));
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.Name = "pageJumpCheckEdit";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "设备检验关闭新增";
|
||||||
|
this.ToolbarFormControl = this.toolbarFormControl1;
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||||
|
this.layoutControl1.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID.Properties)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.Properties.CalendarTimeProperties)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.Properties)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private DevExpress.XtraBars.BarManager barManager1;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
||||||
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormControl toolbarFormControl1;
|
||||||
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormManager toolbarFormManager1;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControl1;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControl2;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControl3;
|
||||||
|
private DevExpress.XtraBars.BarDockControl barDockControl4;
|
||||||
|
private DevExpress.XtraBars.BarButtonItem btnCommit;
|
||||||
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
||||||
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
||||||
|
private DevExpress.XtraEditors.ButtonEdit ipsEquipmentID;
|
||||||
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
||||||
|
private DevExpress.XtraEditors.DateEdit ipsCheckDate;
|
||||||
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
||||||
|
private DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider dxValidationProvider1;
|
||||||
|
}
|
||||||
|
}
|
||||||
101
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.cs
Normal file
101
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.cs
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
using System;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using DevExpress.XtraBars;
|
||||||
|
using DevExpress.XtraBars.ToolbarForm;
|
||||||
|
using DevExpress.XtraEditors;
|
||||||
|
using TsSFCDevice.Client.Launch.Common;
|
||||||
|
using DeviceRepair.Models;
|
||||||
|
using DeviceRepair.Utils;
|
||||||
|
using DevExpress.XtraEditors.DXErrorProvider;
|
||||||
|
|
||||||
|
namespace TsSFCDevice.Client.Launch.sysConfig
|
||||||
|
{
|
||||||
|
public partial class pageJumpCheckEdit : ToolbarForm
|
||||||
|
{
|
||||||
|
public DeviceInformationInfo CurrentDeviceInfo = null;
|
||||||
|
|
||||||
|
public DateTime? CheckDate { get { return (ipsCheckDate.EditValue + "").IsNull() ? null : (DateTime?)Convert.ToDateTime(ipsCheckDate.EditValue); } }
|
||||||
|
|
||||||
|
public pageJumpCheckEdit()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ipsEquipmentID_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.Button.Kind == DevExpress.XtraEditors.Controls.ButtonPredefines.Clear)
|
||||||
|
{
|
||||||
|
CurrentDeviceInfo = null;
|
||||||
|
((sender as ButtonEdit)).EditValue = "";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
using (pageDeivceView view = new pageDeivceView())
|
||||||
|
{
|
||||||
|
view.Text = "设备选择";
|
||||||
|
if (view.ShowDialog(this) == DialogResult.OK)
|
||||||
|
{
|
||||||
|
CurrentDeviceInfo = view.CurrentDeviceInfo;
|
||||||
|
ipsEquipmentID.EditValue = $"{view.CurrentDeviceInfo.EquipmentName}({view.CurrentDeviceInfo.EquipmentID})";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCommit_ItemClick(object sender, ItemClickEventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
InitializeValidationProvider();
|
||||||
|
if (dxValidationProvider1.Validate())
|
||||||
|
{
|
||||||
|
if (CurrentDeviceInfo == null)
|
||||||
|
throw new ArgumentException("校验的设备不能为空!");
|
||||||
|
|
||||||
|
if (!CheckDate.HasValue)
|
||||||
|
throw new ArgumentException("校验时间不能为空!");
|
||||||
|
|
||||||
|
if (CheckDate.Value < new DateTime(2000, 01, 01))
|
||||||
|
throw new ArgumentException("校验时间最小为2000年01月01日!");
|
||||||
|
|
||||||
|
if (CheckDate.Value > new DateTime(2999, 12, 31))
|
||||||
|
throw new ArgumentException("校验时间最大为2999年12月31日!");
|
||||||
|
|
||||||
|
this.DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
XtraMessageBoxHelper.Error(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 初始化验证控件
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeValidationProvider()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
dxValidationProvider1.RemoveControlError(ipsEquipmentID);
|
||||||
|
dxValidationProvider1.RemoveControlError(ipsCheckDate);
|
||||||
|
|
||||||
|
dxValidationProvider1 = new DXValidationProvider();
|
||||||
|
//实例化一个必填规则,错误提示为:该字段不能为空
|
||||||
|
ConditionValidationRule required = new ConditionValidationRule("RequiredRule", ConditionOperator.IsNotBlank) { ErrorText = $"字段不能为空" };
|
||||||
|
|
||||||
|
required.ErrorText = "请先选择设备";
|
||||||
|
dxValidationProvider1.SetValidationRule(ipsEquipmentID, required);
|
||||||
|
dxValidationProvider1.SetIconAlignment(ipsEquipmentID, ErrorIconAlignment.MiddleLeft);
|
||||||
|
|
||||||
|
required.ErrorText = "请选择校验日期";
|
||||||
|
dxValidationProvider1.SetValidationRule(ipsCheckDate, required);
|
||||||
|
dxValidationProvider1.SetIconAlignment(ipsCheckDate, ErrorIconAlignment.MiddleLeft);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
XtraMessageBoxHelper.Error(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
245
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.resx
Normal file
245
TsSFCDevice.Client.Launch/sysConfig/pageJumpCheckEdit.resx
Normal file
|
|
@ -0,0 +1,245 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="barManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="toolbarFormManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>148, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="barButtonItem1.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAt0RVh0VGl0
|
||||||
|
bGUAU2F2ZTv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D+EJDnFHjk+yLN8F+i2pn2Q7soWkLRzdQnLoW6xAIAj/DQXi/m5m2Bwf
|
||||||
|
AAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="barButtonItem1.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAt0RVh0VGl0
|
||||||
|
bGUAU2F2ZTv56PkJAAAJQElEQVRYR8WWd1TUVxbH3ZItycYkpm39d/+Ku1FRikjvvQ0ww9AZGJgBBhh6
|
||||||
|
GRh6R6RIQEWxIGKkKKLYgsEaY8EuKEWRCCrShKjnu/f9hiEhuMecPSdn3zkfHo+Zw/d77yv3LgHwf+Wn
|
||||||
|
41fEr/9HfvMzUH+X6Swa7IO3iN8Tf/wJb7+Bd34m7Lvs/zMzC0ywxVth6Vsy5Hk7X0YX1COmcDfiiuvB
|
||||||
|
F6fD1iMGtoIYeIhSkV+2G7ml9cgu2YHMou1QFmxDal4tUrI3IzGjBnHKKsQoNiIqqQwWjsFw8pbD0UsO
|
||||||
|
B49I2PFlL614kh2kxUywgOcHW/whInfHbNPxK2g50Y3mzm60dV2Hpp4HjCw8YeMcDM8gJZ5NzWKMeDqp
|
||||||
|
4snEDB6Pz2B0/DlGnql4NDaN755Mw8w+EFV1+1FZ24ryTc3YUNMEW7fwl6TFssGyMD/Y4u3w7Do0HbuM
|
||||||
|
3E3tyN7cjpK6o3MGhLBxCoYwMJUTvNr/BN19j3Hl3mNcvjuKS70jWKllTlhipTZB8/2RCRjbiiCNKYE4
|
||||||
|
qhCBEXlIpixZu4ayk/funOb8YIt3wtK3ofHIRWRVtxEHULytA2v0BDA0F8LaSQx+QAoX3cWeEXzb8wgX
|
||||||
|
7jzCN7e/w/lbw1ilY40Vmk4k7gx72q67Q89gaOWHkLg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iDqX0Y9QIR+FyLM/BXgjWm
|
||||||
|
Cw1om/rRi5ZNBycedgIVJnZiVHT2I+dQDzLa7iCx+Qbi991AzN7riG68jsiG65DVX0PYzquQ7LiK4Lpu
|
||||||
|
BG3rRuDWbjpw7lT9QmFqFwoTWynMyci/1zgyA38jFhvQNPamlyydTmwsrN1iOAypwdh45hEKTgwh88gD
|
||||||
|
pB0aRMrBASQdGED8/n7EtvQhuqkPkfvuQdZ4F+GEtKEXkt091KDy6CZIYETiRjSbkpnlaxxea4C7hmsM
|
||||||
|
PF+5+adSCZbDyjkKloQedTllXcPIPaYSV7QPIrltEAlkIK6lH9HNfYgi8Yi9KvHQPb2cgZD6Xq5JZcJq
|
||||||
|
jG0l+Gy1/QvSWvAOsB9cR7Rc06FolR7/lQY1oiupFWNo0j56FnbBNesrOKYdhW1yB6wTDsEi9iBM5Adg
|
||||||
|
GNGKdaFN0JHsg6a4EatFe7DKfzc+99mF5RoO+EzDnmO5ilf//JdJPmmpWzLOABvsF+aItcvsmWSHhKXp
|
||||||
|
Tfz9DfzjR7A1u/9MfD796sEW6kyw7WBf+CVgQaojX2BAPdQf/NLMjSVL/gMGC1sK0EICNQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="pageJumpCheckEdit.IconOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABN0RVh0VGl0
|
||||||
|
bGUASGlzdG9yeTtJdGVtO5A9JW8AAAozSURBVFhHxVZ5VJNXFne0nel0mbZ2s9NO21PbGbV2usmZdmgL
|
||||||
|
1qkLddeKWrVUBaG4ASJWRBEBrSIgIjtBlB2CgECABNlXCRAVSEgg7FsIIYABbU9/c98HiWCZ6Zm/Juf8
|
||||||
|
znvf+/Ld3+/ed+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|
cOLLOYMWoRKs9S7HlxQRU/LyU2c6811E+MItD6vPlWIbeb3nSj3tuQwHiPyjneF40+wEj+z9mfD4hP1f
|
||||||
|
X8kMC+Mi2JWJiXhx3sofDiyy5A2vp+PaMYHlhRwHY6WwudpAUamHJZ2SeyLrYE2k+0jgIUo2+9g6mB27
|
||||||
|
jvnm/rrXFu+3IzvMc0ZuuIoZ+CY/GBYfiGDhmv3iwqVGC829kj6wCB/70omPbT4FsOXVUHjruHOedTeb
|
||||||
|
cDG20NV+sR2dG5sDfpq7yp3/7NsmH9P3LOOZM78i57geXtCD/ZnAwsUS5knCC0+9snDBG/+y2z9vw1nB
|
||||||
|
gk2+0nnmF9XztwRg3iY/9V/Xe0vfWu2Z8xeTvQeemDP/Hfr/i4SnCKzfTwn7FJ7pFvVgH01AL4SFkV0k
|
||||||
|
mHG2p+yG+9rEyJ7ZOnvPysxAzDCdfYZpFx+G3giBGWShZGIYAasYtk1sZM9snb3/TeJxuM74N5Op7UHB
|
||||||
|
IbOtAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="dxValidationProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>334, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
|
|
@ -28,24 +28,58 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(pageJumpCheckView));
|
||||||
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
||||||
|
this.baripsEquipmentID = new DevExpress.XtraBars.BarEditItem();
|
||||||
|
this.ipsEquipmentID = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
||||||
|
this.baripsDate = new DevExpress.XtraBars.BarEditItem();
|
||||||
|
this.ipsCheckDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
|
||||||
|
this.barSearch = new DevExpress.XtraBars.BarButtonItem();
|
||||||
|
this.barNews = new DevExpress.XtraBars.BarButtonItem();
|
||||||
|
this.barRemove = new DevExpress.XtraBars.BarButtonItem();
|
||||||
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
||||||
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||||
|
this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||||
this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
|
this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
|
||||||
|
this.gcControl = new DevExpress.XtraGrid.GridControl();
|
||||||
|
this.gvControl = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||||
|
this.gcAutoID = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.gcEquipmentID = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.gcEquipmentName = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.gcCheckDate = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.gcCreatebyName = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.gcCreateOn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::TsSFCDevice.Client.Launch.frmWaiting), true, true);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.CalendarTimeProperties)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.gcControl)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.gvControl)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// ribbon
|
// ribbon
|
||||||
//
|
//
|
||||||
this.ribbon.AllowMinimizeRibbon = false;
|
this.ribbon.AllowMinimizeRibbon = false;
|
||||||
this.ribbon.ExpandCollapseItem.Id = 0;
|
this.ribbon.ExpandCollapseItem.Id = 0;
|
||||||
|
this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
||||||
|
this.ribbon.ExpandCollapseItem,
|
||||||
|
this.ribbon.SearchEditItem,
|
||||||
|
this.baripsEquipmentID,
|
||||||
|
this.baripsDate,
|
||||||
|
this.barSearch,
|
||||||
|
this.barNews,
|
||||||
|
this.barRemove});
|
||||||
this.ribbon.Location = new System.Drawing.Point(0, 0);
|
this.ribbon.Location = new System.Drawing.Point(0, 0);
|
||||||
this.ribbon.Margin = new System.Windows.Forms.Padding(4);
|
this.ribbon.Margin = new System.Windows.Forms.Padding(5);
|
||||||
this.ribbon.MaxItemId = 4;
|
this.ribbon.MaxItemId = 9;
|
||||||
this.ribbon.Name = "ribbon";
|
this.ribbon.Name = "ribbon";
|
||||||
this.ribbon.OptionsMenuMinWidth = 424;
|
this.ribbon.OptionsMenuMinWidth = 545;
|
||||||
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
||||||
this.ribbonPage1});
|
this.ribbonPage1});
|
||||||
|
this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
||||||
|
this.ipsEquipmentID,
|
||||||
|
this.ipsCheckDate});
|
||||||
this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
|
this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
|
||||||
this.ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
|
this.ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
|
||||||
this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
|
this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
|
||||||
|
|
@ -53,41 +87,293 @@
|
||||||
this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
|
this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
|
||||||
this.ribbon.ShowQatLocationSelector = false;
|
this.ribbon.ShowQatLocationSelector = false;
|
||||||
this.ribbon.ShowToolbarCustomizeItem = false;
|
this.ribbon.ShowToolbarCustomizeItem = false;
|
||||||
this.ribbon.Size = new System.Drawing.Size(1331, 134);
|
this.ribbon.Size = new System.Drawing.Size(1331, 133);
|
||||||
this.ribbon.StatusBar = this.ribbonStatusBar;
|
this.ribbon.StatusBar = this.ribbonStatusBar;
|
||||||
this.ribbon.Toolbar.ShowCustomizeItem = false;
|
this.ribbon.Toolbar.ShowCustomizeItem = false;
|
||||||
//
|
//
|
||||||
|
// baripsEquipmentID
|
||||||
|
//
|
||||||
|
this.baripsEquipmentID.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
|
||||||
|
this.baripsEquipmentID.Caption = "设备编号:";
|
||||||
|
this.baripsEquipmentID.CaptionAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||||
|
this.baripsEquipmentID.Edit = this.ipsEquipmentID;
|
||||||
|
this.baripsEquipmentID.EditHeight = 30;
|
||||||
|
this.baripsEquipmentID.EditWidth = 180;
|
||||||
|
this.baripsEquipmentID.Id = 2;
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Disabled.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Hovered.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Normal.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemAppearance.Pressed.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Disabled.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Hovered.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Normal.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsEquipmentID.ItemInMenuAppearance.Pressed.Options.UseFont = true;
|
||||||
|
this.baripsEquipmentID.Name = "baripsEquipmentID";
|
||||||
|
//
|
||||||
|
// ipsEquipmentID
|
||||||
|
//
|
||||||
|
this.ipsEquipmentID.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsEquipmentID.Appearance.Options.UseFont = true;
|
||||||
|
this.ipsEquipmentID.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsEquipmentID.AppearanceDisabled.Options.UseFont = true;
|
||||||
|
this.ipsEquipmentID.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsEquipmentID.AppearanceFocused.Options.UseFont = true;
|
||||||
|
this.ipsEquipmentID.AppearanceReadOnly.Options.UseTextOptions = true;
|
||||||
|
this.ipsEquipmentID.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||||
|
this.ipsEquipmentID.AutoHeight = false;
|
||||||
|
this.ipsEquipmentID.MaxLength = 20;
|
||||||
|
this.ipsEquipmentID.Name = "ipsEquipmentID";
|
||||||
|
//
|
||||||
|
// baripsDate
|
||||||
|
//
|
||||||
|
this.baripsDate.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
|
||||||
|
this.baripsDate.Caption = "校验日期:";
|
||||||
|
this.baripsDate.Edit = this.ipsCheckDate;
|
||||||
|
this.baripsDate.EditHeight = 30;
|
||||||
|
this.baripsDate.EditWidth = 180;
|
||||||
|
this.baripsDate.Id = 5;
|
||||||
|
this.baripsDate.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemAppearance.Disabled.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemAppearance.Hovered.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemAppearance.Normal.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemAppearance.Pressed.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Disabled.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Hovered.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Normal.Options.UseFont = true;
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.baripsDate.ItemInMenuAppearance.Pressed.Options.UseFont = true;
|
||||||
|
this.baripsDate.Name = "baripsDate";
|
||||||
|
//
|
||||||
|
// ipsCheckDate
|
||||||
|
//
|
||||||
|
this.ipsCheckDate.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.Appearance.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.Button.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.Button.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.ButtonHighlighted.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.ButtonHighlighted.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.ButtonPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.ButtonPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.CalendarHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.CalendarHeader.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCell.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellHighlighted.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellHighlighted.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellHoliday.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellHoliday.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellSelected.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellSelected.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellToday.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.DayCellToday.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.Header.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.Header.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.HeaderHighlighted.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.HeaderHighlighted.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.HeaderPressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.HeaderPressed.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.WeekDay.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.WeekDay.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.WeekNumber.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceCalendar.WeekNumber.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceDropDown.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.ipsCheckDate.AppearanceFocused.Options.UseFont = true;
|
||||||
|
this.ipsCheckDate.AutoHeight = false;
|
||||||
|
this.ipsCheckDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.ipsCheckDate.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.ipsCheckDate.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.TouchUI;
|
||||||
|
this.ipsCheckDate.Name = "ipsCheckDate";
|
||||||
|
this.ipsCheckDate.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.False;
|
||||||
|
//
|
||||||
|
// barSearch
|
||||||
|
//
|
||||||
|
this.barSearch.Caption = "搜索";
|
||||||
|
this.barSearch.Id = 6;
|
||||||
|
this.barSearch.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barSearch.ImageOptions.SvgImage")));
|
||||||
|
this.barSearch.Name = "barSearch";
|
||||||
|
this.barSearch.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSearch_ItemClick);
|
||||||
|
//
|
||||||
|
// barNews
|
||||||
|
//
|
||||||
|
this.barNews.Caption = "新增";
|
||||||
|
this.barNews.Id = 7;
|
||||||
|
this.barNews.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barNews.ImageOptions.Image")));
|
||||||
|
this.barNews.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barNews.ImageOptions.LargeImage")));
|
||||||
|
this.barNews.Name = "barNews";
|
||||||
|
this.barNews.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barNews_ItemClick);
|
||||||
|
//
|
||||||
|
// barRemove
|
||||||
|
//
|
||||||
|
this.barRemove.Caption = "删除";
|
||||||
|
this.barRemove.Enabled = false;
|
||||||
|
this.barRemove.Id = 8;
|
||||||
|
this.barRemove.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barRemove.ImageOptions.Image")));
|
||||||
|
this.barRemove.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barRemove.ImageOptions.LargeImage")));
|
||||||
|
this.barRemove.Name = "barRemove";
|
||||||
|
this.barRemove.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barRemove_ItemClick);
|
||||||
|
//
|
||||||
// ribbonPage1
|
// ribbonPage1
|
||||||
//
|
//
|
||||||
this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
||||||
this.ribbonPageGroup1});
|
this.ribbonPageGroup1,
|
||||||
|
this.ribbonPageGroup2});
|
||||||
this.ribbonPage1.Name = "ribbonPage1";
|
this.ribbonPage1.Name = "ribbonPage1";
|
||||||
this.ribbonPage1.Text = "ribbonPage1";
|
this.ribbonPage1.Text = "ribbonPage1";
|
||||||
//
|
//
|
||||||
// ribbonPageGroup1
|
// ribbonPageGroup1
|
||||||
//
|
//
|
||||||
|
this.ribbonPageGroup1.ItemLinks.Add(this.baripsDate);
|
||||||
|
this.ribbonPageGroup1.ItemLinks.Add(this.baripsEquipmentID);
|
||||||
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
|
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
|
||||||
this.ribbonPageGroup1.Text = "ribbonPageGroup1";
|
this.ribbonPageGroup1.Text = "查询";
|
||||||
|
//
|
||||||
|
// ribbonPageGroup2
|
||||||
|
//
|
||||||
|
this.ribbonPageGroup2.ItemLinks.Add(this.barSearch);
|
||||||
|
this.ribbonPageGroup2.ItemLinks.Add(this.barNews);
|
||||||
|
this.ribbonPageGroup2.ItemLinks.Add(this.barRemove);
|
||||||
|
this.ribbonPageGroup2.Name = "ribbonPageGroup2";
|
||||||
|
this.ribbonPageGroup2.Text = "操作";
|
||||||
//
|
//
|
||||||
// ribbonStatusBar
|
// ribbonStatusBar
|
||||||
//
|
//
|
||||||
this.ribbonStatusBar.Location = new System.Drawing.Point(0, 662);
|
this.ribbonStatusBar.Location = new System.Drawing.Point(0, 743);
|
||||||
|
this.ribbonStatusBar.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.ribbonStatusBar.Name = "ribbonStatusBar";
|
this.ribbonStatusBar.Name = "ribbonStatusBar";
|
||||||
this.ribbonStatusBar.Ribbon = this.ribbon;
|
this.ribbonStatusBar.Ribbon = this.ribbon;
|
||||||
this.ribbonStatusBar.Size = new System.Drawing.Size(1489, 24);
|
this.ribbonStatusBar.Size = new System.Drawing.Size(1331, 24);
|
||||||
|
//
|
||||||
|
// gcControl
|
||||||
|
//
|
||||||
|
this.gcControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.gcControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
||||||
|
this.gcControl.Location = new System.Drawing.Point(0, 133);
|
||||||
|
this.gcControl.MainView = this.gvControl;
|
||||||
|
this.gcControl.MenuManager = this.ribbon;
|
||||||
|
this.gcControl.Name = "gcControl";
|
||||||
|
this.gcControl.Size = new System.Drawing.Size(1331, 610);
|
||||||
|
this.gcControl.TabIndex = 2;
|
||||||
|
this.gcControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||||
|
this.gvControl});
|
||||||
|
//
|
||||||
|
// gvControl
|
||||||
|
//
|
||||||
|
this.gvControl.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.gvControl.Appearance.HeaderPanel.Options.UseFont = true;
|
||||||
|
this.gvControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
|
||||||
|
this.gvControl.ColumnPanelRowHeight = 31;
|
||||||
|
this.gvControl.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||||
|
this.gcAutoID,
|
||||||
|
this.gcEquipmentID,
|
||||||
|
this.gcEquipmentName,
|
||||||
|
this.gcCheckDate,
|
||||||
|
this.gcCreatebyName,
|
||||||
|
this.gcCreateOn});
|
||||||
|
this.gvControl.GridControl = this.gcControl;
|
||||||
|
this.gvControl.Name = "gvControl";
|
||||||
|
this.gvControl.OptionsBehavior.Editable = false;
|
||||||
|
this.gvControl.OptionsSelection.CheckBoxSelectorColumnWidth = 36;
|
||||||
|
this.gvControl.OptionsSelection.UseIndicatorForSelection = false;
|
||||||
|
this.gvControl.OptionsView.AllowHtmlDrawHeaders = true;
|
||||||
|
this.gvControl.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.False;
|
||||||
|
this.gvControl.OptionsView.ShowGroupPanel = false;
|
||||||
|
this.gvControl.RowHeight = 31;
|
||||||
|
//
|
||||||
|
// gcAutoID
|
||||||
|
//
|
||||||
|
this.gcAutoID.Caption = "主键编号";
|
||||||
|
this.gcAutoID.FieldName = "AutoID";
|
||||||
|
this.gcAutoID.Name = "gcAutoID";
|
||||||
|
//
|
||||||
|
// gcEquipmentID
|
||||||
|
//
|
||||||
|
this.gcEquipmentID.Caption = "设备编号";
|
||||||
|
this.gcEquipmentID.FieldName = "EquipmentID";
|
||||||
|
this.gcEquipmentID.Name = "gcEquipmentID";
|
||||||
|
this.gcEquipmentID.Visible = true;
|
||||||
|
this.gcEquipmentID.VisibleIndex = 0;
|
||||||
|
//
|
||||||
|
// gcEquipmentName
|
||||||
|
//
|
||||||
|
this.gcEquipmentName.Caption = "设备名称";
|
||||||
|
this.gcEquipmentName.FieldName = "EquipmentName";
|
||||||
|
this.gcEquipmentName.Name = "gcEquipmentName";
|
||||||
|
this.gcEquipmentName.Visible = true;
|
||||||
|
this.gcEquipmentName.VisibleIndex = 1;
|
||||||
|
//
|
||||||
|
// gcCheckDate
|
||||||
|
//
|
||||||
|
this.gcCheckDate.Caption = "校验日期";
|
||||||
|
this.gcCheckDate.FieldName = "CheckDate";
|
||||||
|
this.gcCheckDate.Name = "gcCheckDate";
|
||||||
|
this.gcCheckDate.Visible = true;
|
||||||
|
this.gcCheckDate.VisibleIndex = 2;
|
||||||
|
//
|
||||||
|
// gcCreatebyName
|
||||||
|
//
|
||||||
|
this.gcCreatebyName.Caption = "创建人";
|
||||||
|
this.gcCreatebyName.FieldName = "CreatebyName";
|
||||||
|
this.gcCreatebyName.Name = "gcCreatebyName";
|
||||||
|
this.gcCreatebyName.Visible = true;
|
||||||
|
this.gcCreatebyName.VisibleIndex = 3;
|
||||||
|
//
|
||||||
|
// gcCreateOn
|
||||||
|
//
|
||||||
|
this.gcCreateOn.Caption = "创建时间";
|
||||||
|
this.gcCreateOn.FieldName = "CreateOn";
|
||||||
|
this.gcCreateOn.Name = "gcCreateOn";
|
||||||
|
this.gcCreateOn.Visible = true;
|
||||||
|
this.gcCreateOn.VisibleIndex = 4;
|
||||||
|
//
|
||||||
|
// splashScreenManager1
|
||||||
|
//
|
||||||
|
this.splashScreenManager1.ClosingDelay = 500;
|
||||||
//
|
//
|
||||||
// pageJumpCheckView
|
// pageJumpCheckView
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
this.Appearance.Options.UseFont = true;
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1489, 686);
|
this.ClientSize = new System.Drawing.Size(1331, 767);
|
||||||
|
this.Controls.Add(this.gcControl);
|
||||||
this.Controls.Add(this.ribbonStatusBar);
|
this.Controls.Add(this.ribbonStatusBar);
|
||||||
this.Controls.Add(this.ribbon);
|
this.Controls.Add(this.ribbon);
|
||||||
|
this.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||||
|
this.IconOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("pageJumpCheckView.IconOptions.LargeImage")));
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.Name = "pageJumpCheckView";
|
this.Name = "pageJumpCheckView";
|
||||||
this.Ribbon = this.ribbon;
|
this.Ribbon = this.ribbon;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.StatusBar = this.ribbonStatusBar;
|
this.StatusBar = this.ribbonStatusBar;
|
||||||
this.Text = "pageJumpCheckView";
|
this.Text = "设备检验关闭";
|
||||||
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||||
|
this.Load += new System.EventHandler(this.pageJumpCheckView_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsEquipmentID)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate.CalendarTimeProperties)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.ipsCheckDate)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.gcControl)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.gvControl)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|
@ -99,5 +385,22 @@
|
||||||
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
|
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
|
||||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
||||||
private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
||||||
|
private DevExpress.XtraBars.BarEditItem baripsEquipmentID;
|
||||||
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit ipsEquipmentID;
|
||||||
|
private DevExpress.XtraBars.BarEditItem baripsDate;
|
||||||
|
private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit ipsCheckDate;
|
||||||
|
private DevExpress.XtraBars.BarButtonItem barSearch;
|
||||||
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
|
||||||
|
private DevExpress.XtraBars.BarButtonItem barNews;
|
||||||
|
private DevExpress.XtraBars.BarButtonItem barRemove;
|
||||||
|
private DevExpress.XtraGrid.GridControl gcControl;
|
||||||
|
private DevExpress.XtraGrid.Views.Grid.GridView gvControl;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcEquipmentID;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcEquipmentName;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcCheckDate;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcCreatebyName;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcCreateOn;
|
||||||
|
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
|
||||||
|
private DevExpress.XtraGrid.Columns.GridColumn gcAutoID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,21 +1,218 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using DevExpress.XtraBars;
|
using DevExpress.XtraBars;
|
||||||
|
using DeviceRepair.Utils;
|
||||||
|
using DeviceRepair.Models.Plan;
|
||||||
|
using TsSFCDevice.Client.Biz.Impl;
|
||||||
|
using DevExpress.XtraGrid.Views.Grid;
|
||||||
|
using TsSFCDevice.Client.Biz.Base.Utils;
|
||||||
|
|
||||||
namespace TsSFCDevice.Client.Launch.sysConfig
|
namespace TsSFCDevice.Client.Launch.sysConfig
|
||||||
{
|
{
|
||||||
public partial class pageJumpCheckView : DevExpress.XtraBars.Ribbon.RibbonForm
|
public partial class pageJumpCheckView : DevExpress.XtraBars.Ribbon.RibbonForm
|
||||||
{
|
{
|
||||||
|
EquipmentJumpPlanCheckInfo m_CurrentModel = null;
|
||||||
|
EquipmentJumpPlanCheckRepository m_Cmd;
|
||||||
|
IList<EquipmentJumpPlanCheckInfo> Datas;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 校验日期
|
||||||
|
/// </summary>
|
||||||
|
private DateTime m_CheckDate
|
||||||
|
{
|
||||||
|
get { return (baripsDate.EditValue + "").IsNull() ? DateTime.Today : Convert.ToDateTime(baripsDate.EditValue); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设备编号
|
||||||
|
/// </summary>
|
||||||
|
private string m_EquipmentID
|
||||||
|
{
|
||||||
|
get { return baripsEquipmentID.EditValue + ""; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public pageJumpCheckView()
|
public pageJumpCheckView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
if (m_Cmd == null)
|
||||||
|
m_Cmd = new EquipmentJumpPlanCheckRepository();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 窗体加载
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void pageJumpCheckView_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// 关闭列头右键菜单
|
||||||
|
gvControl.OptionsMenu.EnableColumnMenu = false;
|
||||||
|
gvControl.OptionsBehavior.Editable = false;
|
||||||
|
gvControl.OptionsBehavior.ReadOnly = true;
|
||||||
|
gvControl.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||||
|
gvControl.OptionsScrollAnnotations.ShowSelectedRows = DevExpress.Utils.DefaultBoolean.False;
|
||||||
|
|
||||||
|
gvControl.CustomDrawRowIndicator += GvControl_CustomDrawRowIndicator;
|
||||||
|
gvControl.RowCellClick += GvControl_RowCellClick;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 单元格点击
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void GvControl_RowCellClick(object sender, RowCellClickEventArgs e)
|
||||||
|
{
|
||||||
|
m_CurrentModel = gvControl.GetRow(e.RowHandle) as EquipmentJumpPlanCheckInfo;
|
||||||
|
barRemove.Enabled = m_CurrentModel != null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自增长行号
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void GvControl_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.Info.IsRowIndicator && e.RowHandle >= 0)
|
||||||
|
{
|
||||||
|
e.Info.DisplayText = (e.RowHandle + 1).ToString();
|
||||||
|
e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||||
|
e.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 搜索
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void barSearch_ItemClick(object sender, ItemClickEventArgs e)
|
||||||
|
{
|
||||||
|
InitializeGridData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 新增
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void barNews_ItemClick(object sender, ItemClickEventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PLAN_JUMP_CHECK_Add))
|
||||||
|
{
|
||||||
|
throw new Exception($"当前账号缺少此操作的权限");
|
||||||
|
}
|
||||||
|
|
||||||
|
using (var view = new pageJumpCheckEdit())
|
||||||
|
{
|
||||||
|
if (view.ShowDialog(this) == DialogResult.OK)
|
||||||
|
{
|
||||||
|
if (view.CurrentDeviceInfo != null && view.CheckDate.HasValue)
|
||||||
|
{
|
||||||
|
var result = m_Cmd.DataNews(view.CurrentDeviceInfo.EquipmentID, view.CheckDate.Value);
|
||||||
|
if (!result.IsSuccess)
|
||||||
|
throw new Exception(result.Message);
|
||||||
|
InitializeGridData();
|
||||||
|
XtraMessageBoxHelper.Info("操作成功!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
throw new Exception(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void barRemove_ItemClick(object sender, ItemClickEventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PLAN_JUMP_CHECK_DELETE))
|
||||||
|
{
|
||||||
|
throw new Exception($"当前账号缺少此操作的权限");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (m_CurrentModel == null)
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException($"请先选择操作的数据!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (XtraMessageBoxHelper.AskYesNo($"是否确认执行删除操作!") == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
var result = m_Cmd.DataRemove(m_CurrentModel.AutoID);
|
||||||
|
if (!result.IsSuccess)
|
||||||
|
throw new Exception(result.Message);
|
||||||
|
InitializeGridData();
|
||||||
|
XtraMessageBoxHelper.Info("操作成功!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
throw new Exception(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据加载
|
||||||
|
/// </summary>
|
||||||
|
public void InitializeGridData()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (!Utility.SystemRuntimeInfo.AuthValidate(OperationAuthConstValue.PLAN_JUMP_CHECK_Watch))
|
||||||
|
{
|
||||||
|
throw new Exception($"当前账号缺少此操作的权限");
|
||||||
|
}
|
||||||
|
|
||||||
|
splashScreenManager1.ShowWaitForm();
|
||||||
|
Datas = m_Cmd.GetDatas(m_EquipmentID, m_CheckDate);
|
||||||
|
|
||||||
|
if (Datas != null && Datas.Count > 0)
|
||||||
|
{
|
||||||
|
foreach (var item in Datas)
|
||||||
|
{
|
||||||
|
var us = Utility.SystemRuntimeInfo.CurrentUsersCaches.FirstOrDefault(x => x.Id == item.CreateBy);
|
||||||
|
if (us != null)
|
||||||
|
{
|
||||||
|
item.CreatebyName = us.UserName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
gcControl.DataSource = Datas?.ToList();
|
||||||
|
m_CurrentModel = null;
|
||||||
|
barRemove.Enabled = false;
|
||||||
|
|
||||||
|
int Counter = Datas?.Count ?? 0;
|
||||||
|
if (Counter > 0)
|
||||||
|
{
|
||||||
|
SizeF size = this.CreateGraphics().MeasureString(Datas.Count.ToString(), this.Font);
|
||||||
|
gvControl.IndicatorWidth = Convert.ToInt32(size.Width) + 20;
|
||||||
|
gvControl.FocusedRowHandle = 0;
|
||||||
|
GvControl_RowCellClick(gvControl, new RowCellClickEventArgs(new DevExpress.Utils.DXMouseEventArgs(MouseButtons.Left, 1, 1, 1, 1), 0, gcEquipmentID));
|
||||||
|
}
|
||||||
|
|
||||||
|
splashScreenManager1.CloseWaitForm();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
splashScreenManager1.CloseWaitForm();
|
||||||
|
throw new Exception(ex.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -117,4 +117,198 @@
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
|
<data name="barSearch.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||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AgPHBhdGggZD0iTTI5LjcsMjcuM0wy
|
||||||
|
MiwxOS42bC0wLjEtMC4xYzEuMy0xLjgsMi4xLTQuMSwyLjEtNi41YzAtNi4xLTQuOS0xMS0xMS0xMVMy
|
||||||
|
LDYuOSwyLDEzczQuOSwxMSwxMSwxMSAgYzIuNCwwLDQuNy0wLjgsNi41LTIuMWMwLDAsMCwwLjEsMC4x
|
||||||
|
LDAuMWw3LjcsNy43YzAuMywwLjMsMC45LDAuMywxLjIsMGwxLjItMS4yQzMwLjEsMjguMiwzMC4xLDI3
|
||||||
|
LjYsMjkuNywyNy4zeiBNNCwxM2MwLTUsNC05LDktOSAgczksNCw5LDlzLTQsOS05LDlTNCwxOCw0LDEz
|
||||||
|
eiIgY2xhc3M9IkJsYWNrIiAvPg0KPC9zdmc+Cw==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="barNews.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACN0RVh0VGl0
|
||||||
|
bGUAQWRkO0ZpbGU7QWRkRmlsZTtCYXJzO1JpYmJvbjsV3KoKAAADJElEQVQ4T02TaUhUURiGr2tqFkUF
|
||||||
|
/fFHOLbaRgtTFFqhWaE1KhFlppHiMla2KIrlWi5NTo6OuYJaQaWSUhnZItnmaFoUgaH5ozQxLXNWvTPj
|
||||||
|
23fOJHTguR/33Ps+9zvn3ivQsCuo6nx+paoTjIIqDfIrNSgg8io6iQ7klmuQW/YWl8s6kFP6so0y9gAE
|
||||||
|
Bhv2+RUaTNMZhw42pjnWGaw2sopfsZTD/wKHS+Vvecg0aYGRMJhs6I1mjs5ogZYQLVakK9tZyvF/gSOz
|
||||||
|
MoHeZAvYQmYuM5LINEXCSTNEswW5at6BU1a9v8Bgwyld+YK3qzOK0BlEEokY/j2E5s5rUD44AroRhVSb
|
||||||
|
NYVofqZhAheL1SBk3PHjAudURRtf58S/p3/+psGlxv141FOM72MfYbboeG3pViHzdiDirm6RUc4+7eYu
|
||||||
|
LpiVnPeUC/7ozfgxNoicu0HoG+6AaP0NdVMqzpUeRMm9c9BOfUHv0HOk1OzQRmZu9KKsHRO4JmY/hoV2
|
||||||
|
WEvt321X4GFXCQziN4wYXiOxOAS9A2M4rQrB1z/1GJhoQuObHMiLtlZQ1pEJ3OTpLVwwoZvEhZr96B1p
|
||||||
|
huKOHCeVwUgg2L7IqcYXypB9KxxP+pMQp5QOU3YWE8yOTbtP6ySBfhIJqm14N5KJOMUBfOr7iXGSjuum
|
||||||
|
eGUjJj8INz774ET+JpGyLkzgHp3SBLPZinGtiVregyd9ciRV+yMqLxBRuYEYnTAi6nIgThBnK/2g6tiA
|
||||||
|
sIx1rAMumHs8uYnesRWj40aUNmag+GEoqj5uhrpnDY5n7+VPjszci9IP3lC/90bq7fU4cGZlLWWdueDY
|
||||||
|
2UZMkUCrFzEw2I+ILCmuv/SFqns5EtS+OHoxAPISHxR1L0VO6zKEJK0ySGUeaynrwARuh2Lr2sNO1+Pw
|
||||||
|
qXooKtpRVFuH0PPrkFi9GlmtEhR2eVL1RHyZF2SJ3lZpsEcY5Zz3yZeyvGDPJMQ8Yj6xgFi8TLrQZ2fE
|
||||||
|
koaAGMlYQJwX/GMkv3zDlzSs2L5oC113Jex2x0gE/kPMsDtWIvBJ2wfC2mOb5E7MJeb8O2fzdn7RnoJf
|
||||||
|
tKfwF7guZQwBlVFoAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="barNews.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0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0rlMrYj8kXBKrOFXOt3/AbGCGaaY1ZGOAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="barRemove.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAFp0RVh0VGl0
|
||||||
|
bGUARGVsZXRlO0RlbGV0ZUl0ZW07UmVtb3ZlO1JlbW92ZUl0ZW07RGVsZXRlTGlzdDtMaXN0O1JlbW92
|
||||||
|
ZUxpc3Q7SXRlbTtMaXN0O0NsZWFyO0VyYXNlWOIXCwAAAqdJREFUOE91kmtIU2EYx6ebzizBKMIS+hAl
|
||||||
|
XehL9K0+lB8sAqmPfcgudCETE7yliaaiySaStbSZM4eLmZaVSiHK0rCMac55SYJueGuwdHM72zxnF/89
|
||||||
|
7/FCmj7wO+97eJ7//3nf5xwJAAlFcHXDQKfmuRkijWbQOx4TVYxnDBPUtFbq+rqoXsp0onbRQFr2pJe2
|
||||||
|
CzHPoMdaKKuNTCCjkpUGLMEKPHM+wg+3h+FbWN0+uGjP8iXqT0wQstpAVqLuEQt0LV9Q1zICbfMIal8N
|
||||||
|
o6ZpCJqmQZRrjQgE5lFU+ZEJQlcbhBSousUC1slFHZ0uhhcOBicQXvj888i7954J5KsNQnPKOsWCmpeD
|
||||||
|
0LygIdIwqxrZEE14RANUanog+ALIUhiYIOw/gyylAV4qmHUKInYnD7tDgM3BEwJmZnnw3gAy7nasaSDP
|
||||||
|
LOkQO6ipW2W9CRV6Rj+6escwNmWHedQCXvDDODDBBJuIYCZcNkgraqeCgNiRdZsmOLcXtn4Tfl65ivH7
|
||||||
|
D8A5nBguVMB84pSl41hsHOmClwzCUgrb4KEOqqf9UOk+i/yasGH0/CV4upthrSrDUMIFWCoU4Nr0+HA0
|
||||||
|
doJ0smWD5Dtv4eb9mLbzsNrmRDi3gJHcfIznJcHzWgVnqxYuvRLfbiagIeagdoVBUu4bcPQTcfQZGU76
|
||||||
|
lOwK9mk7DHHx+FN8A86H6bBkX4R+94HJw+ERW0i3fIXQa5lNhsScVly/vUh2C971fEdXUgZ+5N+CvTQZ
|
||||||
|
U6lnMVNwGV9TE1G3c38t6UKWDIKYCRFObPyHzc0xh6zW4hT0nTkOddSu38aTRzCZfg7lkdEWystFg/Wg
|
||||||
|
kKq274mvj95nLY3cUbdXJt9WHBGlU0REWdM2bD1N+YUZrAcFO5mUkBPshGzP1jBCJpFIgv4CH0WJr0yI
|
||||||
|
A7cAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="barRemove.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFp0RVh0VGl0
|
||||||
|
bGUARGVsZXRlO0RlbGV0ZUl0ZW07UmVtb3ZlO1JlbW92ZUl0ZW07RGVsZXRlTGlzdDtMaXN0O1JlbW92
|
||||||
|
ZUxpc3Q7SXRlbTtMaXN0O0NsZWFyO0VyYXNlWOIXCwAAB81JREFUWEell3tM1ecZx9FavBVFra5pV2ma
|
||||||
|
dZlduiVbsi3dP+tfa8yWuizruk7nEm2NK65qnTqLIBxuIjfhIKhcvaBy1dQK9QbIRahUq5BSi7agFSe3
|
||||||
|
A5zDuXD77vs8v3PggECa9E0+PO/vct7v93lvvxcfAD5eZUZWwWeXs4uuI7vwOrI8USj4DNkFRhQyC+qR
|
||||||
|
mV+PjLx6pDOm511T4g6XhbGdWWSmtJeYVe2TmFnpk0C8i+iqtpeBGWSmCH6X4nINwmZ3oafXjkedfWi5
|
||||||
|
343rjQ9QVd+CqJRSE9t6UtqTdvnMJ+ZgGatjhU1MauAJyVbK0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/b5pI8rf/DPCfvxK
|
||||||
|
EHXkZDRzogHdiAKDciu2hBVja2gRtpDNe4RCbA4p1PPev4O9znxkS1gRbjS24uzeZJx/449oCX4XX7z9
|
||||||
|
GprIiR8F4OSKl7QufL317yhd+Tp2B/xkF7XGrQIpeiQj8s1+hjxHZOd6fhKWexFAXjYvf9n6ZeDf0PCn
|
||||||
|
3+LWG68i98XlWDtrftzaWfPic198AQ2rXlUa1/4B5oCf9vI3/hMNSC+ICekJGQ75j2YiYnAy/HctCUgp
|
||||||
|
/uUvUP/6r3B8+fN4z9cvmPd/IGycvXDP8RcCUP/7X6Po569gx+KAFN6fP2rg+8Iixhdu83suKdI/wLLJ
|
||||||
|
10+6WA6gcl+fvTdnURCf9Wz2e9bMazmYjM2B74u7iJB8aOTcN9d97SmeZyL8FHGvAvj8H0dnIylwnHcG
|
||||||
|
AAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="pageJumpCheckView.IconOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABN0RVh0VGl0
|
||||||
|
bGUASGlzdG9yeTtJdGVtO5A9JW8AAAozSURBVFhHxVZ5VJNXFne0nel0mbZ2s9NO21PbGbV2usmZdmgL
|
||||||
|
1qkLddeKWrVUBaG4ASJWRBEBrSIgIjtBlB2CgECABNlXCRAVSEgg7FsIIYABbU9/c98HiWCZ6Zm/Juf8
|
||||||
|
znvf+/Ld3+/ed+99bwaA/ytmuLq6/k+g3+8mYeZDMLyb7tvpMO3iw9Ab3ezO/9OuS4UbLYNKY62CysRW
|
||||||
|
QaVtNMIysKRtV2Bx9c5LxbEWF/I2rnHiPU3/5wRNZ28ypl2cDGZkw/Ho2d9dKvLZHVymO86/g5DiDiTe
|
||||||
|
0iBNNgyhchTX6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jvnm/rrXFu+3IzvMc0ZuuIoZ+CY/GBYfiGDhmv3iwqVGC829kj6wCB/70omPbT4FsOXVUHjruHOedTeb
|
||||||
|
cDG20NV+sR2dG5sDfpq7yp3/7NsmH9P3LOOZM78i57geXtCD/ZnAwsUS5knCC0+9snDBG/+y2z9vw1nB
|
||||||
|
gk2+0nnmF9XztwRg3iY/9V/Xe0vfWu2Z8xeTvQeemDP/Hfr/i4SnCKzfTwn7FJ7pFvVgH01AL4SFkV0k
|
||||||
|
mHG2p+yG+9rEyJ7ZOnvPysxAzDCdfYZpFx+G3giBGWShZGIYAasYtk1sZM9snb3/TeJxuM74N5Op7UHB
|
||||||
|
IbOtAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
|
|
||||||
namespace TsSFCDeviceService.App_Code
|
|
||||||
{
|
|
||||||
public class Class1
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
|
|
||||||
<targets>
|
|
||||||
<!--此部分中的所有目标将自动异步-->
|
|
||||||
<target name="asyncFile" xsi:type="AsyncWrapper">
|
|
||||||
<!--项目日志保存文件路径说明fileName="${basedir}/保存目录,以年月日的格式创建/${shortdate}/${记录器名称}-${单级记录}-${shortdate}.txt"-->
|
|
||||||
<target name="log_file" xsi:type="File"
|
|
||||||
fileName="${basedir}/ProjectLogs/${level}-${shortdate}.txt"
|
|
||||||
layout="${longdate} | ${message} ${onexception:${exception:format=message} ${newline} ${stacktrace} ${newline}"
|
|
||||||
concurrentWrites="true"
|
|
||||||
keepFileOpen="false" />
|
|
||||||
</target>
|
|
||||||
<!--使用可自定义的着色将日志消息写入控制台-->
|
|
||||||
<target name="colorConsole" xsi:type="ColoredConsole" layout="[${date:format=HH\:mm\:ss}]:${message} ${exception:format=message}" />
|
|
||||||
</targets>
|
|
||||||
|
|
||||||
<!--规则配置,final - 最终规则匹配后不处理任何规则-->
|
|
||||||
<rules>
|
|
||||||
<logger name="Microsoft.*" minlevel="Info" writeTo="asyncFile" final="true" />
|
|
||||||
<logger name="*" minlevel="Info" writeTo="asyncFile" />
|
|
||||||
<logger name="*" minlevel="Error" writeTo="asyncFile" />
|
|
||||||
</rules>
|
|
||||||
</nlog>
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// 有关程序集的常规信息通过下列特性集
|
|
||||||
// 控制。更改这些特性值可修改
|
|
||||||
// 与程序集关联的信息。
|
|
||||||
[assembly: AssemblyTitle("TsSFCDeviceService")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("TsSFCDeviceService")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © 2024")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
|
||||||
// 对 COM 组件不可见。如果需要
|
|
||||||
// 从 COM 访问此程序集中的某个类型,请针对该类型将 ComVisible 特性设置为 true。
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// 如果此项目向 COM 公开,则下列 GUID 用于 typelib 的 ID
|
|
||||||
[assembly: Guid("9b3687bd-c715-4bf6-be91-9c91be74d478")]
|
|
||||||
|
|
||||||
// 程序集的版本信息由下列四个值组成:
|
|
||||||
//
|
|
||||||
// 主版本
|
|
||||||
// 次版本
|
|
||||||
// 内部版本号
|
|
||||||
// 修订版本
|
|
||||||
//
|
|
||||||
// 可以指定所有值,也可以使用“修订号”和“内部版本号”的默认值,
|
|
||||||
// 方法是按如下所示使用 "*":
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
||||||
|
|
@ -1,146 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProductVersion>
|
|
||||||
</ProductVersion>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<ProjectGuid>{9B3687BD-C715-4BF6-BE91-9C91BE74D478}</ProjectGuid>
|
|
||||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>TsSFCDeviceService</RootNamespace>
|
|
||||||
<AssemblyName>TsSFCDeviceService</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
||||||
<UseIISExpress>true</UseIISExpress>
|
|
||||||
<Use64BitIISExpress />
|
|
||||||
<IISExpressSSLPort />
|
|
||||||
<IISExpressAnonymousAuthentication />
|
|
||||||
<IISExpressWindowsAuthentication />
|
|
||||||
<IISExpressUseClassicPipelineMode />
|
|
||||||
<UseGlobalApplicationHostFile />
|
|
||||||
<NuGetPackageImportStamp>
|
|
||||||
</NuGetPackageImportStamp>
|
|
||||||
<TargetFrameworkProfile />
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\NLog.5.3.2\lib\net45\NLog.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="System.IO.Compression" />
|
|
||||||
<Reference Include="System.Web.DynamicData" />
|
|
||||||
<Reference Include="System.Web.Entity" />
|
|
||||||
<Reference Include="System.Web.ApplicationServices" />
|
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Drawing" />
|
|
||||||
<Reference Include="System.Web" />
|
|
||||||
<Reference Include="System.Web.Extensions" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="System.Configuration" />
|
|
||||||
<Reference Include="System.Web.Services" />
|
|
||||||
<Reference Include="System.EnterpriseServices" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
|
|
||||||
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="deviceData.asmx" />
|
|
||||||
<Content Include="Web.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="App_Code\Class1.cs" />
|
|
||||||
<Compile Include="deviceData.asmx.cs">
|
|
||||||
<DependentUpon>deviceData.asmx</DependentUpon>
|
|
||||||
<SubType>Component</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="Nlog.config">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<None Include="packages.config" />
|
|
||||||
<None Include="Web.Debug.config">
|
|
||||||
<DependentUpon>Web.config</DependentUpon>
|
|
||||||
</None>
|
|
||||||
<None Include="Web.Release.config">
|
|
||||||
<DependentUpon>Web.config</DependentUpon>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\DeviceRepair.Models\DeviceRepair.Models.csproj">
|
|
||||||
<Project>{2a1ffb12-b20f-4f9b-905e-1f928f17b4ee}</Project>
|
|
||||||
<Name>DeviceRepair.Models</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="..\DeviceRepair.Utils\DeviceRepair.Utils.csproj">
|
|
||||||
<Project>{2ae8089a-c70a-47be-921b-de6a502f8d04}</Project>
|
|
||||||
<Name>DeviceRepair.Utils</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
||||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
||||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
|
||||||
<ProjectExtensions>
|
|
||||||
<VisualStudio>
|
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
|
||||||
<WebProjectProperties>
|
|
||||||
<UseIIS>True</UseIIS>
|
|
||||||
<AutoAssignPort>True</AutoAssignPort>
|
|
||||||
<DevelopmentServerPort>63402</DevelopmentServerPort>
|
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
|
||||||
<IISUrl>http://localhost:63402/</IISUrl>
|
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
|
||||||
<UseCustomServer>False</UseCustomServer>
|
|
||||||
<CustomServerUrl>
|
|
||||||
</CustomServerUrl>
|
|
||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
|
||||||
</WebProjectProperties>
|
|
||||||
</FlavorProperties>
|
|
||||||
</VisualStudio>
|
|
||||||
</ProjectExtensions>
|
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
||||||
<PropertyGroup>
|
|
||||||
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
|
|
||||||
</Target>
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
|
||||||
<Target Name="BeforeBuild">
|
|
||||||
</Target>
|
|
||||||
<Target Name="AfterBuild">
|
|
||||||
</Target>
|
|
||||||
-->
|
|
||||||
</Project>
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<UseIISExpress>true</UseIISExpress>
|
|
||||||
<Use64BitIISExpress />
|
|
||||||
<IISExpressSSLPort />
|
|
||||||
<IISExpressAnonymousAuthentication />
|
|
||||||
<IISExpressWindowsAuthentication />
|
|
||||||
<IISExpressUseClassicPipelineMode />
|
|
||||||
<UseGlobalApplicationHostFile />
|
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ProjectExtensions>
|
|
||||||
<VisualStudio>
|
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
|
||||||
<WebProjectProperties>
|
|
||||||
<StartPageUrl>
|
|
||||||
</StartPageUrl>
|
|
||||||
<StartAction>CurrentPage</StartAction>
|
|
||||||
<AspNetDebugging>True</AspNetDebugging>
|
|
||||||
<SilverlightDebugging>False</SilverlightDebugging>
|
|
||||||
<NativeDebugging>False</NativeDebugging>
|
|
||||||
<SQLDebugging>False</SQLDebugging>
|
|
||||||
<ExternalProgram>
|
|
||||||
</ExternalProgram>
|
|
||||||
<StartExternalURL>
|
|
||||||
</StartExternalURL>
|
|
||||||
<StartCmdLineArguments>
|
|
||||||
</StartCmdLineArguments>
|
|
||||||
<StartWorkingDirectory>
|
|
||||||
</StartWorkingDirectory>
|
|
||||||
<EnableENC>True</EnableENC>
|
|
||||||
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
|
|
||||||
</WebProjectProperties>
|
|
||||||
</FlavorProperties>
|
|
||||||
</VisualStudio>
|
|
||||||
</ProjectExtensions>
|
|
||||||
</Project>
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!-- 有关使用 web.config 转换的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
|
||||||
|
|
||||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
||||||
<!--
|
|
||||||
在下例中,“SetAttributes”转换将更改
|
|
||||||
“connectionString”的值,以仅在“Match”定位器
|
|
||||||
找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
|
|
||||||
|
|
||||||
<connectionStrings>
|
|
||||||
<add name="MyDB"
|
|
||||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
|
||||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
|
||||||
</connectionStrings>
|
|
||||||
-->
|
|
||||||
<system.web>
|
|
||||||
<!--
|
|
||||||
|
|
||||||
在下例中,“Replace”转换将替换
|
|
||||||
web.config 文件的整个 <customErrors> 节。
|
|
||||||
请注意,由于
|
|
||||||
在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
|
|
||||||
|
|
||||||
<customErrors defaultRedirect="GenericError.htm"
|
|
||||||
mode="RemoteOnly" xdt:Transform="Replace">
|
|
||||||
<error statusCode="500" redirect="InternalError.htm"/>
|
|
||||||
</customErrors>
|
|
||||||
-->
|
|
||||||
</system.web>
|
|
||||||
</configuration>
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!-- 有关使用 web.config 转换的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
|
||||||
|
|
||||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
||||||
<!--
|
|
||||||
在下例中,“SetAttributes”转换将更改
|
|
||||||
“connectionString”的值,以仅在“Match”定位器
|
|
||||||
找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
|
|
||||||
|
|
||||||
<connectionStrings>
|
|
||||||
<add name="MyDB"
|
|
||||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
|
||||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
|
||||||
</connectionStrings>
|
|
||||||
-->
|
|
||||||
<system.web>
|
|
||||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
|
||||||
<!--
|
|
||||||
|
|
||||||
在下例中,“Replace”转换将替换
|
|
||||||
web.config 文件的整个 <customErrors> 节。
|
|
||||||
请注意,由于
|
|
||||||
在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
|
|
||||||
|
|
||||||
<customErrors defaultRedirect="GenericError.htm"
|
|
||||||
mode="RemoteOnly" xdt:Transform="Replace">
|
|
||||||
<error statusCode="500" redirect="InternalError.htm"/>
|
|
||||||
</customErrors>
|
|
||||||
-->
|
|
||||||
</system.web>
|
|
||||||
</configuration>
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<!--
|
|
||||||
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
|
||||||
https://go.microsoft.com/fwlink/?LinkId=169433
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<!--
|
|
||||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
||||||
|
|
||||||
可在 <httpRuntime> 标记上设置以下特性。
|
|
||||||
<system.Web>
|
|
||||||
<httpRuntime targetFramework="4.5" />
|
|
||||||
</system.Web>
|
|
||||||
-->
|
|
||||||
<system.web>
|
|
||||||
<compilation debug="true" targetFramework="4.5.2"/>
|
|
||||||
<httpRuntime targetFramework="4.5"/>
|
|
||||||
</system.web>
|
|
||||||
<system.codedom>
|
|
||||||
<compilers>
|
|
||||||
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
|
|
||||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
|
|
||||||
</compilers>
|
|
||||||
</system.codedom>
|
|
||||||
<appSettings>
|
|
||||||
<add key="DbConnection" value="BDE8F7885304F971652793A26A78C05A5037D6280601C6774ABFD7F44C1B873A2A79F9D088CF6FD89C227AE0B44A5226DF3BE8D7136A5584B9EF82EF17111DCEFC50467AA2016C983E4A2C388348CD579F2B752522430413AEFDD1725A61A7BE042E02FA82F17FB1F0DC3CC9534BD3625DC8F12EC361EAE5074C4DE21294D7D3"/>
|
|
||||||
</appSettings>
|
|
||||||
<runtime>
|
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
||||||
<dependentAssembly>
|
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
|
||||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
|
|
||||||
</dependentAssembly>
|
|
||||||
</assemblyBinding>
|
|
||||||
</runtime>
|
|
||||||
</configuration>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<%@ WebService Language="C#" CodeBehind="deviceData.asmx.cs" Class="TsSFCDeviceService.deviceData" %>
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
using NLog;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using System.Web.Services;
|
|
||||||
using System.Web.Services.Protocols;
|
|
||||||
|
|
||||||
namespace TsSFCDeviceService
|
|
||||||
{
|
|
||||||
[WebService(Namespace = "http://www.TechScan.cn/")]
|
|
||||||
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
|
|
||||||
[System.ComponentModel.ToolboxItem(false)]
|
|
||||||
// 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。
|
|
||||||
// [System.Web.Script.Services.ScriptService]
|
|
||||||
public class deviceData : System.Web.Services.WebService
|
|
||||||
{
|
|
||||||
private static readonly Logger log = LogManager.GetCurrentClassLogger();
|
|
||||||
|
|
||||||
[WebMethod(Description = "测试")]
|
|
||||||
public string HelloWorld()
|
|
||||||
{
|
|
||||||
//HttpAuthtication();
|
|
||||||
return "Hello World";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//private void HttpAuthtication()
|
|
||||||
//{
|
|
||||||
// #region 校验
|
|
||||||
|
|
||||||
// if (authentication == null || !authentication.ValidUser(authentication.Username, authentication.Password))
|
|
||||||
// {
|
|
||||||
// HttpException soapEx = new HttpException(403, "服务不允许访问此页面,也不允许匿名访问。");
|
|
||||||
|
|
||||||
// SvcLog.Warn(string.Format("客户端[{0}]我们试图执行远程匿名访问Func[{1}]!这是被禁止的!", HttpContext.Current.Request.UserHostAddress, "GetDatas"), soapEx);
|
|
||||||
|
|
||||||
// throw soapEx;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// #endregion 校验
|
|
||||||
//}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net452" />
|
|
||||||
<package id="NLog" version="5.3.2" targetFramework="net452" />
|
|
||||||
</packages>
|
|
||||||
|
|
@ -163,6 +163,10 @@ namespace TsSFCDeviceSvc
|
||||||
UserDa udCmd = new UserDa(Parameters);
|
UserDa udCmd = new UserDa(Parameters);
|
||||||
dsResults = udCmd.GetAuths();
|
dsResults = udCmd.GetAuths();
|
||||||
break;
|
break;
|
||||||
|
case SysModelType.Get_JumpCheck:
|
||||||
|
var jpCmd = new EquipmentJumpPlanCheckDa(Parameters);
|
||||||
|
dsResults = jpCmd.GetDatas();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -216,36 +220,6 @@ namespace TsSFCDeviceSvc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[WebMethod(Description = "判断当前开工设备是否存在未完成的保养计划")]
|
|
||||||
[SoapHeader("auth")]
|
|
||||||
public APIResponseData Get_EquipmentPlanIsComplete(string inParams)
|
|
||||||
{
|
|
||||||
HttpAuthtication();
|
|
||||||
Dictionary<string, string> Parameters = GetParameters(inParams);
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
#region 检查APP版本是否是最新版本,否则返回错误
|
|
||||||
|
|
||||||
AppVersionValid(Parameters);
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
if (!Parameters.ContainsKey("EquipmentID"))
|
|
||||||
{
|
|
||||||
throw new ArgumentException("缺少传入参数设备编号(EquipmentID)");
|
|
||||||
}
|
|
||||||
|
|
||||||
PlanDa cmd = new PlanDa(Parameters);
|
|
||||||
return cmd.Get_EquipmentPlanIsComplete(Parameters["EquipmentID"]);
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
log.Error(ex);
|
|
||||||
return new APIResponseData { Code = -1, Message = ex.Message };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#region 设备信息
|
#region 设备信息
|
||||||
|
|
||||||
[WebMethod(Description = "获取树形结构")]
|
[WebMethod(Description = "获取树形结构")]
|
||||||
|
|
@ -1750,6 +1724,91 @@ namespace TsSFCDeviceSvc
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 设备计划完成校验
|
||||||
|
|
||||||
|
[WebMethod(Description = "判断当前开工设备是否存在未完成的保养计划")]
|
||||||
|
[SoapHeader("auth")]
|
||||||
|
public APIResponseData Get_EquipmentPlanIsComplete(string inParams)
|
||||||
|
{
|
||||||
|
HttpAuthtication();
|
||||||
|
Dictionary<string, string> Parameters = GetParameters(inParams);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
#region 检查APP版本是否是最新版本,否则返回错误
|
||||||
|
|
||||||
|
AppVersionValid(Parameters);
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
if (!Parameters.ContainsKey("EquipmentID"))
|
||||||
|
{
|
||||||
|
throw new ArgumentException("缺少传入参数设备编号(EquipmentID)");
|
||||||
|
}
|
||||||
|
|
||||||
|
PlanDa cmd = new PlanDa(Parameters);
|
||||||
|
return cmd.Get_EquipmentPlanIsComplete(Parameters["EquipmentID"]);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
return new APIResponseData { Code = -1, Message = ex.Message };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[WebMethod(Description = "跳过指定设备指定日期的设备计划完成校验")]
|
||||||
|
[SoapHeader("auth")]
|
||||||
|
public APIResponseData News_JumpCheckData(string inParams)
|
||||||
|
{
|
||||||
|
HttpAuthtication();
|
||||||
|
Dictionary<string, string> Parameters = GetParameters(inParams);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
#region 检查APP版本是否是最新版本,否则返回错误
|
||||||
|
|
||||||
|
AppVersionValid(Parameters);
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
EquipmentJumpPlanCheckDa cmd = new EquipmentJumpPlanCheckDa(Parameters);
|
||||||
|
return cmd.DataNews();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
return new APIResponseData { Code = -1, Message = ex.Message };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[WebMethod(Description = "删除跳过指定设备指定日期的设备计划完成校验")]
|
||||||
|
[SoapHeader("auth")]
|
||||||
|
public APIResponseData Remove_JumpCheckData(string inParams)
|
||||||
|
{
|
||||||
|
HttpAuthtication();
|
||||||
|
Dictionary<string, string> Parameters = GetParameters(inParams);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
#region 检查APP版本是否是最新版本,否则返回错误
|
||||||
|
|
||||||
|
AppVersionValid(Parameters);
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
EquipmentJumpPlanCheckDa cmd = new EquipmentJumpPlanCheckDa(Parameters);
|
||||||
|
return cmd.DataDel();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
return new APIResponseData { Code = -1, Message = ex.Message };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
[WebMethod(Description = "电子签")]
|
[WebMethod(Description = "电子签")]
|
||||||
[SoapHeader("auth")]
|
[SoapHeader("auth")]
|
||||||
public APIResponseData UserConfirm(string inParams, DataTable DataContent, out DataTable dtData)
|
public APIResponseData UserConfirm(string inParams, DataTable DataContent, out DataTable dtData)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user