20
This commit is contained in:
parent
40be0c442b
commit
7c8587542d
|
|
@ -18,7 +18,7 @@ namespace DeviceRepair.DataAccess.CheckForm
|
|||
public class CheckFormDa : BaseDa
|
||||
{
|
||||
private static readonly Logger log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
|
||||
public CheckFormDa(IDictionary<string, string> apiParams) : base(apiParams)
|
||||
{
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ namespace DeviceRepair.DataAccess.CheckForm
|
|||
DataSet dsDatas = new DataSet("Datas");
|
||||
try
|
||||
{
|
||||
string formName = GetParamString("FormName","点检表名称");
|
||||
string formName = GetParamString("FormName", "点检表名称");
|
||||
var exp = Expressionable.Create<MaintenanceFormVersionInfo>()
|
||||
.AndIF(!formName.IsNull(), x => SqlFunc.Contains(x.FormName, SqlFunc.Trim(formName))).ToExpression();//拼接表达式
|
||||
|
||||
|
|
@ -76,36 +76,25 @@ namespace DeviceRepair.DataAccess.CheckForm
|
|||
|
||||
if (plan.Belong.Trim() == EnumDeviceBelong.AM.ToString())
|
||||
{
|
||||
DateTime maintenanceDate = GetParamDateTime("MaintenanceDate", "每日保养的保养日期");
|
||||
|
||||
string sql =
|
||||
@"SELECT CAST(JSON_VALUE(ContentData, '$.Operation[0].MaintenanceTypeValue') AS INT) AS MaintenanceDayValue , FormPrimaryID
|
||||
FROM dbo.MaintenanceRecord WHERE PlanPrimaryID = @PlanPrimaryID";
|
||||
|
||||
List<PlanRecordFormInfo> days = devMain.Ado.SqlQuery<PlanRecordFormInfo>(sql, new { PlanPrimaryID = plan.AutoID });
|
||||
|
||||
PlanRecordFormInfo item = days.FirstOrDefault(x => x.MaintenanceDayValue == maintenanceDate.Day);
|
||||
if (item != null)
|
||||
/* 判断当月AM是否存在点检记录 */
|
||||
var record = devMain.Queryable<MaintenanceRecordInfo>().First(x => x.PlanPrimaryID == plan.AutoID);
|
||||
MaintenanceFormVersionInfo formData;
|
||||
if (record != null)
|
||||
{
|
||||
MaintenanceFormVersionInfo formData = devMain.Queryable<MaintenanceFormVersionInfo>().First(x => x.AutoID == item.FormPrimaryID);
|
||||
if (formData == null)
|
||||
{
|
||||
throw new ArgumentException("当前设备的点检表不存在!");
|
||||
}
|
||||
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
|
||||
dsDatas.Tables.Add(table2);
|
||||
formData = devMain.Queryable<MaintenanceFormVersionInfo>().First(x => x.AutoID == record.FormPrimaryID);
|
||||
}
|
||||
else
|
||||
{
|
||||
MaintenanceFormVersionInfo formData = devMain.Queryable<DeviceInformationInfo, MaintenanceFormVersionInfo>((t1, t2) => new object[] { JoinType.Inner, t1.MaintenanceAMFormVersion == t2.AutoID })
|
||||
.Where((t1, t2) => t1.AutoID == plan.EquipmentID).Select((t1, t2) => t2).First();
|
||||
if (formData == null)
|
||||
{
|
||||
throw new ArgumentException("当前设备的点检表不存在!");
|
||||
}
|
||||
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
|
||||
dsDatas.Tables.Add(table2);
|
||||
formData = devMain.Queryable<DeviceInformationInfo, MaintenanceFormVersionInfo>((t1, t2) => new object[] { JoinType.Inner, t1.MaintenanceAMFormVersion == t2.AutoID })
|
||||
.Where((t1, t2) => t1.AutoID == plan.EquipmentID).Select((t1, t2) => t2).First();
|
||||
}
|
||||
|
||||
if (formData == null)
|
||||
{
|
||||
throw new ArgumentException("当前设备的点检表不存在!");
|
||||
}
|
||||
DataTable table2 = new List<MaintenanceFormVersionInfo> { formData }.ToDataTable();
|
||||
dsDatas.Tables.Add(table2);
|
||||
return new APIResponseData { Code = 1, Message = "操作成功!" };
|
||||
}
|
||||
else if (plan.Belong.Trim() == EnumDeviceBelong.PM.ToString())
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@ namespace DeviceRepair.DataAccess.Data
|
|||
public class BaseDa
|
||||
{
|
||||
#region 属性&字段
|
||||
|
||||
|
||||
private SqlSugarClient deviceDB;
|
||||
private SqlSugarClient deviceLogDB;
|
||||
private SqlSugarClient sfcDataDB;
|
||||
private SqlSugarClient sfcAddOnDB;
|
||||
|
||||
internal OperationModel OperationInfo;
|
||||
|
||||
|
||||
private IDictionary<string, string> m_ApiParameters;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -133,7 +133,7 @@ namespace DeviceRepair.DataAccess.Data
|
|||
return sfcAddOnDB;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 函数
|
||||
|
|
@ -152,7 +152,7 @@ namespace DeviceRepair.DataAccess.Data
|
|||
|
||||
#region 方法
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 取字符串参数
|
||||
/// </summary>
|
||||
|
|
@ -224,7 +224,7 @@ namespace DeviceRepair.DataAccess.Data
|
|||
}
|
||||
|
||||
DateTime value;
|
||||
if (!DateTime.TryParse(ApiParameters[Key]+"",out value))
|
||||
if (!DateTime.TryParse(ApiParameters[Key] + "", out value))
|
||||
{
|
||||
throw new ArgumentException($"参数【{Caption}】传入值转时间类型出错!");
|
||||
}
|
||||
|
|
@ -254,7 +254,7 @@ namespace DeviceRepair.DataAccess.Data
|
|||
}
|
||||
|
||||
Guid value;
|
||||
if (!Guid.TryParse(ApiParameters[Key]+"",out value))
|
||||
if (!Guid.TryParse(ApiParameters[Key] + "", out value))
|
||||
{
|
||||
throw new ArgumentException($"参数【{Caption}】传入值转通用唯一识别码类型出错!");
|
||||
}
|
||||
|
|
@ -272,7 +272,7 @@ namespace DeviceRepair.DataAccess.Data
|
|||
/// <param name="varlist"></param>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <returns></returns>
|
||||
public DataTable ToDataTable<T>(IEnumerable<T> varlist)
|
||||
public DataTable IListToDataTable<T>(IEnumerable<T> varlist)
|
||||
{
|
||||
DataTable dtReturn = new DataTable();
|
||||
PropertyInfo[] oProps = null;
|
||||
|
|
@ -306,7 +306,44 @@ namespace DeviceRepair.DataAccess.Data
|
|||
|
||||
return (dtReturn);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 集合 转 DataTable
|
||||
/// </summary>
|
||||
/// <param name="varlist"></param>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <returns></returns>
|
||||
public DataTable ListToDataTable<T>(List<T> varlist)
|
||||
{
|
||||
DataTable dtReturn = new DataTable();
|
||||
PropertyInfo[] oProps = typeof(T).GetProperties();
|
||||
dtReturn.TableName = typeof(T).Name;
|
||||
|
||||
foreach (PropertyInfo pi in oProps)
|
||||
{
|
||||
Type colType = pi.PropertyType;
|
||||
if ((colType.IsGenericType) && (colType.GetGenericTypeDefinition() == typeof(Nullable<>)))
|
||||
{
|
||||
colType = colType.GetGenericArguments()[0];
|
||||
}
|
||||
|
||||
dtReturn.Columns.Add(new DataColumn(pi.Name, colType));
|
||||
}
|
||||
|
||||
foreach (T rec in varlist)
|
||||
{
|
||||
DataRow dr = dtReturn.NewRow();
|
||||
foreach (PropertyInfo pi in oProps)
|
||||
{
|
||||
dr[pi.Name] = pi.GetValue(rec, null) == null ? DBNull.Value : pi.GetValue(rec, null);
|
||||
}
|
||||
|
||||
dtReturn.Rows.Add(dr);
|
||||
}
|
||||
|
||||
return (dtReturn);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -100,6 +100,8 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Script\5.0\Datas\Auths.sql" />
|
||||
<Content Include="Script\5.0\Datas\DeviceRoute.sql" />
|
||||
<Content Include="Script\5.0\Datas\DriveMaintenance.sql" />
|
||||
<Content Include="Script\5.0\Func\func_GetDailyPlanProccScheduleDetail.sql" />
|
||||
<Content Include="Script\5.0\Func\SplitIn.sql" />
|
||||
<Content Include="Script\5.0\Proc\Proc_AnnualEquipmentMaintenanceProgram.sql" />
|
||||
|
|
|
|||
|
|
@ -447,8 +447,8 @@ GROUP BY MaintenanceDay;";
|
|||
}
|
||||
|
||||
DataTable devDT = Dev.toDataTable();
|
||||
DataTable planDT = plans.ToDataTable();
|
||||
DataTable Records = records.ToDataTable();
|
||||
DataTable planDT = ListToDataTable(plans);
|
||||
DataTable Records = ListToDataTable(records);
|
||||
dsDatas.Tables.Add(devDT);
|
||||
dsDatas.Tables.Add(planDT);
|
||||
dsDatas.Tables.Add(Records);
|
||||
|
|
@ -494,7 +494,7 @@ GROUP BY MaintenanceDay;";
|
|||
}).ToList();
|
||||
|
||||
if (Datas != null && Datas.Count > 0)
|
||||
dsDatas.Tables.Add(Datas.toDataTable());
|
||||
dsDatas.Tables.Add(ListToDataTable(Datas));
|
||||
return dsDatas;
|
||||
}
|
||||
catch (SqlException sqlEx)
|
||||
|
|
@ -839,7 +839,7 @@ GROUP BY MaintenanceDay;";
|
|||
/// </summary>
|
||||
/// <param name="EquipmentID"></param>
|
||||
/// <returns></returns>
|
||||
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID)
|
||||
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID, int Banci)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -853,9 +853,16 @@ GROUP BY MaintenanceDay;";
|
|||
throw new ArgumentNullException("输入的设备编号错误或不存在!");
|
||||
}
|
||||
|
||||
devMain.Ado.UseStoredProcedure().ExecuteCommand("proc_EquipmentPlanIsComplete", new { EquipmentDisplayID = EquipmentID });
|
||||
int Operation = base.GetParamInt("OPERATORAUTOID", "操作员");
|
||||
var parEquipmentDisplayID = new SugarParameter("@EquipmentDisplayID", EquipmentID);
|
||||
var parBanci = new SugarParameter("@Banci", Banci);
|
||||
var parCreateBy = new SugarParameter("@CreateBy", Operation);
|
||||
var parCreateClient = new SugarParameter("@CreateClient", ApiParameters["CLIENTIP"]);
|
||||
var parMsg = new SugarParameter("@Msg", null, true);
|
||||
|
||||
return new APIResponseData { Code = 1 };
|
||||
devMain.Ado.UseStoredProcedure().ExecuteCommand("proc_EquipmentPlanIsComplete", parEquipmentDisplayID, parBanci, parCreateBy, parCreateClient, parMsg);
|
||||
|
||||
return new APIResponseData { Code = 1, Message = parMsg.Value + "" };
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ namespace DeviceRepair.DataAccess.Preserve
|
|||
|
||||
List<MaintenanceRecordInfo> entity = devMain.Queryable<MaintenanceRecordInfo>()
|
||||
.OrderBy(x => x.AutoID, OrderByType.Asc)
|
||||
.Where(x => x.EquipmentPrimaryID == EquipmentPrimaryID && x.FormPrimaryID == FormPrimaryID
|
||||
.Where(x => x.EquipmentPrimaryID == EquipmentPrimaryID //&& x.FormPrimaryID == FormPrimaryID
|
||||
&& x.MYear == plan.MaintenanceYear && x.PlanPrimaryID == plan.AutoID).ToList();
|
||||
|
||||
if (entity == null || entity.Count == 0)
|
||||
|
|
@ -450,10 +450,11 @@ namespace DeviceRepair.DataAccess.Preserve
|
|||
MaintenanceRecordSubmit model = new MaintenanceRecordSubmit();
|
||||
DriveMaintencePlanInfo plan = devMain.Queryable<DriveMaintencePlanInfo>().First(x => x.AutoID == PlanPrimaryKey);
|
||||
DeviceInformationInfo dev = devMain.Queryable<DeviceInformationInfo>().First(x => x.AutoID == plan.EquipmentID);
|
||||
int FormID = plan.Belong.Trim() == EnumDeviceBelong.AM.ToString().Trim() ? dev.MaintenanceAMFormVersion : dev.MaintenanceFormVersion;
|
||||
|
||||
List<MaintenanceRecordInfo> Datas = devMain.Queryable<MaintenanceRecordInfo>()
|
||||
.Where(x => x.PlanPrimaryID == plan.AutoID && x.FormPrimaryID == FormID).ToList();
|
||||
.Where(x => x.PlanPrimaryID == plan.AutoID
|
||||
//&& x.FormPrimaryID == FormID
|
||||
).ToList();
|
||||
|
||||
if (Datas != null && Datas.Count > 0)
|
||||
{
|
||||
|
|
@ -587,7 +588,7 @@ namespace DeviceRepair.DataAccess.Preserve
|
|||
|
||||
if (fs.Count > 0)
|
||||
{
|
||||
DataTable table2 = fs.toDataTable();
|
||||
DataTable table2 = ListToDataTable(fs);
|
||||
table2.TableName = "Attachment";
|
||||
dsDatas.Tables.Add(table2);
|
||||
}
|
||||
|
|
@ -606,7 +607,7 @@ namespace DeviceRepair.DataAccess.Preserve
|
|||
|
||||
if (im.Count > 0)
|
||||
{
|
||||
DataTable table3 = fs.toDataTable();
|
||||
DataTable table3 = ListToDataTable(im);
|
||||
table3.TableName = "Image";
|
||||
dsDatas.Tables.Add(table3);
|
||||
}
|
||||
|
|
@ -628,6 +629,8 @@ namespace DeviceRepair.DataAccess.Preserve
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取设备保养记录信息
|
||||
/// </summary>
|
||||
|
|
|
|||
304
DeviceRepair.DataAccess/Script/5.0/Datas/DeviceRoute.sql
Normal file
304
DeviceRepair.DataAccess/Script/5.0/Datas/DeviceRoute.sql
Normal file
|
|
@ -0,0 +1,304 @@
|
|||
USE [DriveMaintenance]
|
||||
GO
|
||||
SET IDENTITY_INSERT [dbo].[DeviceRoute] ON
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (1, N'975a0c12-7efa-41e3-a2b3-16bd6726fd05', N'OEM', 1, 0, CAST(N'2024-04-24T09:46:38.210' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (2, N'f5e4109e-67c4-4f7d-b398-a67a4f6e1342', N'后道设备', 1, 1, CAST(N'2024-04-24T09:47:15.270' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (4, N'c5ddfac3-6139-4c6b-81b2-353cc64b12d8', N'纵切/车削机床', 1, 1, CAST(N'2024-04-24T09:47:37.600' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (5, N'a250fb7e-d81c-4059-ace3-be643ca10251', N'加工中心', 1, 1, CAST(N'2024-04-24T09:47:56.263' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (6, N'bb05aee4-aac5-464a-816e-c3b41a4fb755', N'KH', 1, 0, CAST(N'2024-04-24T09:48:27.220' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (7, N'eaf4ad83-e0da-4df2-a727-99ea12a7a290', N'纵切/车削机床', 1, 6, CAST(N'2024-04-24T09:49:02.593' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (8, N'd93b65ee-311d-46a7-a11b-add767662b06', N'后道设备', 1, 6, CAST(N'2024-04-24T09:49:10.943' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (9, N'54a49193-f6ba-4241-99c3-e7fa91cfe6ab', N'加工中心', 1, 6, CAST(N'2024-04-24T09:49:21.480' AS DateTime), 1, NULL, NULL)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (10, N'b837d2e9-f726-4caf-9a3d-77d72330f159', N'4轴加工中心', 1, 5, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (11, N'ec029a62-bfdb-4a80-b4eb-6d5b76a7c07b', N'5轴加工中心', 1, 5, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (12, N'935a4a25-e036-4a5e-bef4-a986a3e39386', N'LED UV固化箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (13, N'6503b341-afe3-4a39-82eb-969a738eb7b4', N'UV固化系统', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (14, N'8d7ea115-fd53-4f9d-9c02-68ec09371fd5', N'安川机械手', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (15, N'343f0ad8-753f-44df-9fcd-23b9a6d89f31', N'斑马标签打印机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (16, N'2da15a5e-156c-4fb1-8b13-c148259ffa5c', N'包装封口机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (17, N'54b2aefa-8ebc-468e-bc8b-486cda0a6679', N'保洁柜', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (18, N'ff2b0432-ed09-48c6-8f70-764663e3f800', N'标签打印机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (19, N'39590146-643c-4dbf-986c-2042bc286823', N'超声波清洗机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (20, N'b5e7abd9-c803-4ed0-9adb-077a6e1af96d', N'车铣复合加工中心', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (21, N'ff22a7b1-f722-41e5-8c88-0bc3a3bcc540', N'车铣复合加工中心', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (22, N'b14d9b1a-fa68-42e4-a602-3705655007f1', N'车削中心', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (23, N'ec1665c5-148e-4edd-b636-638e12e30c07', N'车削中心', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (24, N'738c677c-70bf-462f-a9db-a21ca0c575b3', N'车削中心自动上下料系统', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (25, N'9e55e88c-1c5d-4e7d-a97c-ed43253257ab', N'除尘设备', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (26, N'acb498a8-6c5f-4f7e-8440-5a24a9c860f7', N'穿孔机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (27, N'02734d10-85a5-4a3e-a212-88a1743c423e', N'打标机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (28, N'4cb91f1f-8b20-4cbc-8b20-1746d763afa5', N'打标机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (29, N'184ba8fd-9e89-4eb0-9a5f-696c2d6102d8', N'得力条码标签打印机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (30, N'a4126c2f-42dc-4f3e-9826-b96fe418cd66', N'点胶机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (31, N'78167252-d742-4beb-8c5f-0e08bcde4569', N'点胶机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (32, N'6d8383b6-3d6c-4764-b506-9b9b019c5cec', N'电火花成型机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (33, N'46e44aaf-a8d3-4473-afa3-6714d39970ed', N'电解线', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (34, N'015eef54-de9a-40d5-9cfa-d96b8a98aad7', N'电解线', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (35, N'e0ca4cd4-1792-4e3e-a33a-831a5221e0e9', N'对刀仪', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (36, N'e0d990e5-5567-4f92-9ec1-6a962eee896f', N'对刀仪', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (37, N'cae58169-4966-43a1-9cb6-5e84f189c512', N'钝化线', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (38, N'9f7d9cd0-08aa-4998-a059-df97a85b13f4', N'钝化线', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (39, N'6758644f-de9a-4046-b6c2-e6008b10bf30', N'方柱立式钻床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (40, N'aa14936b-fb41-4b83-9738-667a366bfc85', N'封口机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (41, N'd3400d2f-7933-4c7c-9827-99baca37cc48', N'封装机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (42, N'b38ff1db-5728-4f5a-ab82-e8c273c04a1f', N'干洗机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (43, N'4df1421a-8e5e-4c43-87ce-fa28ae90829f', N'干燥箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (44, N'bc61bfa9-afcb-4731-b6fc-1c357913e5cb', N'干燥箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (45, N'de87f075-4ff1-4d92-9120-88d5603f8c9e', N'高频焊机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (46, N'be3993b2-d3ab-4e89-bd61-4e8bda1b9901', N'高频焊机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (47, N'f0976868-f939-457b-accd-b06c119eeb77', N'工具磨床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (48, N'3c11b638-4dcd-49fc-8d32-05604e46118f', N'焊道处理机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (49, N'a6e7c9db-e7e4-479f-9a76-66cb8c4f922b', N'焊机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (50, N'f13ba7c0-670a-4838-aa17-1b5f10b2ef2d', N'焊机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (51, N'1d5b7f8c-23e4-40d1-9baa-4ecc80b4da73', N'烘干箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (52, N'ff579521-4a3c-4e64-aad4-ca235653adf6', N'烘箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (53, N'1c6c2cb6-e32b-49e7-82aa-ef37eee17dd7', N'烘箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (54, N'db398f9f-5d0b-47af-8dd3-14036e696307', N'激光打标机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (55, N'ae002a2d-15f1-4ade-a63a-6cbcf1b09774', N'激光打标机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (56, N'a3fdaed9-f5fb-4742-959f-7289a61816d7', N'激光焊机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (57, N'8a80b0fc-e63f-4e72-9683-e2f757ee1318', N'激光焊机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (58, N'785db79c-2f81-4f41-b1e4-9de19d7c242e', N'激光焊接机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (59, N'd2b76cca-6c81-45d7-8012-482de446cc1e', N'激光切割机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (60, N'523e5abb-4fb8-431e-804a-52bd76591c4d', N'加工中心', 1, 5, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (61, N'3100acca-525d-4a05-b949-079a42394aa2', N'加工中心', 1, 9, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (62, N'648a247c-6ae2-4a53-a906-dcc263ad97c2', N'锯床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (63, N'e4ace4c4-567a-432d-8734-f0bdf6ef9238', N'慢走丝', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (64, N'bab8f74d-9d3c-48c5-970a-88f6853dd3ff', N'铆接机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (65, N'26b34d80-29ce-4fc2-80ce-3c7d643f3fbe', N'诺信手动点胶机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (66, N'ea980965-4a90-4610-8439-31fc16c9e068', N'抛光机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (67, N'e22748db-ad34-4e3d-b673-481407ee7732', N'抛光机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (68, N'2f8cbf44-7b6d-41f2-be52-b49a03d67f2b', N'喷砂机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (69, N'd7210392-65b7-49f3-847b-808346eb225e', N'喷砂机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (70, N'0a1e2d23-c2ea-4dc5-a276-bc99a39d948e', N'平面磨床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (71, N'cc53029b-9ba6-44cf-8fd0-2564f4bfb819', N'平面磨床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (72, N'2a33299b-c0a6-4d34-b4c8-9f656785e90f', N'普车', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (73, N'9c27d31b-8678-4060-b4db-c29e9337d6c7', N'普通车床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (74, N'2fc58e56-743f-43f8-80e1-a45bf66b5b8e', N'普通车床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (75, N'2d821723-213c-4222-9b0f-222679ba2228', N'普通铣床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (76, N'f9e93a9d-e1da-4f0e-8609-b7980282a77f', N'普铣', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (77, N'0f5744bb-1698-4fb3-adb4-19ddb17bed72', N'切削液车', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (78, N'ca530dce-dc80-41f5-bc10-c00db1977bae', N'切削液过滤机', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (79, N'2c1c4d01-a1ec-4195-9d84-96ddf1fa8443', N'切削液过滤器', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (80, N'8bb813d3-224f-4b17-b6a2-f5215f1e6477', N'切削油车', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (81, N'973b29ff-be7d-4c4e-ab56-3199a5ecdbad', N'切削油车', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (82, N'5741b8b3-65bd-4163-98eb-14cf70d622ea', N'清洗机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (83, N'0ca2dc8a-0682-4997-a145-112bf659b7bf', N'清洗机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (84, N'32d1dbe3-e23a-4e1c-a2fa-8d10095ec6cb', N'清洗线', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (85, N'2c2ca1e8-f94a-49b4-9c53-3cf481848d2c', N'清洗线', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (86, N'efe16902-9ac9-48b7-b951-0bc6d24537fb', N'去氢烘箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (87, N'4356ac85-e9a7-41d5-877d-3a6f883cbe16', N'全自动封切机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (88, N'87fe947c-e4ac-45f1-ad3d-0212f335ca5d', N'热处理炉', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (89, N'a229da01-ac94-4f9e-9954-1f5fc10fcebb', N'热处理炉', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (90, N'b611dbb2-be1d-46db-b00b-1171a7f0d6b8', N'热风循环电阻炉', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (91, N'9abb3320-644c-4175-a297-f8ff6dc19088', N'热合封装机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (92, N'3e0ccc81-a161-47a0-ab09-741825937de0', N'热收缩机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (93, N'777dde8f-062e-4c57-8dc5-dfe183d76351', N'热循环烘箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (94, N'd2aa9588-f9ff-4cd5-930d-796545bcb095', N'三维扫描仪', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (95, N'c4af434e-821a-48d0-9bb4-e23fe4784c53', N'砂带机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (96, N'6d8cb60a-e15b-4e6b-8be8-f205f2c89671', N'砂带机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (97, N'ff2cf9fe-4ab4-4c1f-b4f2-7799b9dd7188', N'深孔打磨机', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (98, N'040f30cb-f537-4d70-9b49-ab01916b25fc', N'深孔钻', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (99, N'74d4db27-dd23-42a1-b465-4b6ffbbe7f45', N'深孔钻', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (100, N'de6b6298-25c1-4229-8f7c-a2a516c62338', N'生化培养箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (101, N'54d6983a-bdb0-4c8b-bb29-a5801b397a20', N'数车', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (102, N'0329f57c-d8a5-493a-ac9f-a36c9b33bb56', N'数控车床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (103, N'52f20f11-105c-43aa-8332-2fac15e4274e', N'数控车床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (104, N'656257da-dba9-48a9-8253-3454339dcc9e', N'数控铣床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (105, N'e512574f-5f01-45b9-9ae3-6263aae0b042', N'伺服压力机', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (106, N'612670e9-b641-48b1-8bae-7dd4d754f5aa', N'台式电动封口机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (107, N'35e10fe9-ca80-4fc9-9f98-29a032e1ea47', N'台式铣钻床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (108, N'fd55568d-76b5-4843-8e4f-9cbd1fcc9242', N'台式钻床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (109, N'9a433eaa-5954-422d-b8fb-86f5d908905e', N'台钻', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (110, N'cd34ecd2-064b-4599-93c3-5519517b69a3', N'外圆磨床', 1, 9, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (111, N'248ebd64-9a6e-42c8-a533-8054c66f30ad', N'弯形机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (112, N'0601bdad-5a3f-4e27-a2de-618ee0c113fe', N'无心磨床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (113, N'559f8b65-8c93-4de8-b212-e25da00ac2fb', N'无心磨床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (114, N'ac0957af-221d-4785-a09d-617bd9315e53', N'五轴加工中心', 1, 5, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (115, N'459b8ba7-5030-41c6-bcb2-66dd5fcd63f9', N'五轴加工中心', 1, 9, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (116, N'e84137f5-baec-480a-bea1-cd04c48619e5', N'五轴磨床', 1, 5, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (117, N'98a28c18-b366-4319-b92a-607ad5a35a9d', N'五轴磨床', 1, 9, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (118, N'8b094067-4bda-48eb-b43f-acd7cb988f8b', N'洗衣机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (119, N'519d7989-deba-42d8-ae45-08c0f8b844e7', N'线切割', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (120, N'b9849755-d539-45b0-99e6-190bb32a911c', N'线切割机床', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (121, N'4e7b39d8-5278-4767-b5b9-520955d0ca39', N'线切割机床', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (122, N'5dd004c9-679e-438c-b128-e2a631563d3c', N'线切割机床(慢丝)', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (123, N'c780a4b6-b6a2-4068-a96d-10a7c5ee3ad1', N'压力机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (124, N'443395d4-a7e8-4e6d-a6fa-a7d9ec9d2509', N'氩弧焊机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (125, N'3408472e-3142-4eb4-92cc-030e6f9a85a5', N'研磨机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (126, N'8fa44d06-96df-4240-99fe-d7634c9ad5f3', N'研磨机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (127, N'05984f21-114c-4d8b-9bc1-f01169450b90', N'盐雾试验箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (128, N'77d41afd-c66b-437e-91f8-29babf016034', N'医用封口机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (129, N'6848a2aa-a181-4d55-a60e-c40d36477e7e', N'医用冷藏箱', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (130, N'41996466-7e0d-4a8a-98ca-cf80982dfe0e', N'医用冷藏箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (131, N'7c80c724-0da9-421d-b3b9-f80443fc75bd', N'移动式除尘器', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (132, N'22edb1ad-d352-43b0-8227-398584ecdc6a', N'油压机', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (133, N'df73bb57-d072-4e3b-bd81-b289da549e58', N'油压机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (134, N'adac4079-2bd5-4489-bf4e-a8b0b2103eed', N'折弯机', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (135, N'37fd076a-38ea-440a-b78d-5d43167f4a5f', N'折弯机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (136, N'dbf75765-65e4-4671-b0df-d084120111fc', N'真空烘干箱', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (137, N'ae1d5fe0-4959-44a7-9f9e-7cd11508a03e', N'真空炉', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (138, N'84c0343c-787f-4ce7-b09a-d87913bf4f63', N'真空时效炉', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (139, N'e6290891-181f-492f-af69-40c58847bcd6', N'真空油淬炉', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (140, N'f8e372b2-0ef0-49d0-ae61-26c8c80e58fa', N'震动研磨机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (141, N'2c0343c1-6360-46ab-993e-77010c95cd12', N'震动研磨机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (142, N'f71f3467-9ee5-43c2-a68f-8003cdf7adf7', N'中丝线切割', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (143, N'7da8dc15-a8bb-4528-bdb3-c1ece7f3bea9', N'注塑机', 1, 2, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (144, N'bbdcd4e8-3138-4751-8e3e-0976bfbfc12d', N'注塑机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (145, N'a31c4d5d-7da7-40b2-a346-f9caebb55015', N'装配机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (146, N'a4772698-0206-47aa-ad2f-e5c5c718ca41', N'着色线', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (147, N'dc9425ad-80e4-491d-b1af-cf8e0e76cb8e', N'自动包装机', 1, 8, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (148, N'af945820-204d-4adf-81f9-a07105107d37', N'纵切', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (149, N'd6ce932e-d1fd-4e18-b4ac-0b670b141f79', N'纵切机床', 1, 4, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
INSERT [dbo].[DeviceRoute] ([AutoID], [GUID], [Name], [Status], [ParentID], [CreatDate], [CreatUser], [ModifyDate], [ModifyUser]) VALUES (150, N'0c5b2485-c68f-426c-8432-b6bd775445cf', N'纵切机床', 1, 7, CAST(N'2024-04-24T14:43:19.157' AS DateTime), 1, NULL, 0)
|
||||
GO
|
||||
SET IDENTITY_INSERT [dbo].[DeviceRoute] OFF
|
||||
GO
|
||||
1504
DeviceRepair.DataAccess/Script/5.0/Datas/DriveMaintenance.sql
Normal file
1504
DeviceRepair.DataAccess/Script/5.0/Datas/DriveMaintenance.sql
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -43,22 +43,17 @@ BEGIN
|
|||
FROM dbo.DriveMaintencePlan
|
||||
WHERE AutoID = @PlanID;
|
||||
|
||||
/* 是否存在历史点检表 */
|
||||
/* 是否存在历史点检表 */
|
||||
IF EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM DeviceMaintenanceLog.dbo.DeviceLog
|
||||
INNER JOIN dbo.DriveMaintencePlan
|
||||
ON DriveMaintencePlan.EquipmentID = DeviceLog.EquipmentAutoID
|
||||
WHERE DriveMaintencePlan.AutoID = @PlanID
|
||||
FROM dbo.MaintenanceRecord WITH (NOLOCK)
|
||||
WHERE PlanPrimaryID = @PlanID
|
||||
)
|
||||
BEGIN
|
||||
SELECT @FormID = FormAutoID
|
||||
FROM DeviceMaintenanceLog.dbo.DeviceLog
|
||||
INNER JOIN dbo.DriveMaintencePlan
|
||||
ON DriveMaintencePlan.EquipmentID = DeviceLog.EquipmentAutoID
|
||||
WHERE DriveMaintencePlan.AutoID = @PlanID
|
||||
ORDER BY OperationDate ASC;
|
||||
SELECT @FormID = FormPrimaryID
|
||||
FROM dbo.MaintenanceRecord WITH (NOLOCK)
|
||||
WHERE PlanPrimaryID = @PlanID
|
||||
END;
|
||||
ELSE
|
||||
BEGIN
|
||||
|
|
@ -74,10 +69,10 @@ BEGIN
|
|||
FROM dbo.MaintenanceFormVersion
|
||||
WHERE AutoID = @FormID;
|
||||
|
||||
IF (@TemplateJson IS NULL OR @TemplateJson = '')
|
||||
BEGIN
|
||||
RETURN;
|
||||
END
|
||||
IF (@TemplateJson IS NULL OR @TemplateJson = '')
|
||||
BEGIN
|
||||
RETURN;
|
||||
END;
|
||||
|
||||
/* 进度信息 */
|
||||
INSERT INTO @CompleteStausView
|
||||
|
|
@ -107,10 +102,10 @@ BEGIN
|
|||
WHERE PlanPrimaryID = @PlanID
|
||||
) t3
|
||||
ON (t1.number + 1) = t3.Day
|
||||
AND t3.Banci = t2.Banci
|
||||
AND t3.Banci = t2.Banci
|
||||
WHERE t1.type = 'p'
|
||||
AND t1.number <= DATEDIFF(DAY, @PlanStartDate, EOMONTH(@PlanStartDate))
|
||||
AND (t1.number + 1) = t2.MaintenanceDay;
|
||||
RETURN;
|
||||
RETURN;
|
||||
END;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,36 +24,40 @@ BEGIN
|
|||
DECLARE @planId INT,
|
||||
@devid INT,
|
||||
@MaintenanceType NVARCHAR(50),
|
||||
@MaintenanceMonth INT,
|
||||
@Msg NVARCHAR(MAX);
|
||||
|
||||
/* 判断是否跳过当日检测 */
|
||||
IF EXISTS(SELECT * FROM dbo.DriveMaintencePlan pln
|
||||
INNER JOIN dbo.DriveInformation dev ON pln.EquipmentID = dev.AutoID
|
||||
INNER JOIN dbo.EquipmentJumpPlanCheck jum ON jum.EquipmentAutoID = dev.AutoID
|
||||
WHERE pln.AutoID = @planId AND DATEDIFF(DAY, jum.CheckDate, GETDATE()) = 0 )
|
||||
BEGIN
|
||||
RETURN;
|
||||
END
|
||||
@MaintenanceMonth INT;
|
||||
|
||||
/* 检查是否当日跳过校验 */
|
||||
IF EXISTS
|
||||
(
|
||||
SELECT *
|
||||
FROM dbo.DriveMaintencePlan pln WITH (NOLOCK)
|
||||
INNER JOIN dbo.DriveInformation dev WITH (NOLOCK)
|
||||
ON pln.EquipmentID = dev.AutoID
|
||||
INNER JOIN dbo.EquipmentJumpPlanCheck jum WITH (NOLOCK)
|
||||
ON jum.EquipmentAutoID = dev.AutoID
|
||||
WHERE pln.AutoID = @planId
|
||||
AND DATEDIFF(DAY, jum.CheckDate, GETDATE()) = 0
|
||||
)
|
||||
BEGIN
|
||||
RETURN;
|
||||
END;
|
||||
|
||||
/* 游标循环 */
|
||||
DECLARE cursor_plan CURSOR FOR
|
||||
SELECT pl.AutoID,
|
||||
dev.AutoID,
|
||||
pl.MaintenanceType,
|
||||
pl.MaintenanceMonth
|
||||
FROM dbo.DriveMaintencePlan pl
|
||||
INNER JOIN dbo.DriveInformation dev
|
||||
FROM dbo.DriveMaintencePlan pl WITH (NOLOCK)
|
||||
INNER JOIN dbo.DriveInformation dev WITH (NOLOCK)
|
||||
ON pl.EquipmentID = dev.AutoID
|
||||
WHERE dev.EquipmentID = @EquipmentDisplayID
|
||||
AND pl.PlanStatus = 'A'
|
||||
AND pl.MaintenanceType IS NOT NULL
|
||||
AND pl.MaintenanceYear = YEAR(GETDATE())
|
||||
AND pl.MaintenanceMonth <= MONTH(GETDATE());
|
||||
AND DATEFROMPARTS(pl.MaintenanceYear, pl.MaintenanceMonth, 1)
|
||||
BETWEEN DATEADD(MONTH, -2, GETDATE()) AND GETDATE();
|
||||
OPEN cursor_plan;
|
||||
|
||||
|
||||
|
||||
FETCH NEXT FROM cursor_plan
|
||||
INTO @planId,
|
||||
@devid,
|
||||
|
|
@ -67,8 +71,7 @@ BEGIN
|
|||
Banci,
|
||||
IsComplete
|
||||
INTO #ScheduleDetail
|
||||
FROM func_GetDailyPlanProccScheduleDetail(@planId);
|
||||
|
||||
FROM dbo.func_GetDailyPlanProccScheduleDetail(@planId);
|
||||
|
||||
/* 没有获取到点检表信息 */
|
||||
IF NOT EXISTS (SELECT 1 FROM #ScheduleDetail)
|
||||
|
|
@ -92,57 +95,73 @@ BEGIN
|
|||
END;
|
||||
ELSE
|
||||
BEGIN
|
||||
/* 判断当日日保养完成进度 */
|
||||
IF (DATEPART(HOUR, GETDATE()) > 12)
|
||||
DECLARE @BanciName NVARCHAR(200);
|
||||
SELECT @BanciName = COALESCE(@BanciName + ', ', '') + CASE Banci
|
||||
WHEN 1 THEN
|
||||
'早班'
|
||||
WHEN 2 THEN
|
||||
'中班'
|
||||
ELSE
|
||||
'夜班'
|
||||
END
|
||||
FROM #ScheduleDetail
|
||||
WHERE MaintenanceDay = CAST(GETDATE() AS DATE)
|
||||
AND Banci < @Banci
|
||||
AND IsComplete = 0;
|
||||
IF @BanciName IS NOT NULL
|
||||
BEGIN
|
||||
/* 早班 */
|
||||
RAISERROR('设备:%s,当日存在未完成AM点检(%s)保养,请先完成保养 !', 16, 1, @EquipmentDisplayID, @BanciName);
|
||||
RETURN -1;
|
||||
END;
|
||||
ELSE
|
||||
BEGIN
|
||||
/* 前班次已点检,判断当前班次点检情况 */
|
||||
IF EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM #ScheduleDetail
|
||||
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
|
||||
AND Banci = 1
|
||||
WHERE MaintenanceDay = CAST(GETDATE() AS DATE)
|
||||
AND Banci = @Banci
|
||||
AND IsComplete = 0
|
||||
)
|
||||
BEGIN
|
||||
RAISERROR('设备:%s,存在当日的早班保养未完成,请先完成保养 !', 16, 1, @EquipmentDisplayID);
|
||||
RETURN -1;
|
||||
END;
|
||||
|
||||
IF (DATEPART(HOUR, GETDATE()) > 17)
|
||||
BEGIN
|
||||
|
||||
/* 中班 */
|
||||
IF EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM #ScheduleDetail
|
||||
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
|
||||
AND Banci = 2
|
||||
AND IsComplete = 0
|
||||
)
|
||||
/* 未点检 */
|
||||
DECLARE @firUseTime DATETIME;
|
||||
SELECT @firUseTime = CreateOn
|
||||
FROM dbo.DeviceUseRecord WITH (NOLOCK)
|
||||
WHERE EquipmentId = @devid
|
||||
AND Banci = @Banci
|
||||
AND CheckDate = CAST(GETDATE() AS DATE);
|
||||
IF @firUseTime IS NOT NULL
|
||||
BEGIN
|
||||
RAISERROR('设备:%s,存在当日的中班保养未完成,请先完成保养 !', 16, 1, @EquipmentDisplayID);
|
||||
RETURN -1;
|
||||
END;
|
||||
|
||||
IF (DATEPART(HOUR, GETDATE()) > 22)
|
||||
BEGIN
|
||||
/* 晚班 */
|
||||
IF EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM #ScheduleDetail
|
||||
WHERE DATEDIFF(DAY, MaintenanceDay, GETDATE()) = 0
|
||||
AND Banci = 3
|
||||
AND IsComplete = 0
|
||||
)
|
||||
IF DATEDIFF(HOUR, @firUseTime, GETDATE()) > 4
|
||||
BEGIN
|
||||
RAISERROR('设备:%s,存在当日的夜班保养未完成,请先完成保养 !', 16, 1, @EquipmentDisplayID);
|
||||
RAISERROR('设备:%s,当前班次未完成AM点检保养,请先完成保养 !', 16, 1, @EquipmentDisplayID);
|
||||
RETURN -1;
|
||||
END;
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SET @Msg = '当前班次还未完成AM点检保养,请尽快处理!';
|
||||
END
|
||||
END;
|
||||
ELSE
|
||||
BEGIN
|
||||
/* 日保养提醒 */
|
||||
INSERT INTO dbo.DeviceUseRecord
|
||||
(
|
||||
EquipmentId,
|
||||
EquipmentDisplayId,
|
||||
CheckDate,
|
||||
Banci,
|
||||
CreateBy,
|
||||
CreateOn,
|
||||
CreateClient
|
||||
)
|
||||
VALUES
|
||||
(@devid, @EquipmentDisplayID, CAST(GETDATE() AS DATE), @Banci, @CreateBy,
|
||||
GETDATE(), @CreateClient);
|
||||
SET @Msg = '当前班次还未完成AM点检保养,请尽快处理!';
|
||||
END;
|
||||
|
||||
END;
|
||||
END;
|
||||
END;
|
||||
|
|
@ -151,17 +170,20 @@ BEGIN
|
|||
END;
|
||||
ELSE
|
||||
BEGIN
|
||||
IF NOT EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM dbo.MaintenanceRecord
|
||||
WHERE PlanPrimaryID = @planId
|
||||
AND PlanType = @MaintenanceType
|
||||
)
|
||||
BEGIN
|
||||
RAISERROR('设备:%s,存在保养类型:%s ,未完成,请先完成保养 !', 16, 1, @EquipmentDisplayID, @MaintenanceType);
|
||||
RETURN -1;
|
||||
END;
|
||||
IF @MaintenanceMonth < MONTH(GETDATE())
|
||||
BEGIN
|
||||
IF NOT EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM dbo.MaintenanceRecord
|
||||
WHERE PlanPrimaryID = @planId
|
||||
AND PlanType = @MaintenanceType
|
||||
)
|
||||
BEGIN
|
||||
RAISERROR('设备:%s,存在保养类型:%s ,未完成,请先完成保养 !', 16, 1, @EquipmentDisplayID, @MaintenanceType);
|
||||
RETURN -1;
|
||||
END;
|
||||
END
|
||||
END;
|
||||
|
||||
FETCH NEXT FROM cursor_plan
|
||||
|
|
@ -173,27 +195,6 @@ BEGIN
|
|||
CLOSE cursor_plan;
|
||||
DEALLOCATE cursor_plan;
|
||||
|
||||
--/* 日保养提醒 */
|
||||
--SELECT dt.MaintenanceDay,
|
||||
-- CASE
|
||||
-- WHEN dt.Banci = 1 THEN
|
||||
-- DATEADD(HOUR, 12, dt.MaintenanceDay)
|
||||
-- WHEN dt.Banci = 2 THEN
|
||||
-- DATEADD(HOUR, 17, dt.MaintenanceDay)
|
||||
-- WHEN dt.Banci = 3 THEN
|
||||
-- DATEADD(HOUR, 22, dt.MaintenanceDay)
|
||||
-- END AS LastCompleteDate,
|
||||
-- dt.Banci,
|
||||
-- dt.IsComplete
|
||||
--FROM dbo.DriveMaintencePlan pln
|
||||
-- INNER JOIN dbo.DriveInformation dev
|
||||
-- ON pln.EquipmentID = dev.AutoID
|
||||
-- CROSS APPLY dbo.func_GetDailyPlanProccScheduleDetail(pln.AutoID) dt
|
||||
--WHERE dev.EquipmentID = @EquipmentDisplayID
|
||||
-- AND pln.MaintenanceType = 'Daily'
|
||||
-- AND pln.MaintenanceYear = YEAR(GETDATE())
|
||||
-- AND pln.MaintenanceMonth = MONTH(GETDATE())
|
||||
-- AND DATEDIFF(DAY, GETDATE(), dt.MaintenanceDay) = 0;
|
||||
END TRY
|
||||
BEGIN CATCH
|
||||
IF OBJECT_ID('tempdb..#ScheduleDetail') IS NOT NULL
|
||||
|
|
@ -217,4 +218,3 @@ BEGIN
|
|||
END;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ namespace DeviceRepair.Utils
|
|||
public static DataTable toDataTable<T>(this T item)
|
||||
{
|
||||
var tb = new DataTable(typeof(T).Name);
|
||||
PropertyInfo[] props = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance);
|
||||
PropertyInfo[] props = typeof(T).GetProperties();
|
||||
|
||||
foreach (PropertyInfo prop in props)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -218,6 +218,34 @@ namespace TsSFCDevice.Client.Biz.Impl
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取附件图片
|
||||
/// </summary>
|
||||
/// <param name="AutoID"></param>
|
||||
/// <returns></returns>
|
||||
public byte[] GetAttachmentImageByte(int AutoID)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] btResults = null;
|
||||
ApiParameters?.Clear();
|
||||
ApiParameters.Add("AutoID", AutoID + "");
|
||||
|
||||
var Rtn = Utility.SfcBizService.CurrentSvc.ImgAttrGet(GetParameters(), out btResults);
|
||||
if (Rtn.Code != 1 || btResults == null || btResults.Length == 0)
|
||||
{
|
||||
throw new Exception(Rtn.Message);
|
||||
}
|
||||
|
||||
return btResults;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(ex.Message, ex);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 文件上传
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -600,12 +600,13 @@ namespace TsSFCDevice.Client.Biz.Impl
|
|||
/// </summary>
|
||||
/// <param name="EquipmentID"></param>
|
||||
/// <returns></returns>
|
||||
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID)
|
||||
public APIResponseData Get_EquipmentPlanIsComplete(string EquipmentID, int Banci)
|
||||
{
|
||||
try
|
||||
{
|
||||
ApiParameters?.Clear();
|
||||
ApiParameters.Add("EquipmentID", EquipmentID);
|
||||
ApiParameters.Add("Banci", Banci + "");
|
||||
|
||||
var Rtn = Utility.SfcBizService.CurrentSvc.Get_EquipmentPlanIsComplete(GetParameters());
|
||||
return new APIResponseData { Code = Rtn.Code, Message = Rtn.Message };
|
||||
|
|
|
|||
|
|
@ -81,7 +81,12 @@ namespace TsSFCDevice.Client.Launch.Plan
|
|||
MaintenanceRecordInfo record = CurrentData.Records?.FirstOrDefault(x => x.PlanPrimaryID == item.AutoID);
|
||||
item.CompleteDate = record?.CreateDate ?? null;
|
||||
item.EquipmentDisplayID = CurrentData.Dev.EquipmentID;
|
||||
item.FormDisplayCode = Belong == EnumDeviceBelong.AM ? CurrentData.AM_FormCode : CurrentData.PM_FormCode;
|
||||
|
||||
string UseVerCode = CurrentData.Records.FirstOrDefault(x => x.PlanPrimaryID == item.AutoID)?.FormVersionCode;
|
||||
if (UseVerCode.IsNull())
|
||||
item.FormDisplayCode = Belong == EnumDeviceBelong.AM ? CurrentData.AM_FormCode : CurrentData.PM_FormCode;
|
||||
else
|
||||
item.FormDisplayCode = UseVerCode;
|
||||
}
|
||||
|
||||
gridView1.IndicatorWidth = 50;
|
||||
|
|
|
|||
|
|
@ -29,54 +29,54 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(page_DriveMaintenance));
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions5 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject17 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.be_atta = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.stackPanel2 = new DevExpress.Utils.Layout.StackPanel();
|
||||
this.btn_Cancel = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btn_Submit = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.imgs_Content = new DevExpress.Utils.Layout.StackPanel();
|
||||
this.btn_takePhotos = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.spreadsheetControl1 = new DevExpress.XtraSpreadsheet.SpreadsheetControl();
|
||||
this.txt_Attr = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.pnl_Atta = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::TsSFCDevice.Client.Launch.frmWaiting), true, true);
|
||||
this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components);
|
||||
this.be_atta = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.txt_Attr = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.pnl_Atta = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||
this.layoutControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.be_atta.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.stackPanel2)).BeginInit();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgs_Content)).BeginInit();
|
||||
this.imgs_Content.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txt_Attr.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.be_atta.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txt_Attr.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pnl_Atta)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// layoutControl1
|
||||
|
|
@ -97,6 +97,30 @@
|
|||
this.layoutControl1.TabIndex = 0;
|
||||
this.layoutControl1.Text = "layoutControl1";
|
||||
//
|
||||
// be_atta
|
||||
//
|
||||
this.be_atta.Location = new System.Drawing.Point(117, 551);
|
||||
this.be_atta.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.be_atta.Name = "be_atta";
|
||||
this.be_atta.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.Appearance.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceDisabled.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceFocused.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceReadOnly.Options.UseFont = true;
|
||||
this.be_atta.Properties.AutoHeight = false;
|
||||
editorButtonImageOptions4.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions4.Image")));
|
||||
this.be_atta.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "查看", -1, true, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default),
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "删除", -1, true, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
||||
this.be_atta.Properties.ReadOnly = true;
|
||||
this.be_atta.Size = new System.Drawing.Size(1317, 31);
|
||||
this.be_atta.StyleController = this.layoutControl1;
|
||||
this.be_atta.TabIndex = 8;
|
||||
this.be_atta.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.be_atta_ButtonClick);
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
this.stackPanel2.Controls.Add(this.btn_Cancel);
|
||||
|
|
@ -198,6 +222,37 @@
|
|||
this.spreadsheetControl1.TabIndex = 4;
|
||||
this.spreadsheetControl1.Text = "spreadsheetControl1";
|
||||
this.spreadsheetControl1.PopupMenuShowing += new DevExpress.XtraSpreadsheet.PopupMenuShowingEventHandler(this.spreadsheetControl1_PopupMenuShowing);
|
||||
this.spreadsheetControl1.DocumentLoaded += new System.EventHandler(this.spreadsheetControl1_DocumentLoaded);
|
||||
this.spreadsheetControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.spreadsheetControl1_MouseDown);
|
||||
//
|
||||
// txt_Attr
|
||||
//
|
||||
this.txt_Attr.Location = new System.Drawing.Point(117, 586);
|
||||
this.txt_Attr.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.txt_Attr.Name = "txt_Attr";
|
||||
this.txt_Attr.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.Appearance.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceDisabled.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceFocused.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceReadOnly.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AutoHeight = false;
|
||||
editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image")));
|
||||
serializableAppearanceObject1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
serializableAppearanceObject1.Options.UseBorderColor = true;
|
||||
serializableAppearanceObject2.BorderColor = System.Drawing.Color.Silver;
|
||||
serializableAppearanceObject2.Options.UseBorderColor = true;
|
||||
serializableAppearanceObject3.BorderColor = System.Drawing.Color.Gray;
|
||||
serializableAppearanceObject3.Options.UseBorderColor = true;
|
||||
this.txt_Attr.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", 32, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
||||
this.txt_Attr.Properties.ReadOnly = true;
|
||||
this.txt_Attr.Properties.Click += new System.EventHandler(this.txt_Attr_Click);
|
||||
this.txt_Attr.Size = new System.Drawing.Size(1317, 31);
|
||||
this.txt_Attr.StyleController = this.layoutControl1;
|
||||
this.txt_Attr.TabIndex = 5;
|
||||
//
|
||||
// Root
|
||||
//
|
||||
|
|
@ -223,6 +278,26 @@
|
|||
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem1.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.layoutControlItem2.AppearanceItemCaption.Options.UseFont = true;
|
||||
this.layoutControlItem2.AppearanceItemCaptionDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.layoutControlItem2.AppearanceItemCaptionDisabled.Options.UseFont = true;
|
||||
this.layoutControlItem2.Control = this.txt_Attr;
|
||||
this.layoutControlItem2.CustomizationFormText = "layoutAttach";
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(0, 574);
|
||||
this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 35);
|
||||
this.layoutControlItem2.MinSize = new System.Drawing.Size(155, 21);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(1426, 35);
|
||||
this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItem2.Text = "附件";
|
||||
this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(100, 14);
|
||||
this.layoutControlItem2.TextToControlDistance = 5;
|
||||
//
|
||||
// layoutControlItem3
|
||||
//
|
||||
this.layoutControlItem3.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
|
|
@ -257,83 +332,6 @@
|
|||
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem4.TextVisible = false;
|
||||
//
|
||||
// splashScreenManager1
|
||||
//
|
||||
this.splashScreenManager1.ClosingDelay = 500;
|
||||
//
|
||||
// be_atta
|
||||
//
|
||||
this.be_atta.Location = new System.Drawing.Point(117, 551);
|
||||
this.be_atta.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.be_atta.Name = "be_atta";
|
||||
this.be_atta.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.Appearance.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceDisabled.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceFocused.Options.UseFont = true;
|
||||
this.be_atta.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.be_atta.Properties.AppearanceReadOnly.Options.UseFont = true;
|
||||
this.be_atta.Properties.AutoHeight = false;
|
||||
editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image")));
|
||||
this.be_atta.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "查看", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default),
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "删除", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
||||
this.be_atta.Properties.ReadOnly = true;
|
||||
this.be_atta.Size = new System.Drawing.Size(1317, 31);
|
||||
this.be_atta.StyleController = this.layoutControl1;
|
||||
this.be_atta.TabIndex = 8;
|
||||
this.be_atta.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.be_atta_ButtonClick);
|
||||
//
|
||||
// txt_Attr
|
||||
//
|
||||
this.txt_Attr.Location = new System.Drawing.Point(117, 586);
|
||||
this.txt_Attr.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.txt_Attr.Name = "txt_Attr";
|
||||
this.txt_Attr.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.Appearance.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceDisabled.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceFocused.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.txt_Attr.Properties.AppearanceReadOnly.Options.UseFont = true;
|
||||
this.txt_Attr.Properties.AutoHeight = false;
|
||||
editorButtonImageOptions3.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions3.Image")));
|
||||
serializableAppearanceObject9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
serializableAppearanceObject9.Options.UseBorderColor = true;
|
||||
serializableAppearanceObject10.BorderColor = System.Drawing.Color.Silver;
|
||||
serializableAppearanceObject10.Options.UseBorderColor = true;
|
||||
serializableAppearanceObject11.BorderColor = System.Drawing.Color.Gray;
|
||||
serializableAppearanceObject11.Options.UseBorderColor = true;
|
||||
this.txt_Attr.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", 32, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
||||
this.txt_Attr.Properties.ReadOnly = true;
|
||||
this.txt_Attr.Properties.Click += new System.EventHandler(this.txt_Attr_Click);
|
||||
this.txt_Attr.Size = new System.Drawing.Size(1317, 31);
|
||||
this.txt_Attr.StyleController = this.layoutControl1;
|
||||
this.txt_Attr.TabIndex = 5;
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.layoutControlItem2.AppearanceItemCaption.Options.UseFont = true;
|
||||
this.layoutControlItem2.AppearanceItemCaptionDisabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.layoutControlItem2.AppearanceItemCaptionDisabled.Options.UseFont = true;
|
||||
this.layoutControlItem2.Control = this.txt_Attr;
|
||||
this.layoutControlItem2.CustomizationFormText = "layoutAttach";
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(0, 574);
|
||||
this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 35);
|
||||
this.layoutControlItem2.MinSize = new System.Drawing.Size(155, 21);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(1426, 35);
|
||||
this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItem2.Text = "附件";
|
||||
this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(100, 14);
|
||||
this.layoutControlItem2.TextToControlDistance = 5;
|
||||
//
|
||||
// pnl_Atta
|
||||
//
|
||||
this.pnl_Atta.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
|
|
@ -353,6 +351,10 @@
|
|||
this.pnl_Atta.TextToControlDistance = 5;
|
||||
this.pnl_Atta.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
//
|
||||
// splashScreenManager1
|
||||
//
|
||||
this.splashScreenManager1.ClosingDelay = 500;
|
||||
//
|
||||
// page_DriveMaintenance
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
||||
|
|
@ -368,19 +370,19 @@
|
|||
this.Load += new System.EventHandler(this.page_DriveMaintenance_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||
this.layoutControl1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.be_atta.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.stackPanel2)).EndInit();
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgs_Content)).EndInit();
|
||||
this.imgs_Content.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.txt_Attr.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.be_atta.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txt_Attr.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pnl_Atta)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -488,7 +488,7 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
EquipmentPrimaryID = CurrentDrive.AutoID,
|
||||
EquipmentName = CurrentDrive.EquipmentName,
|
||||
InstallationSite = CurrentDrive.InstallationLocation,
|
||||
FormPrimaryID = Belong == EnumDeviceBelong.AM ? CurrentDrive.MaintenanceAMFormVersion : CurrentDrive.MaintenanceFormVersion,
|
||||
FormPrimaryID = CurrentFormModel.AutoID,
|
||||
FormName = CurrentFormModel.FormName,
|
||||
FormVersionCode = CurrentFormModel.VersionCode,
|
||||
FormVersionRev = CurrentFormModel.VersionRev,
|
||||
|
|
@ -579,6 +579,11 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
{
|
||||
ServiceTime = CommonRepository.Instance.ServiceTime();
|
||||
|
||||
if (Belong == EnumDeviceBelong.AM)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (MaintenanceAutoID != 0)
|
||||
{
|
||||
CurrentModel = PreserveRepository.Instance.Get_Preserve_Single(MaintenanceAutoID);
|
||||
|
|
@ -844,337 +849,10 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
this.DialogResult = DialogResult.Abort;
|
||||
}
|
||||
|
||||
spreadsheetControl1.Document.DocumentLoaded += (s, ee) =>
|
||||
{
|
||||
try
|
||||
{
|
||||
//当年不存在历史信息
|
||||
if (CurrentModel == null)
|
||||
{
|
||||
#region 设备名称赋值
|
||||
foreach (SheetDataItem item in template.EquipmentName)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentName;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安装地点
|
||||
foreach (SheetDataItem item in template.InstallationSite)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.InstallationLocation;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备型号赋值
|
||||
//设备型号赋值
|
||||
foreach (SheetDataItem item in template.DeviceSpecification)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.Specification;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备编号赋值
|
||||
//设备编号赋值
|
||||
foreach (SheetDataItem item in template.EquipmentID)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentID;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 年份赋值
|
||||
|
||||
//年份赋值
|
||||
foreach (SheetDataItem item in template.Year)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
|
||||
// 获取单元格的内容
|
||||
RichTextString value = cell.GetRichText();
|
||||
|
||||
//字符串 分割 -6是为了年份数值的占位
|
||||
int index = value.Text.IndexOf("年");
|
||||
string left = value.Text.Substring(0, index - 6);
|
||||
string right = value.Text.Substring(index);
|
||||
|
||||
RichTextString nvalue = new RichTextString();
|
||||
string content = $"{DateTime.Today.Year}";
|
||||
nvalue.AddTextRun(left, new RichTextRunFont(cell.Font));
|
||||
nvalue.AddTextRun(content, new RichTextRunFont(cell.Font) { UnderlineType = UnderlineType.Single });
|
||||
nvalue.AddTextRun(right, new RichTextRunFont(cell.Font));
|
||||
|
||||
cell.BeginUpdate();
|
||||
cell.SetRichText(nvalue);
|
||||
cell.EndUpdate();
|
||||
}
|
||||
|
||||
foreach (SheetDataItem item in template.YearAndMonth)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
if (cell.Value.IsText && !cell.Value.TextValue.IsNull())
|
||||
{
|
||||
cell.Value = cell.Value.TextValue.Replace(" 年", $"{CurrentPlanModel.MaintenanceYear}年").Replace(" 月", $"{CurrentPlanModel.MaintenanceMonth.ToString().PadLeft(2, '0')}月");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 设置右键菜单
|
||||
|
||||
spreadsheetControl1.MouseDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.Button == MouseButtons.Right)
|
||||
{
|
||||
// 获取鼠标位置对应的单元格
|
||||
Cell cell = spreadsheetControl1.GetCellFromPoint(new PointF(e1.X, e1.Y));
|
||||
if (cell == null)
|
||||
return;
|
||||
|
||||
// 判断是否为合并单元格
|
||||
if (cell.IsMerged)
|
||||
{
|
||||
//获取主单元格位置
|
||||
int top = (cell.GetMergedRanges()[0]).TopRowIndex;
|
||||
int left = (cell.GetMergedRanges()[0]).LeftColumnIndex;
|
||||
|
||||
CurrentCell = worksheet.Cells[top, left];
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentCell = cell;
|
||||
}
|
||||
|
||||
if (EditCondition.ContainsKey(EnumMaintenanceCellType.Operation) && template.Operation.Any(EditCondition[EnumMaintenanceCellType.Operation]))
|
||||
{
|
||||
// 操作人
|
||||
template.popupOperation.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.OperationDate) && template.OperationDate.Any(EditCondition[EnumMaintenanceCellType.OperationDate]))
|
||||
{
|
||||
// 保养日期
|
||||
template.popupDate.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.Content) && template.Content.Any(EditCondition[EnumMaintenanceCellType.Content]))
|
||||
{
|
||||
// 保养正文
|
||||
template.popupContent.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.ExceptionDescription) && template.ExceptionDescription.Any(EditCondition[EnumMaintenanceCellType.ExceptionDescription]))
|
||||
{
|
||||
// 保养 - 其他异常
|
||||
template.popupException.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
Cell cell = null;
|
||||
#region 设备名称
|
||||
//设备名称
|
||||
foreach (SheetDataItem item in template.EquipmentName)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentName;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安装地点
|
||||
//安装地点
|
||||
foreach (SheetDataItem item in template.InstallationSite)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.InstallationLocation;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备型号赋值
|
||||
//设备型号赋值
|
||||
foreach (SheetDataItem item in template.DeviceSpecification)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentModel.Specification;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备编号赋值
|
||||
//设备编号赋值
|
||||
foreach (SheetDataItem item in template.EquipmentID)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentModel.EquipmentID;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 年份赋值
|
||||
|
||||
//年份赋值
|
||||
foreach (SheetDataItem item in template.Year)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
|
||||
// 获取单元格的内容
|
||||
RichTextString value = cell.GetRichText();
|
||||
|
||||
//字符串 分割 -6是为了年份数值的占位
|
||||
int index = value.Text.IndexOf("年");
|
||||
string left = value.Text.Substring(0, index - 6);
|
||||
string right = value.Text.Substring(index);
|
||||
|
||||
RichTextString nvalue = new RichTextString();
|
||||
string content = CurrentModel.MYear + "";
|
||||
nvalue.AddTextRun(left, new RichTextRunFont(cell.Font));
|
||||
nvalue.AddTextRun(content, new RichTextRunFont(cell.Font) { UnderlineType = UnderlineType.Single });
|
||||
nvalue.AddTextRun(right, new RichTextRunFont(cell.Font));
|
||||
|
||||
cell.BeginUpdate();
|
||||
cell.SetRichText(nvalue);
|
||||
cell.EndUpdate();
|
||||
}
|
||||
|
||||
foreach (SheetDataItem item in template.YearAndMonth)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
if (cell.Value.IsText && !cell.Value.TextValue.IsNull())
|
||||
{
|
||||
cell.Value = cell.Value.TextValue.Replace(" 年", $"{CurrentPlanModel.MaintenanceYear}年").Replace(" 月", $"{CurrentPlanModel.MaintenanceMonth.ToString().PadLeft(2, '0')}月");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 正文赋值
|
||||
List<SheetDataItem> datas = template.Content.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 异常赋值
|
||||
datas = template.ExceptionDescription.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
cell.Alignment.WrapText = true;
|
||||
cell.Alignment.Horizontal = SpreadsheetHorizontalAlignment.Left;
|
||||
cell.Alignment.Vertical = SpreadsheetVerticalAlignment.Top;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 操作人赋值
|
||||
datas = template.Operation.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
|
||||
if (CurrentType == EnumMaintenanceType.Daily)
|
||||
{
|
||||
double width = worksheet.Columns[cell.ColumnIndex].Width;
|
||||
worksheet.Columns[cell.ColumnIndex].AutoFitColumns();
|
||||
if (worksheet.Columns[cell.ColumnIndex].Width < width)
|
||||
{
|
||||
worksheet.Columns[cell.ColumnIndex].Width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 操作时间赋值
|
||||
datas = template.OperationDate.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
|
||||
if (CurrentType == EnumMaintenanceType.Daily)
|
||||
{
|
||||
double width = worksheet.Columns[cell.ColumnIndex].Width;
|
||||
worksheet.Columns[cell.ColumnIndex].AutoFitColumns();
|
||||
if (worksheet.Columns[cell.ColumnIndex].Width < width)
|
||||
{
|
||||
worksheet.Columns[cell.ColumnIndex].Width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 设置右键菜单
|
||||
|
||||
spreadsheetControl1.MouseDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.Button == MouseButtons.Right)
|
||||
{
|
||||
// 获取鼠标位置对应的单元格
|
||||
cell = spreadsheetControl1.GetCellFromPoint(new PointF(e1.X, e1.Y));
|
||||
if (cell == null)
|
||||
return;
|
||||
|
||||
// 判断是否为合并单元格
|
||||
if (cell.IsMerged)
|
||||
{
|
||||
//获取主单元格位置
|
||||
int top = (cell.GetMergedRanges()[0]).TopRowIndex;
|
||||
int left = (cell.GetMergedRanges()[0]).LeftColumnIndex;
|
||||
|
||||
CurrentCell = worksheet.Cells[top, left];
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentCell = cell;
|
||||
}
|
||||
|
||||
//if (EditCondition.ContainsKey(EnumMaintenanceCellType.Operation) && template.Operation.Where(EditCondition[EnumMaintenanceCellType.Operation]).Any(x => x.Value == null || isAdmin))
|
||||
if (EditCondition.ContainsKey(EnumMaintenanceCellType.Operation) && template.Operation.Any(EditCondition[EnumMaintenanceCellType.Operation]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 操作人
|
||||
template.popupOperation.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
//else if (EditCondition.ContainsKey(EnumMaintenanceCellType.OperationDate) && template.OperationDate.Where(EditCondition[EnumMaintenanceCellType.OperationDate]).Any(x => x.Value == null || isAdmin))
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.OperationDate) && template.OperationDate.Any(EditCondition[EnumMaintenanceCellType.OperationDate]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养日期
|
||||
template.popupDate.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
// else if (EditCondition.ContainsKey(EnumMaintenanceCellType.Content) && template.Content.Where(EditCondition[EnumMaintenanceCellType.Content]).Any(x => x.Value == null || isAdmin))
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.Content) && template.Content.Any(EditCondition[EnumMaintenanceCellType.Content]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养正文
|
||||
template.popupContent.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
//else if (EditCondition.ContainsKey(EnumMaintenanceCellType.ExceptionDescription) && template.ExceptionDescription.Where(EditCondition[EnumMaintenanceCellType.ExceptionDescription]).Any(x => x.Value == null || isAdmin))
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.ExceptionDescription) && template.ExceptionDescription.Any(EditCondition[EnumMaintenanceCellType.ExceptionDescription]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养 - 其他异常
|
||||
template.popupException.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
worksheet.ScrollTo(0, 0);
|
||||
|
||||
splashScreenManager1.TryCloseWait();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
splashScreenManager1.TryCloseWait();
|
||||
XtraMessageBoxHelper.Error(ex.Message);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//spreadsheetControl1.Document.DocumentLoaded += (s, ee) =>
|
||||
//{
|
||||
|
||||
//};
|
||||
}
|
||||
|
||||
#region 方法
|
||||
|
|
@ -1552,7 +1230,7 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
return false;
|
||||
}
|
||||
|
||||
private void be_atta_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
|
||||
private void be_atta_ButtonClick(object sender, ButtonPressedEventArgs e)
|
||||
{
|
||||
if (e.Button.Caption == "删除" && XtraMessageBoxHelper.Ask("是否确定执行删除操作?") == DialogResult.OK)
|
||||
{
|
||||
|
|
@ -1602,5 +1280,345 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
}
|
||||
return item;
|
||||
}
|
||||
/// <summary>
|
||||
/// 点检表加载完成
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void spreadsheetControl1_DocumentLoaded(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
//当年不存在历史信息
|
||||
if (CurrentModel == null)
|
||||
{
|
||||
#region 设备名称赋值
|
||||
foreach (SheetDataItem item in template.EquipmentName)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentName;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安装地点
|
||||
foreach (SheetDataItem item in template.InstallationSite)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.InstallationLocation;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备型号赋值
|
||||
//设备型号赋值
|
||||
foreach (SheetDataItem item in template.DeviceSpecification)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.Specification;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备编号赋值
|
||||
//设备编号赋值
|
||||
foreach (SheetDataItem item in template.EquipmentID)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentID;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 年份赋值
|
||||
|
||||
//年份赋值
|
||||
foreach (SheetDataItem item in template.Year)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
|
||||
// 获取单元格的内容
|
||||
RichTextString value = cell.GetRichText();
|
||||
|
||||
//字符串 分割 -6是为了年份数值的占位
|
||||
int index = value.Text.IndexOf("年");
|
||||
string left = value.Text.Substring(0, index - 6);
|
||||
string right = value.Text.Substring(index);
|
||||
|
||||
RichTextString nvalue = new RichTextString();
|
||||
string content = $"{DateTime.Today.Year}";
|
||||
nvalue.AddTextRun(left, new RichTextRunFont(cell.Font));
|
||||
nvalue.AddTextRun(content, new RichTextRunFont(cell.Font) { UnderlineType = UnderlineType.Single });
|
||||
nvalue.AddTextRun(right, new RichTextRunFont(cell.Font));
|
||||
|
||||
cell.BeginUpdate();
|
||||
cell.SetRichText(nvalue);
|
||||
cell.EndUpdate();
|
||||
}
|
||||
|
||||
foreach (SheetDataItem item in template.YearAndMonth)
|
||||
{
|
||||
Cell cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
if (cell.Value.IsText && !cell.Value.TextValue.IsNull())
|
||||
{
|
||||
cell.Value = cell.Value.TextValue.Replace(" 年", $"{CurrentPlanModel.MaintenanceYear}年").Replace(" 月", $"{CurrentPlanModel.MaintenanceMonth.ToString().PadLeft(2, '0')}月");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 设置右键菜单
|
||||
|
||||
//spreadsheetControl1.MouseDown += (s1, e1) =>
|
||||
//{
|
||||
// if (e1.Button == MouseButtons.Right)
|
||||
// {
|
||||
// // 获取鼠标位置对应的单元格
|
||||
// Cell cell = spreadsheetControl1.GetCellFromPoint(new PointF(e1.X, e1.Y));
|
||||
// if (cell == null)
|
||||
// return;
|
||||
|
||||
// // 判断是否为合并单元格
|
||||
// if (cell.IsMerged)
|
||||
// {
|
||||
// //获取主单元格位置
|
||||
// int top = (cell.GetMergedRanges()[0]).TopRowIndex;
|
||||
// int left = (cell.GetMergedRanges()[0]).LeftColumnIndex;
|
||||
|
||||
// CurrentCell = worksheet.Cells[top, left];
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// CurrentCell = cell;
|
||||
// }
|
||||
|
||||
// if (EditCondition.ContainsKey(EnumMaintenanceCellType.Operation) && template.Operation.Any(EditCondition[EnumMaintenanceCellType.Operation]))
|
||||
// {
|
||||
// // 操作人
|
||||
// template.popupOperation.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
// }
|
||||
// else if (EditCondition.ContainsKey(EnumMaintenanceCellType.OperationDate) && template.OperationDate.Any(EditCondition[EnumMaintenanceCellType.OperationDate]))
|
||||
// {
|
||||
// // 保养日期
|
||||
// template.popupDate.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
// }
|
||||
// else if (EditCondition.ContainsKey(EnumMaintenanceCellType.Content) && template.Content.Any(EditCondition[EnumMaintenanceCellType.Content]))
|
||||
// {
|
||||
// // 保养正文
|
||||
// template.popupContent.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
// }
|
||||
// else if (EditCondition.ContainsKey(EnumMaintenanceCellType.ExceptionDescription) && template.ExceptionDescription.Any(EditCondition[EnumMaintenanceCellType.ExceptionDescription]))
|
||||
// {
|
||||
// // 保养 - 其他异常
|
||||
// template.popupException.ShowPopup(spreadsheetControl1, new Point(e1.X, e1.Y));
|
||||
// }
|
||||
// }
|
||||
//};
|
||||
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
Cell cell = null;
|
||||
#region 设备名称
|
||||
//设备名称
|
||||
foreach (SheetDataItem item in template.EquipmentName)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.EquipmentName;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安装地点
|
||||
//安装地点
|
||||
foreach (SheetDataItem item in template.InstallationSite)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentDrive.InstallationLocation;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备型号赋值
|
||||
//设备型号赋值
|
||||
foreach (SheetDataItem item in template.DeviceSpecification)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentModel.Specification;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 设备编号赋值
|
||||
//设备编号赋值
|
||||
foreach (SheetDataItem item in template.EquipmentID)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = CurrentModel.EquipmentID;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 年份赋值
|
||||
|
||||
//年份赋值
|
||||
foreach (SheetDataItem item in template.Year)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
|
||||
// 获取单元格的内容
|
||||
RichTextString value = cell.GetRichText();
|
||||
|
||||
//字符串 分割 -6是为了年份数值的占位
|
||||
int index = value.Text.IndexOf("年");
|
||||
string left = value.Text.Substring(0, index - 6);
|
||||
string right = value.Text.Substring(index);
|
||||
|
||||
RichTextString nvalue = new RichTextString();
|
||||
string content = CurrentModel.MYear + "";
|
||||
nvalue.AddTextRun(left, new RichTextRunFont(cell.Font));
|
||||
nvalue.AddTextRun(content, new RichTextRunFont(cell.Font) { UnderlineType = UnderlineType.Single });
|
||||
nvalue.AddTextRun(right, new RichTextRunFont(cell.Font));
|
||||
|
||||
cell.BeginUpdate();
|
||||
cell.SetRichText(nvalue);
|
||||
cell.EndUpdate();
|
||||
}
|
||||
|
||||
foreach (SheetDataItem item in template.YearAndMonth)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
if (cell.Value.IsText && !cell.Value.TextValue.IsNull())
|
||||
{
|
||||
cell.Value = cell.Value.TextValue.Replace(" 年", $"{CurrentPlanModel.MaintenanceYear}年").Replace(" 月", $"{CurrentPlanModel.MaintenanceMonth.ToString().PadLeft(2, '0')}月");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 正文赋值
|
||||
List<SheetDataItem> datas = template.Content.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 异常赋值
|
||||
datas = template.ExceptionDescription.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
cell.Alignment.WrapText = true;
|
||||
cell.Alignment.Horizontal = SpreadsheetHorizontalAlignment.Left;
|
||||
cell.Alignment.Vertical = SpreadsheetVerticalAlignment.Top;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 操作人赋值
|
||||
datas = template.Operation.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
|
||||
if (CurrentType == EnumMaintenanceType.Daily)
|
||||
{
|
||||
double width = worksheet.Columns[cell.ColumnIndex].Width;
|
||||
worksheet.Columns[cell.ColumnIndex].AutoFitColumns();
|
||||
if (worksheet.Columns[cell.ColumnIndex].Width < width)
|
||||
{
|
||||
worksheet.Columns[cell.ColumnIndex].Width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 操作时间赋值
|
||||
datas = template.OperationDate.Where(x => x.Value != null)?.ToList();
|
||||
foreach (SheetDataItem item in datas)
|
||||
{
|
||||
cell = worksheet.Cells[item.RowIndex, item.ColumnIndex];
|
||||
cell.Value = item.Value + "";
|
||||
|
||||
if (CurrentType == EnumMaintenanceType.Daily)
|
||||
{
|
||||
double width = worksheet.Columns[cell.ColumnIndex].Width;
|
||||
worksheet.Columns[cell.ColumnIndex].AutoFitColumns();
|
||||
if (worksheet.Columns[cell.ColumnIndex].Width < width)
|
||||
{
|
||||
worksheet.Columns[cell.ColumnIndex].Width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 设置右键菜单
|
||||
|
||||
//spreadsheetControl1.MouseDown += (s1, e1) =>
|
||||
//{
|
||||
|
||||
//};
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
worksheet.ScrollTo(0, 0);
|
||||
|
||||
splashScreenManager1.TryCloseWait();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
splashScreenManager1.TryCloseWait();
|
||||
XtraMessageBoxHelper.Error(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 鼠标右键
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void spreadsheetControl1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Right)
|
||||
{
|
||||
// 获取鼠标位置对应的单元格
|
||||
var cell = spreadsheetControl1.GetCellFromPoint(new PointF(e.X, e.Y));
|
||||
if (cell == null)
|
||||
return;
|
||||
|
||||
// 判断是否为合并单元格
|
||||
if (cell.IsMerged)
|
||||
{
|
||||
//获取主单元格位置
|
||||
int top = (cell.GetMergedRanges()[0]).TopRowIndex;
|
||||
int left = (cell.GetMergedRanges()[0]).LeftColumnIndex;
|
||||
|
||||
CurrentCell = worksheet.Cells[top, left];
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentCell = cell;
|
||||
}
|
||||
|
||||
if (EditCondition.ContainsKey(EnumMaintenanceCellType.Operation) && template.Operation.Any(EditCondition[EnumMaintenanceCellType.Operation]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 操作人
|
||||
template.popupOperation.ShowPopup(spreadsheetControl1, new Point(e.X, e.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.OperationDate) && template.OperationDate.Any(EditCondition[EnumMaintenanceCellType.OperationDate]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养日期
|
||||
template.popupDate.ShowPopup(spreadsheetControl1, new Point(e.X, e.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.Content) && template.Content.Any(EditCondition[EnumMaintenanceCellType.Content]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养正文
|
||||
template.popupContent.ShowPopup(spreadsheetControl1, new Point(e.X, e.Y));
|
||||
}
|
||||
else if (EditCondition.ContainsKey(EnumMaintenanceCellType.ExceptionDescription) && template.ExceptionDescription.Any(EditCondition[EnumMaintenanceCellType.ExceptionDescription]) && (MaintenanceAutoID == 0 || isAdmin))
|
||||
{
|
||||
// 保养 - 其他异常
|
||||
template.popupException.ShowPopup(spreadsheetControl1, new Point(e.X, e.Y));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="editorButtonImageOptions1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="editorButtonImageOptions4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABN0RVh0VGl0
|
||||
bGUAUHJldmlldztQcmludJiRofMAAALLSURBVDhPbZJdSFNhGMcPdSFp9HVbF5FQINRNUUQUaNRN3gih
|
||||
|
|
@ -136,7 +136,7 @@
|
|||
lHi/DyUi61+JH2EfYSdFUdv/AKEU08gIPvj8AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="editorButtonImageOptions3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="editorButtonImageOptions1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACV0RVh0VGl0
|
||||
bGUAUmVtb3ZlUGl2b3RGaWVsZDtEZWxldGU7UmVtb3ZlO3aMxpEAAAIdSURBVDhPhZJbSFRRGIUPRVMK
|
||||
|
|
|
|||
|
|
@ -76,6 +76,10 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
PdfSharp.Pdf.PdfPage page = document.AddPage();
|
||||
// 设置页面大小(可选)
|
||||
page.Size = PdfSharp.PageSize.A4;
|
||||
|
||||
if (item.Datas.IsNull())
|
||||
item.Datas = CommonRepository.Instance.GetAttachmentImageByte(item.AutoID);
|
||||
|
||||
using (MemoryStream ms = new MemoryStream(item.Datas))
|
||||
{
|
||||
// 加载图片文件
|
||||
|
|
@ -107,6 +111,8 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
string attFileFullPath = Path.Combine(CurrentDirectory, "Cache", Guid.NewGuid().ToString() + ".pdf");
|
||||
using (var fileStream = new FileStream(attFileFullPath, FileMode.Create))
|
||||
{
|
||||
if (item.Datas.IsNull())
|
||||
item.Datas = CommonRepository.Instance.GetAttachmentImageByte(item.AutoID);
|
||||
fileStream.Write(item.Datas, 0, item.Datas.Length);
|
||||
}
|
||||
files.Add(attFileFullPath);
|
||||
|
|
@ -216,7 +222,7 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
}
|
||||
Worksheet worksheet = spreadsheetControl.Document.Worksheets.ActiveWorksheet;
|
||||
|
||||
MaintenanceFormVersionInfo CurrentFormModel = CheckFormRepository.Instance.Get_CheckForm_Single(Record.FormPrimaryID);
|
||||
MaintenanceFormVersionInfo CurrentFormModel = CheckFormRepository.Instance.Get_CheckForm_Single(Record.FormPrimaryID);
|
||||
|
||||
BaseTemplate template = null;
|
||||
switch (CurrentFormModel.VersionCode)
|
||||
|
|
@ -330,7 +336,7 @@ namespace TsSFCDevice.Client.Launch.Preserve
|
|||
}
|
||||
|
||||
worksheet.ActiveView.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
|
||||
|
||||
worksheet.PrintOptions.FitToPage = true;
|
||||
if (CurrentFormModel.VersionCode == TemplateConstValue.DailyTemplateV1 || CurrentFormModel.VersionCode == TemplateConstValue.DailyTemplateV2)
|
||||
{
|
||||
|
|
|
|||
21
TsSFCDevice.Client.Launch/frm_Launch.Designer.cs
generated
21
TsSFCDevice.Client.Launch/frm_Launch.Designer.cs
generated
|
|
@ -102,6 +102,7 @@ namespace TsSFCDevice.Client.Launch
|
|||
this.pnl_Content = new DevExpress.XtraEditors.PanelControl();
|
||||
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::TsSFCDevice.Client.Launch.frmWaiting), true, true);
|
||||
this.ribbonPage7 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
||||
this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pmLogUser)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemHypertextLabel1)).BeginInit();
|
||||
|
|
@ -177,9 +178,10 @@ namespace TsSFCDevice.Client.Launch
|
|||
this.barButtonItem7,
|
||||
this.btn_treeView,
|
||||
this.barButtonItem5,
|
||||
this.btnPlanCheckJump});
|
||||
this.btnPlanCheckJump,
|
||||
this.barButtonItem8});
|
||||
this.ribbonControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.ribbonControl.MaxItemId = 81;
|
||||
this.ribbonControl.MaxItemId = 82;
|
||||
this.ribbonControl.Name = "ribbonControl";
|
||||
this.ribbonControl.OptionsMenuMinWidth = 385;
|
||||
this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
||||
|
|
@ -547,8 +549,8 @@ namespace TsSFCDevice.Client.Launch
|
|||
//
|
||||
this.btn_treeView.Caption = "设备总台账树";
|
||||
this.btn_treeView.Id = 77;
|
||||
this.btn_treeView.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btn_treeView123.ImageOptions.Image")));
|
||||
this.btn_treeView.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btn_treeView123.ImageOptions.LargeImage")));
|
||||
this.btn_treeView.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btn_treeView.ImageOptions.Image")));
|
||||
this.btn_treeView.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btn_treeView.ImageOptions.LargeImage")));
|
||||
this.btn_treeView.Name = "btn_treeView";
|
||||
this.btn_treeView.Tag = "BIZ_EQUIP_DEVICE";
|
||||
this.btn_treeView.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
||||
|
|
@ -584,6 +586,7 @@ namespace TsSFCDevice.Client.Launch
|
|||
//
|
||||
this.pg_Main.ItemLinks.Add(this.btn_DrivePlan);
|
||||
this.pg_Main.ItemLinks.Add(this.btn_FormVersionMaintenence);
|
||||
this.pg_Main.ItemLinks.Add(this.barButtonItem8);
|
||||
this.pg_Main.Name = "pg_Main";
|
||||
this.pg_Main.Text = "设备保养";
|
||||
//
|
||||
|
|
@ -758,6 +761,15 @@ namespace TsSFCDevice.Client.Launch
|
|||
this.ribbonPage7.Name = "ribbonPage7";
|
||||
this.ribbonPage7.Text = "ribbonPage7";
|
||||
//
|
||||
// barButtonItem8
|
||||
//
|
||||
this.barButtonItem8.Caption = "barButtonItem8";
|
||||
this.barButtonItem8.Id = 81;
|
||||
this.barButtonItem8.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.Image")));
|
||||
this.barButtonItem8.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem8.ImageOptions.LargeImage")));
|
||||
this.barButtonItem8.Name = "barButtonItem8";
|
||||
this.barButtonItem8.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem8_ItemClick_1);
|
||||
//
|
||||
// frm_Launch
|
||||
//
|
||||
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.True;
|
||||
|
|
@ -857,5 +869,6 @@ namespace TsSFCDevice.Client.Launch
|
|||
private DevExpress.XtraBars.BarButtonItem batBtnRefresh;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItem5;
|
||||
private DevExpress.XtraBars.BarButtonItem btnPlanCheckJump;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItem8;
|
||||
}
|
||||
}
|
||||
|
|
@ -1038,5 +1038,26 @@ namespace TsSFCDevice.Client.Launch
|
|||
XtraMessageBoxHelper.Error(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void barButtonItem8_ItemClick_1(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var resRtn = PlanRepository.Instance.Get_EquipmentPlanIsComplete("1206", 1);
|
||||
if (!resRtn.IsSuccess)
|
||||
{
|
||||
throw new Exception(resRtn.Message);
|
||||
}
|
||||
|
||||
if (!resRtn.Message.IsNull())
|
||||
{
|
||||
XtraMessageBoxHelper.Warn(resRtn.Message);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
XtraMessageBoxHelper.Error(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1019,7 +1019,7 @@
|
|||
</value>
|
||||
</data>
|
||||
<metadata name="pmLogUser.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>208, 17</value>
|
||||
<value>205, 17</value>
|
||||
</metadata>
|
||||
<data name="barButtonItem12.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
|
@ -1120,7 +1120,7 @@
|
|||
T8b7/XCa++SfYzx6ji0+TvBM8H7ggpfB6zUUxspgn/viAVPMYcP/AGBDyOsdZH9HAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btn_treeView123.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="btn_treeView.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAUdEVYdFRpdGxlAFRyZWVWaWV3O1RyZWU7X0Ij1wAA
|
||||
|
|
@ -1133,7 +1133,7 @@
|
|||
FGQA6bHgFVJ83jO46L9HUOF/t4A80mMBGYNsITkWkDEQEIiF/wwAEzc5In1OcF0AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btn_treeView123.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="btn_treeView.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAUdEVYdFRpdGxlAFRyZWVWaWV3O1RyZWU7X0Ij1wAA
|
||||
|
|
@ -1235,6 +1235,80 @@
|
|||
gk2+0nnmF9XztwRg3iY/9V/Xe0vfWu2Z8xeTvQeemDP/Hfr/i4SnCKzfTwn7FJ7pFvVgH01AL4SFkV0k
|
||||
mHG2p+yG+9rEyJ7ZOnvPysxAzDCdfYZpFx+G3giBGWShZGIYAasYtk1sZM9snb3/TeJxuM74N5Op7UHB
|
||||
IbOtAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="barButtonItem8.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAhdEVYdFRpdGxlAEFwcGx5O09LO0NoZWNrO0JhcnM7UmliYm9uO2RjyGgAAAOmSURBVDhPTZN9
|
||||
UNN1HMd/oqsMzoROrTMbAznGw4YD7c4j6Ahl5CSKuhULJ9Fkjo0SiKc05oETH7isKQNsy4xVMyDwCFwg
|
||||
yCImD01sg8U4UJ7aeIgHgYz+evf9zbrrd/e6+919P+/X5/O5+36pyZUGau6hiSLfOsL6jAvsmFxtqO54
|
||||
NadfaQhbUH7L7T+h5zRklQcLyfljBI/5v8yU688b1NRKPUW5Vo3ucFIWa1umOshYWrMPrVYV7E4D5la7
|
||||
MDRTA9PQWaibBSj4MrRPVOgXSDeafXjrkYAOC9KZz2R8GjxsMB3D5HIThpcqMTCvwp25XNgXz2B0WQvX
|
||||
agsaLQXI13Fnk/P9uCTnMbFc5xZseO80u6nOXADHwmV0/H4EnS4JzC4Zuqfl6JlRoGdWjma7GL/NV6DV
|
||||
dhqKz0Ks23d6etHNqaRsP/5xbSzsf5Sj5b4IbRNi3Jp6FyanBF1OKW5PS1F0dS8OZDIhOc+GY7ESZbUJ
|
||||
OFQUkEk3p97+KKCmoTsfN8fScGNUSCTJaBtPQTsRmaYOQ1rGRt4nMoyMO8GXb8MPQ4fRNliCNFWgmQg2
|
||||
UsJC/5F2RwGuDydB3RKFGNlG5GnDYLz3FnKqOCjS5MA1uwTFmURcbhXhx3vv4PaEEmml7DUi8KLezPNf
|
||||
NjrSYbDFIUbqiT6rFfkXMhAr93aHJ6cf4PxX2VB9E0emE6PecRA/TciReioQIZHez1KvZfve1/cKYLDu
|
||||
g7oxERnFr8I5s4Smzg6MTi5iYPQOEnO3wziSitqheHxn56N24HWIPg6gJ9hEJShYzWWNUbhi2YtrgwIU
|
||||
V8eiuEKGhQdrWFj5G4eUe3D1ZyEMg7HQ26Kh//VFlN+MwRs5LAsReFIvi3eI089x8YUlEhW9u3DNJkBW
|
||||
+W7o6kth6r+O1HP+ZL39uNL/Aj63RKD6bjSOXeKBL3leSQSPE6gnBXLfuye+5qKqNwKabi5Z5yBSSnwR
|
||||
KaWgad+Pqj4eKgnaX3ajpI6HxA9YNi8fxtMk60EL1kfEb+UlZPrNf6gLIoIwaHq4ZE8hmoaPQkcm0/Ts
|
||||
IvJwFOpDkJTjvxYetyWK5BidE+9TlGlcRksY4fFb9xyQ+Y6knNyJotogqLtCcambg4tmDk5+H4xUVQBe
|
||||
Ococ4D0K06Ovc2c7xiS0gH6JG8hYPtHJzxXGSZhmgZwFNwoW+EeY1pdEO055PsXYQuoYdD2dc2f/+/lX
|
||||
RO9E2+l7vpngQ/AmbCI8QfD4f33HmIT6BwJEEY+T4HTzAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="barButtonItem8.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAhdEVYdFRpdGxlAEFwcGx5O09LO0NoZWNrO0JhcnM7UmliYm9uO2RjyGgAAAqwSURBVFhHlVcL
|
||||
UJXHGV3bvNo8mjZja9M06URAQQVEURRBDK8rEJREXmpAFB+IouAbQRERUUDkjeAFBUGT+AQEQQEJoIiJ
|
||||
KGgEBC9vUUFEwU6czJx+38JFTdN2ujNndv/9v/3O+c7u/lzE9mRLsUNpJXYeshahGQqxJ1Mhwo/NFpHf
|
||||
2oiokzYi+rSNiM22FfE5tiIhz05QG/HfEJurEPuzrUTUKUsRcdxChH1tLkKzZongDDOxPc1UBKSYiC2J
|
||||
xmJj3HQKp7Yt2UK0Pz0sOp6mi87+DHFv4IhE10AmIUvcf5bFYWqC3xB+S3iN8PovwHMMfs9xI9qfZoq2
|
||||
p0dE65MM0dyXLlSPD4m7vWmi8ZFSrI+bRiHUAg6YU9AhKaCjf1BEpxSRya/VxJI0NMPcIPq0Ijg+f3ZF
|
||||
YsHsa0mFNj8nX7D5OSHfujo+z/rSvhMWIdsPmkym2Dc4niCFtPaRgMfp4q5aQE+qWB9rRK+oBSR9RgpT
|
||||
RduTNHKChPSTGwRq6opfD8s0d4rOtm5ILZqHCzc3oLZzH+ofxKFr4KhE/YN4motEYe06HDz/BSJPmTfs
|
||||
OGSygNa+SZBCmofImx6lijs9B8W6mCEB/glmoqUvmUSkkIiDJELJ07LqTTHTR4d/Y1GZUTIfNe3h6OhX
|
||||
orE3ErceBuPmw22o7tqAa13rUfMgELUPtqOhJwKtT5S4TrGHi12w66hplWeg7ljKxY5INxp7UsSd7mTh
|
||||
FzOVHqltjjehvUmkPUoiIQd4islf80+aYbn3a4tHxbc2QdUXixv3t6KqYw2udjLWSnx/j8c+qOpcjcr2
|
||||
VbjU5o2KVi9c7diAhkcxKKzZgF1ZMx/5hE+yoZzshhRR350kfPcb0pDaxlhj0fQ4lkTE8aMk3xg9zSri
|
||||
G6ufrqqCqbJtuERJL7cR2lcS0Upc6Rjs1bjc7kXkK1DeugzfNXuiVLUYxU0e+KHDH5cbgxGaOev5ylD9
|
||||
YRF1DxPEmig+KtR8o6aKxt4oHkrbl++YOHZnuln3VdU2XGlfg7LmJRLlLZ5EsBQVbZ4vgZ5beZ5iCKXN
|
||||
HihRuaPorhsS8xVYvFMHZ2s8cOlOEAKVxj3Oa8ZOIA65HT6Rk5hTiKW7dEXDo3Aesj1vbEkyupR3je1c
|
||||
iaKmhSi5+xUuUsKLKjd81+JOWPSib3ZHaYsbEbsR8VcoVi3EqWpHeIboIjDWDzEZUVgSMgEFdUtw5upq
|
||||
+EVPqiSOdwh8MLlgIb4KHMedtN5nr8GCiK8VtNd+KLjjhELChUYXiaImV6rMlUjmExljgRwzeP4CvU8+
|
||||
bw3XDVNwoqAQdapuNKiaMNd3NBIKLVGmWovdR6ywKHCcB3G9ReCChVgYoM0dP7y5Lsaw4fzNVcivd8TZ
|
||||
Ogfk1TvgXMOXJORLFDTOo94R5xsZJI77JuoZNN5/2gyL/BUo/74ebfefoqevB6t32+L45eXI+dEZJ2rs
|
||||
kVftg1Xh+o3E9R5h2AVZvZOvliIo1YzsJrtu2iL7th1ybn+O3Nv2yK2bQ6IIDXMlzjU4UM+gZxIZkmUE
|
||||
ty3WuHy9Cfe6n6H3yWOs2GmNzFIP5NxywrFqa2T9YIVzdYsReNAMc7007IlTfSukgDdcN42NijvjQoGz
|
||||
cbzGGidrFTh1azZOE7Jv2xBsSYgdCSJRdYzB8eYUA3hstcWVGhU6Hj5D9+NeLAuywoE8F5z50RFHqy2R
|
||||
ec0SGVXmSL+iQHy2C1w2jOUr9zaBv7BSxVvzt2hXKItcEXfRBAnfzSAh5iTEEseuWcBfOZHGViRGIQUx
|
||||
zhB2HJmMRVvtUFXTjI7uAfQ+/QnBSV7YrrSUtmdVW+AI5TlUOQsJpZS3dCbSShaAuPgw8jYMC/i96xbt
|
||||
7rQyR0QXTcP+YiPEFE9HwsUZWLBNEx4BNnDbPg4ZV2fheK0lTtRaITJ7GpzXz0BFdQPaHw6gq+efKLx8
|
||||
Ah5Busivc5PEaVfMcKDMBHElMxBTMp1gjEMVTli4VaeHOP9I4HMgVbztsln7eUq5HSIvGGLfhakSC4M0
|
||||
4Ld3Eb6/1Y6jZ7PhvGk8EopmIPa8MRx8xyGvrBKt9/ulgNauFjium4Bvq9yRXGGGxFJTxJfOIEeNJfn+
|
||||
IiPKaQRlhT0W+Os8J84/EfivqBTwjvNG7ecJF80RXmiIyPNTEJY7FfZrP0Hl9Su4R9Xd7ejD6QvFmLdO
|
||||
F/ZrNHAs/yxUnX1oe9CP7r5n8Aufh8gT9kgu/+wlYmNykxwlV7mgyPOGJMwCrlQscX7wioB568Z27ztn
|
||||
iojCyYgoMCTbZkJZ5Ex2TUZXdwc6e56hiQjzyqqQ+A39UWrrRSuR88E7VaSkj89EpFfOoXVs9XRES2Ij
|
||||
RBWRm1RQBJEzogpmwmnDWN6CYQF8Bt52WD3mUuhxE0ScM8Te/EkIL5iEpDJL+qTOw/IQMzzofYA2svpu
|
||||
5xP8qOpBC1nfTGjpasPctZpILXUaJFUTD20jV83EnC+SCtt9whQOq7WqiHP4DLCA39ku14jZnDKdAg0R
|
||||
lm+APQUGclFymRX2nbLDmr026Ovvl1UzcXPXU7k1u5VeCFCakeUzh0m5Yt7GSNrOcHI0vGAyFWVA7k7B
|
||||
loPGsPEcnUScr9yCN2e5fGLvEaRPwVOx+6w+wvIYE6UbKeUKhB61QmDCfDzufwYVkTOu11fCxV8DqRVz
|
||||
ZKWyWiYcwl4qgAsJy58oc0VQ7sU79GEy72Nn4uTvAHMPfgkJf/jcS7MpMMtACgg9qzckhBZTAmW5LQLS
|
||||
TBGe7o2+gZ9oSwawao8lonPp5kiLmfAF6R6qOCyPMXE4T+DRSbD31lIR158J/CUcIWyWa1I/+C0gF5Yu
|
||||
DJyAPXmTEZKji125ulJI6FCCNLpC6xONkHwyAHnl6VgZoYf4klmSbJBwIq0drDaMiyAXQ3P1ZJ69lNNt
|
||||
2wSYOn7sTVxq+0eI2cs0qJcu8Il832aZxtW1iUSeoy9FhNDiF0L0cPjSXPhEG+CLjR8jvsBGVrebCJlM
|
||||
jpmYY4fWybW5+vBN0gXlvk4cL6rnpvDUEPm3WNTgYdQ3H2Vkv2rMI/8juthJAnZmT5C9dGRIUPplB5ys
|
||||
XkSneuogCRHuGqqUwbHqNSE5evDP1MMcb83e8SYjTYmDfw8MVs/NeomGyK31Ejm1y/mRz8I7RvYffTnX
|
||||
R+v5+jQd7DgzHsFnSET2+EExEpSY8QoRix0STQimOF7HORzWaD03tP3QlXK/T2CnRyiWSuf/TYB6K96b
|
||||
Yvc3R7sVmo+947SlCDWCScirICJJRu/p+eXYVfHasFuh1Weo+HA+5eRPL/8cG5FDfNZL5NlTC1j+sgC1
|
||||
iHe1jUZOsV78abXTZi2sP6SDIEoadGYcdpwmAgI/M5Gcf2mOY523jIGVx+gbWoYf8P9gXLkkZzAX88rG
|
||||
A55gsBBqahG8HXxXRxrN+cjbevHoFgdfTSzZMwZ+Sm1sPKyD7afHIejUOGxM14Ffqg486Z2DrxasF2u0
|
||||
Gtn/fTWtHUV4lyBtZ6h5fiHAa8gF3govnlaL4MPCJ5avzV/0Pxv1uanzP+It3EffsHT/tJ4OMBiW7qPr
|
||||
Ldw/vWHq/EmC3qxRcyj2rwSumn/7cSHD5L8q4D+B2stC2EJ2hBOPJHB1Hw6Bx3y9+PvOp5xFDxP/Wm7G
|
||||
/9PUQviqcmK2lAUxEYPHPMfvOEYd/z+aEP8CrR1y7ZCy7FEAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="frm_Launch.IconOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
|
|
|||
|
|
@ -1746,8 +1746,19 @@ namespace TsSFCDeviceSvc
|
|||
throw new ArgumentException("缺少传入参数设备编号(EquipmentID)");
|
||||
}
|
||||
|
||||
if (!Parameters.ContainsKey("Banci"))
|
||||
{
|
||||
throw new ArgumentException("缺少传入参数班次(Banci)");
|
||||
}
|
||||
|
||||
int Banci = -1;
|
||||
if (!int.TryParse(Parameters["Banci"], out Banci))
|
||||
{
|
||||
throw new ArgumentException("传入参数班次(Banci)类型不正确!");
|
||||
}
|
||||
|
||||
PlanDa cmd = new PlanDa(Parameters);
|
||||
return cmd.Get_EquipmentPlanIsComplete(Parameters["EquipmentID"]);
|
||||
return cmd.Get_EquipmentPlanIsComplete(Parameters["EquipmentID"], Banci);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,36 +5,36 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<_PublishTargetUrl>C:\Users\Clove\Desktop\WebSVC</_PublishTargetUrl>
|
||||
<History>True|2024-08-07T01:52:28.1648821Z||;True|2024-07-31T14:35:03.5193183+08:00||;True|2024-07-30T14:28:13.0791440+08:00||;True|2024-07-30T10:59:11.3180131+08:00||;True|2024-07-29T17:09:46.7471489+08:00||;True|2024-07-29T15:26:48.9648578+08:00||;True|2024-07-29T09:23:55.9996131+08:00||;True|2024-07-26T07:08:01.2867511+08:00||;</History>
|
||||
<History>True|2024-08-08T05:33:22.9996323Z||;True|2024-08-07T09:52:28.1648821+08:00||;True|2024-07-31T14:35:03.5193183+08:00||;True|2024-07-30T14:28:13.0791440+08:00||;True|2024-07-30T10:59:11.3180131+08:00||;True|2024-07-29T17:09:46.7471489+08:00||;True|2024-07-29T15:26:48.9648578+08:00||;True|2024-07-29T09:23:55.9996131+08:00||;True|2024-07-26T07:08:01.2867511+08:00||;</History>
|
||||
<LastFailureDetails />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<File Include="bin/DeviceRepair.DataAccess.dll">
|
||||
<publishTime>08/07/2024 09:52:26</publishTime>
|
||||
<publishTime>08/08/2024 13:33:21</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.DataAccess.dll.config">
|
||||
<publishTime>07/18/2024 13:30:47</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.DataAccess.pdb">
|
||||
<publishTime>08/07/2024 09:52:26</publishTime>
|
||||
<publishTime>08/08/2024 13:33:21</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Models.dll">
|
||||
<publishTime>08/06/2024 17:51:48</publishTime>
|
||||
<publishTime>08/07/2024 17:16:13</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Models.dll.config">
|
||||
<publishTime>05/30/2024 11:42:20</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Models.pdb">
|
||||
<publishTime>08/06/2024 17:51:48</publishTime>
|
||||
<publishTime>08/07/2024 17:16:13</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Utils.dll">
|
||||
<publishTime>08/07/2024 09:52:26</publishTime>
|
||||
<publishTime>08/08/2024 13:33:20</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Utils.dll.config">
|
||||
<publishTime>07/04/2024 09:35:30</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DeviceRepair.Utils.pdb">
|
||||
<publishTime>08/07/2024 09:52:26</publishTime>
|
||||
<publishTime>08/08/2024 13:33:20</publishTime>
|
||||
</File>
|
||||
<File Include="bin/HttpHelper.dll">
|
||||
<publishTime>06/12/2023 14:20:18</publishTime>
|
||||
|
|
@ -100,10 +100,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||
<publishTime>05/28/2024 22:39:54</publishTime>
|
||||
</File>
|
||||
<File Include="bin/TsSFCDeviceSvc.dll">
|
||||
<publishTime>08/07/2024 09:52:27</publishTime>
|
||||
<publishTime>08/08/2024 13:33:21</publishTime>
|
||||
</File>
|
||||
<File Include="bin/TsSFCDeviceSvc.pdb">
|
||||
<publishTime>08/07/2024 09:52:27</publishTime>
|
||||
<publishTime>08/08/2024 13:33:21</publishTime>
|
||||
</File>
|
||||
<File Include="MainService.asmx">
|
||||
<publishTime>07/21/2024 00:35:30</publishTime>
|
||||
|
|
@ -115,7 +115,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||
<publishTime>07/22/2024 15:41:30</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>07/31/2024 14:35:03</publishTime>
|
||||
<publishTime>08/08/2024 13:33:22</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
Reference in New Issue
Block a user