Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ca18b0b3f |
@@ -1,16 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net472</TargetFramework>
|
|
||||||
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Properties\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="System.Windows.Forms" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,129 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
public class BaseModel
|
|
||||||
{
|
|
||||||
private int usedFlag;
|
|
||||||
private int delFlag;
|
|
||||||
private int createBy;
|
|
||||||
private DateTime createTime;
|
|
||||||
private int updateBy;
|
|
||||||
private DateTime updateTime;
|
|
||||||
private int dataVersion;
|
|
||||||
private string remarks1;
|
|
||||||
private string remarks2;
|
|
||||||
private string remarks3;
|
|
||||||
private string remarks4;
|
|
||||||
private string remarks5;
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int UsedFlag
|
|
||||||
{
|
|
||||||
get { return this.usedFlag; }
|
|
||||||
set { this.usedFlag = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int DelFlag
|
|
||||||
{
|
|
||||||
get { return this.delFlag; }
|
|
||||||
set { this.delFlag = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int CreateBy
|
|
||||||
{
|
|
||||||
get { return this.createBy; }
|
|
||||||
set { this.createBy = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime CreateTime
|
|
||||||
{
|
|
||||||
get { return this.createTime; }
|
|
||||||
set { this.createTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int UpdateBy
|
|
||||||
{
|
|
||||||
get { return this.updateBy; }
|
|
||||||
set { this.updateBy = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime UpdateTime
|
|
||||||
{
|
|
||||||
get { return this.updateTime; }
|
|
||||||
set { this.updateTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int DataVersion
|
|
||||||
{
|
|
||||||
get { return this.dataVersion; }
|
|
||||||
set { this.dataVersion = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Remarks1
|
|
||||||
{
|
|
||||||
get { return this.remarks1; }
|
|
||||||
set { this.remarks1 = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Remarks2
|
|
||||||
{
|
|
||||||
get { return this.remarks2; }
|
|
||||||
set { this.remarks2 = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Remarks3
|
|
||||||
{
|
|
||||||
get { return this.remarks3; }
|
|
||||||
set { this.remarks3 = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Remarks4
|
|
||||||
{
|
|
||||||
get { return this.remarks4; }
|
|
||||||
set { this.remarks4 = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Remarks5
|
|
||||||
{
|
|
||||||
get { return this.remarks5; }
|
|
||||||
set { this.remarks5 = value; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class CleanMode: BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string cleanModeId;
|
|
||||||
private string cleanModeCode;
|
|
||||||
private string cleanModeName;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeId
|
|
||||||
{
|
|
||||||
get { return this.cleanModeId; }
|
|
||||||
set { this.cleanModeId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeCode
|
|
||||||
{
|
|
||||||
get { return this.cleanModeCode; }
|
|
||||||
set { this.cleanModeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeName
|
|
||||||
{
|
|
||||||
get { return this.cleanModeName; }
|
|
||||||
set { this.cleanModeName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class ContaminationDtl: BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string contaminationDtlId;
|
|
||||||
private string contaminationTypeCode;
|
|
||||||
private string contaminationDtlCode;
|
|
||||||
private string contaminationDtlName;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationDtlId
|
|
||||||
{
|
|
||||||
get { return this.contaminationDtlId; }
|
|
||||||
set { this.contaminationDtlId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeCode; }
|
|
||||||
set { this.contaminationTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationDtlCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationDtlCode; }
|
|
||||||
set { this.contaminationDtlCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationDtlName
|
|
||||||
{
|
|
||||||
get { return this.contaminationDtlName; }
|
|
||||||
set { this.contaminationDtlName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class ContaminationType:BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string contaminationTypeId;
|
|
||||||
private string contaminationTypeCode;
|
|
||||||
private string contaminationTypeName;
|
|
||||||
private string cleanModeCode;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeId
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeId; }
|
|
||||||
set { this.contaminationTypeId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeCode; }
|
|
||||||
set { this.contaminationTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeName
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeName; }
|
|
||||||
set { this.contaminationTypeName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeCode
|
|
||||||
{
|
|
||||||
get { return this.cleanModeCode; }
|
|
||||||
set { this.cleanModeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Language:BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string languageId;
|
|
||||||
private string languageCode;
|
|
||||||
private string languageName;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string LanguageId
|
|
||||||
{
|
|
||||||
get { return this.languageId; }
|
|
||||||
set { this.languageId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string LanguageCode
|
|
||||||
{
|
|
||||||
get { return this.languageCode; }
|
|
||||||
set { this.languageCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string LanguageName
|
|
||||||
{
|
|
||||||
get { return this.languageName; }
|
|
||||||
set { this.languageName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class LanguageControl : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string languageControlId;
|
|
||||||
private string languageCode;
|
|
||||||
private string formCode;
|
|
||||||
private string controlCode;
|
|
||||||
private string controlName;
|
|
||||||
private string controlType;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string LanguageControlId
|
|
||||||
{
|
|
||||||
get { return this.languageControlId; }
|
|
||||||
set { this.languageControlId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string LanguageCode
|
|
||||||
{
|
|
||||||
get { return this.languageCode; }
|
|
||||||
set { this.languageCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string FormCode
|
|
||||||
{
|
|
||||||
get { return this.formCode; }
|
|
||||||
set { this.formCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ControlCode
|
|
||||||
{
|
|
||||||
get { return this.controlCode; }
|
|
||||||
set { this.controlCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ControlName
|
|
||||||
{
|
|
||||||
get { return this.controlName; }
|
|
||||||
set { this.controlName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ControlType
|
|
||||||
{
|
|
||||||
get { return this.controlType; }
|
|
||||||
set { this.controlType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class LastPattleNum:BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string key;
|
|
||||||
private string value;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Key
|
|
||||||
{
|
|
||||||
get { return this.key; }
|
|
||||||
set { this.key = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Value
|
|
||||||
{
|
|
||||||
get { return this.value; }
|
|
||||||
set { this.value = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Log : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string sysLogId;
|
|
||||||
private int userId;
|
|
||||||
private string operateStatus;
|
|
||||||
private string resultStatus;
|
|
||||||
private string message;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SysLogId
|
|
||||||
{
|
|
||||||
get { return this.sysLogId; }
|
|
||||||
set { this.sysLogId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int UserId
|
|
||||||
{
|
|
||||||
get { return this.userId; }
|
|
||||||
set { this.userId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string OperateStatus
|
|
||||||
{
|
|
||||||
get { return this.operateStatus; }
|
|
||||||
set { this.operateStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ResultStatus
|
|
||||||
{
|
|
||||||
get { return this.resultStatus; }
|
|
||||||
set { this.resultStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Message
|
|
||||||
{
|
|
||||||
get { return this.message; }
|
|
||||||
set { this.message = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Menu : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string menuId;
|
|
||||||
private string menuCode;
|
|
||||||
private string menuName;
|
|
||||||
private string menuUrl;
|
|
||||||
private int menuPid;
|
|
||||||
private int menuOrder;
|
|
||||||
private int usedFlag;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Parameter : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string parameterId;
|
|
||||||
private string parameterCode;
|
|
||||||
private string parameterName;
|
|
||||||
private string parameterValue;
|
|
||||||
private string parameterType;
|
|
||||||
private int usedFlag;
|
|
||||||
private int delFlag;
|
|
||||||
private int createBy;
|
|
||||||
private DateTime createTime;
|
|
||||||
private int updateBy;
|
|
||||||
private DateTime updateTime;
|
|
||||||
private int dataVersion;
|
|
||||||
private string remarks1;
|
|
||||||
private string remarks2;
|
|
||||||
private string remarks3;
|
|
||||||
private string remarks4;
|
|
||||||
private string remarks5;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ParameterId
|
|
||||||
{
|
|
||||||
get { return this.parameterId; }
|
|
||||||
set { this.parameterId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ParameterCode
|
|
||||||
{
|
|
||||||
get { return this.parameterCode; }
|
|
||||||
set { this.parameterCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ParameterName
|
|
||||||
{
|
|
||||||
get { return this.parameterName; }
|
|
||||||
set { this.parameterName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ParameterValue
|
|
||||||
{
|
|
||||||
get { return this.parameterValue; }
|
|
||||||
set { this.parameterValue = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ParameterType
|
|
||||||
{
|
|
||||||
get { return this.parameterType; }
|
|
||||||
set { this.parameterType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class PlcItem : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string plcItemId;
|
|
||||||
private string plcItemCode;
|
|
||||||
private string plcItemName;
|
|
||||||
private int plcItemType;
|
|
||||||
private int plcItemDataType;
|
|
||||||
private int plcItemDataLength;
|
|
||||||
private string plcItemPriAddress;
|
|
||||||
private string plcItemModbusAddress;
|
|
||||||
private string plcItemDeviationAddress;
|
|
||||||
private string plcItemValue;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemId
|
|
||||||
{
|
|
||||||
get { return this.plcItemId; }
|
|
||||||
set { this.plcItemId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemCode
|
|
||||||
{
|
|
||||||
get { return this.plcItemCode; }
|
|
||||||
set { this.plcItemCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemName
|
|
||||||
{
|
|
||||||
get { return this.plcItemName; }
|
|
||||||
set { this.plcItemName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int PlcItemType
|
|
||||||
{
|
|
||||||
get { return this.plcItemType; }
|
|
||||||
set { this.plcItemType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int PlcItemDataType
|
|
||||||
{
|
|
||||||
get { return this.plcItemDataType; }
|
|
||||||
set { this.plcItemDataType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int PlcItemDataLength
|
|
||||||
{
|
|
||||||
get { return this.plcItemDataLength; }
|
|
||||||
set { this.plcItemDataLength = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemPriAddress
|
|
||||||
{
|
|
||||||
get { return this.plcItemPriAddress; }
|
|
||||||
set { this.plcItemPriAddress = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemModbusAddress
|
|
||||||
{
|
|
||||||
get { return this.plcItemModbusAddress; }
|
|
||||||
set { this.plcItemModbusAddress = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemDeviationAddress
|
|
||||||
{
|
|
||||||
get { return this.plcItemDeviationAddress; }
|
|
||||||
set { this.plcItemDeviationAddress = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemValue
|
|
||||||
{
|
|
||||||
get { return this.plcItemValue; }
|
|
||||||
set { this.plcItemValue = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Role : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string roleId;
|
|
||||||
private string roleCode;
|
|
||||||
private string roleName;
|
|
||||||
private int roleGrade;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleId
|
|
||||||
{
|
|
||||||
get { return this.roleId; }
|
|
||||||
set { this.roleId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleCode
|
|
||||||
{
|
|
||||||
get { return this.roleCode; }
|
|
||||||
set { this.roleCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleName
|
|
||||||
{
|
|
||||||
get { return this.roleName; }
|
|
||||||
set { this.roleName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int RoleGrade
|
|
||||||
{
|
|
||||||
get { return this.roleGrade; }
|
|
||||||
set { this.roleGrade = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class RoleMenuPermission : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string roleMenuPermissionId;
|
|
||||||
private string roleId;
|
|
||||||
private string menuId;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleMenuPermissionId
|
|
||||||
{
|
|
||||||
get { return this.roleMenuPermissionId; }
|
|
||||||
set { this.roleMenuPermissionId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleId
|
|
||||||
{
|
|
||||||
get { return this.roleId; }
|
|
||||||
set { this.roleId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string MenuId
|
|
||||||
{
|
|
||||||
get { return this.menuId; }
|
|
||||||
set { this.menuId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class ScheduleDtl : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string scheduleDtlId;
|
|
||||||
private string scheduleCode;
|
|
||||||
private string scheduleName;
|
|
||||||
private string beginTime;
|
|
||||||
private string endTime;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ScheduleDtlId
|
|
||||||
{
|
|
||||||
get { return this.scheduleDtlId; }
|
|
||||||
set { this.scheduleDtlId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ScheduleCode
|
|
||||||
{
|
|
||||||
get { return this.scheduleCode; }
|
|
||||||
set { this.scheduleCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ScheduleName
|
|
||||||
{
|
|
||||||
get { return this.scheduleName; }
|
|
||||||
set { this.scheduleName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string BeginTime
|
|
||||||
{
|
|
||||||
get { return this.beginTime; }
|
|
||||||
set { this.beginTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string EndTime
|
|
||||||
{
|
|
||||||
get { return this.endTime; }
|
|
||||||
set { this.endTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class SheetType : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string sheetTypeId;
|
|
||||||
private string sheetTypeCode;
|
|
||||||
private string sheetTypeName;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SheetTypeId
|
|
||||||
{
|
|
||||||
get { return this.sheetTypeId; }
|
|
||||||
set { this.sheetTypeId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SheetTypeCode
|
|
||||||
{
|
|
||||||
get { return this.sheetTypeCode; }
|
|
||||||
set { this.sheetTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SheetTypeName
|
|
||||||
{
|
|
||||||
get { return this.sheetTypeName; }
|
|
||||||
set { this.sheetTypeName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class User : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string userId;
|
|
||||||
private string userCode;
|
|
||||||
private string userName;
|
|
||||||
private string password;
|
|
||||||
private int gender;
|
|
||||||
private string roleId;
|
|
||||||
private string scheduleCode;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string UserId
|
|
||||||
{
|
|
||||||
get { return this.userId; }
|
|
||||||
set { this.userId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string UserCode
|
|
||||||
{
|
|
||||||
get { return this.userCode; }
|
|
||||||
set { this.userCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string UserName
|
|
||||||
{
|
|
||||||
get { return this.userName; }
|
|
||||||
set { this.userName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string Password
|
|
||||||
{
|
|
||||||
get { return this.password; }
|
|
||||||
set { this.password = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int Gender
|
|
||||||
{
|
|
||||||
get { return this.gender; }
|
|
||||||
set { this.gender = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string RoleId
|
|
||||||
{
|
|
||||||
get { return this.roleId; }
|
|
||||||
set { this.roleId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ScheduleCode
|
|
||||||
{
|
|
||||||
get { return this.scheduleCode; }
|
|
||||||
set { this.scheduleCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class Warning : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string warningId;
|
|
||||||
private string warningCode;
|
|
||||||
private string warningName;
|
|
||||||
private string plcItemCode;
|
|
||||||
private string warningType;
|
|
||||||
private string warningMessage;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningId
|
|
||||||
{
|
|
||||||
get { return this.warningId; }
|
|
||||||
set { this.warningId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningCode
|
|
||||||
{
|
|
||||||
get { return this.warningCode; }
|
|
||||||
set { this.warningCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningName
|
|
||||||
{
|
|
||||||
get { return this.warningName; }
|
|
||||||
set { this.warningName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemCode
|
|
||||||
{
|
|
||||||
get { return this.plcItemCode; }
|
|
||||||
set { this.plcItemCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningType
|
|
||||||
{
|
|
||||||
get { return this.warningType; }
|
|
||||||
set { this.warningType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningMessage
|
|
||||||
{
|
|
||||||
get { return this.warningMessage; }
|
|
||||||
set { this.warningMessage = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,118 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class WarningLog : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string warningLogId;
|
|
||||||
private string warningCode;
|
|
||||||
private string warningName;
|
|
||||||
private string warningType;
|
|
||||||
private string warningMessage;
|
|
||||||
private DateTime warningTime;
|
|
||||||
private string plcItemCode;
|
|
||||||
private int waringStatus;
|
|
||||||
private int warningHandleResult;
|
|
||||||
private DateTime warningHandleTime;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningLogId
|
|
||||||
{
|
|
||||||
get { return this.warningLogId; }
|
|
||||||
set { this.warningLogId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningCode
|
|
||||||
{
|
|
||||||
get { return this.warningCode; }
|
|
||||||
set { this.warningCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningName
|
|
||||||
{
|
|
||||||
get { return this.warningName; }
|
|
||||||
set { this.warningName = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningType
|
|
||||||
{
|
|
||||||
get { return this.warningType; }
|
|
||||||
set { this.warningType = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WarningMessage
|
|
||||||
{
|
|
||||||
get { return this.warningMessage; }
|
|
||||||
set { this.warningMessage = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime WarningTime
|
|
||||||
{
|
|
||||||
get { return this.warningTime; }
|
|
||||||
set { this.warningTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string PlcItemCode
|
|
||||||
{
|
|
||||||
get { return this.plcItemCode; }
|
|
||||||
set { this.plcItemCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int WaringStatus
|
|
||||||
{
|
|
||||||
get { return this.waringStatus; }
|
|
||||||
set { this.waringStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int WarningHandleResult
|
|
||||||
{
|
|
||||||
get { return this.warningHandleResult; }
|
|
||||||
set { this.warningHandleResult = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime WarningHandleTime
|
|
||||||
{
|
|
||||||
get { return this.warningHandleTime; }
|
|
||||||
set { this.warningHandleTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class WorkingPallet : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string workingPalletId;
|
|
||||||
private string workingPalletCode;
|
|
||||||
private string workingPalletDesc;
|
|
||||||
private string workingStatus;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletId
|
|
||||||
{
|
|
||||||
get { return this.workingPalletId; }
|
|
||||||
set { this.workingPalletId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletCode
|
|
||||||
{
|
|
||||||
get { return this.workingPalletCode; }
|
|
||||||
set { this.workingPalletCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletDesc
|
|
||||||
{
|
|
||||||
get { return this.workingPalletDesc; }
|
|
||||||
set { this.workingPalletDesc = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingStatus
|
|
||||||
{
|
|
||||||
get { return this.workingStatus; }
|
|
||||||
set { this.workingStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,138 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class WorkingPalletDtl : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string workingPalletDtlId;
|
|
||||||
private string workingPalletCode;
|
|
||||||
private string irCode;
|
|
||||||
private string sheetTypeCode;
|
|
||||||
private DateTime inputTime;
|
|
||||||
private string cleanModeCode;
|
|
||||||
private string contaminationTypeCode;
|
|
||||||
private string contaminationDtlCode;
|
|
||||||
private int currentNumber;
|
|
||||||
private int operateUserId;
|
|
||||||
private DateTime operateUserTime;
|
|
||||||
private int workingDtlStatus;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletDtlId
|
|
||||||
{
|
|
||||||
get { return this.workingPalletDtlId; }
|
|
||||||
set { this.workingPalletDtlId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletCode
|
|
||||||
{
|
|
||||||
get { return this.workingPalletCode; }
|
|
||||||
set { this.workingPalletCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string IrCode
|
|
||||||
{
|
|
||||||
get { return this.irCode; }
|
|
||||||
set { this.irCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SheetTypeCode
|
|
||||||
{
|
|
||||||
get { return this.sheetTypeCode; }
|
|
||||||
set { this.sheetTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime InputTime
|
|
||||||
{
|
|
||||||
get { return this.inputTime; }
|
|
||||||
set { this.inputTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeCode
|
|
||||||
{
|
|
||||||
get { return this.cleanModeCode; }
|
|
||||||
set { this.cleanModeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeCode; }
|
|
||||||
set { this.contaminationTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationDtlCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationDtlCode; }
|
|
||||||
set { this.contaminationDtlCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int CurrentNumber
|
|
||||||
{
|
|
||||||
get { return this.currentNumber; }
|
|
||||||
set { this.currentNumber = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int OperateUserId
|
|
||||||
{
|
|
||||||
get { return this.operateUserId; }
|
|
||||||
set { this.operateUserId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime OperateUserTime
|
|
||||||
{
|
|
||||||
get { return this.operateUserTime; }
|
|
||||||
set { this.operateUserTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int WorkingDtlStatus
|
|
||||||
{
|
|
||||||
get { return this.workingDtlStatus; }
|
|
||||||
set { this.workingDtlStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class ZbkWorkingPallet:BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string workingPalletId;
|
|
||||||
private string workingPalletCode;
|
|
||||||
private string workingPalletDesc;
|
|
||||||
private int workingStatus;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletId
|
|
||||||
{
|
|
||||||
get { return this.workingPalletId; }
|
|
||||||
set { this.workingPalletId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletCode
|
|
||||||
{
|
|
||||||
get { return this.workingPalletCode; }
|
|
||||||
set { this.workingPalletCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletDesc
|
|
||||||
{
|
|
||||||
get { return this.workingPalletDesc; }
|
|
||||||
set { this.workingPalletDesc = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int WorkingStatus
|
|
||||||
{
|
|
||||||
get { return this.workingStatus; }
|
|
||||||
set { this.workingStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,137 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace CleanMachine.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public class ZbkWorkingPalletDtl : BaseModel
|
|
||||||
{
|
|
||||||
|
|
||||||
private string workingPalletDtlId;
|
|
||||||
private string workingPalletCode;
|
|
||||||
private string irCode;
|
|
||||||
private string sheetTypeCode;
|
|
||||||
private DateTime inputTime;
|
|
||||||
private string cleanModeCode;
|
|
||||||
private string contaminationTypeCode;
|
|
||||||
private string contaminationDtlCode;
|
|
||||||
private int currentNumber;
|
|
||||||
private int operateUserId;
|
|
||||||
private DateTime operateUserTime;
|
|
||||||
private int workingDtlStatus;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletDtlId
|
|
||||||
{
|
|
||||||
get { return this.workingPalletDtlId; }
|
|
||||||
set { this.workingPalletDtlId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string WorkingPalletCode
|
|
||||||
{
|
|
||||||
get { return this.workingPalletCode; }
|
|
||||||
set { this.workingPalletCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string IrCode
|
|
||||||
{
|
|
||||||
get { return this.irCode; }
|
|
||||||
set { this.irCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string SheetTypeCode
|
|
||||||
{
|
|
||||||
get { return this.sheetTypeCode; }
|
|
||||||
set { this.sheetTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime InputTime
|
|
||||||
{
|
|
||||||
get { return this.inputTime; }
|
|
||||||
set { this.inputTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string CleanModeCode
|
|
||||||
{
|
|
||||||
get { return this.cleanModeCode; }
|
|
||||||
set { this.cleanModeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationTypeCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationTypeCode; }
|
|
||||||
set { this.contaminationTypeCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public string ContaminationDtlCode
|
|
||||||
{
|
|
||||||
get { return this.contaminationDtlCode; }
|
|
||||||
set { this.contaminationDtlCode = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int CurrentNumber
|
|
||||||
{
|
|
||||||
get { return this.currentNumber; }
|
|
||||||
set { this.currentNumber = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int OperateUserId
|
|
||||||
{
|
|
||||||
get { return this.operateUserId; }
|
|
||||||
set { this.operateUserId = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public DateTime OperateUserTime
|
|
||||||
{
|
|
||||||
get { return this.operateUserTime; }
|
|
||||||
set { this.operateUserTime = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public int WorkingDtlStatus
|
|
||||||
{
|
|
||||||
get { return this.workingDtlStatus; }
|
|
||||||
set { this.workingDtlStatus = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +1,99 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard1.3</TargetFramework>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{F7AF907B-5DDC-469F-956C-08C5FD110448}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>CleanMachineHMI.Domain</RootNamespace>
|
||||||
|
<AssemblyName>CleanMachineHMI.Domain</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
|
<OutputPath>bin\x64\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||||
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Properties\" />
|
<Reference Include="ComponentFactory.Krypton.Toolkit, Version=4.6.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\ComponentFactory.Krypton.Toolkit.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Enums\EnumFormType.cs" />
|
||||||
|
<Compile Include="Enums\EnumOperateType.cs" />
|
||||||
|
<Compile Include="Models\ViewModels\FormModel.cs" />
|
||||||
|
<Compile Include="Models\ViewModels\UserInfo.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Models\ConditionModels\" />
|
||||||
|
<Folder Include="Models\ResultModels\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.Domain.Models.ViewModels
|
namespace CleanMachineHMI.Domain.Models.ViewModels
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -12,21 +12,21 @@ namespace CleanMachineHMI.Domain.Models.ViewModels
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class UserInfo
|
public class UserInfo
|
||||||
{
|
{
|
||||||
public int UserId { get; set; }
|
public int USER_ID { get; set; }
|
||||||
|
|
||||||
public string UserCode { get; set; }
|
public string USER_CODE { get; set; }
|
||||||
|
|
||||||
public string UserName { get; set; }
|
public string USER_NAME { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 性别.0:男;1:女。
|
/// 性别.0:男;1:女。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Gender { get; set; }
|
public int GENDER { get; set; }
|
||||||
|
|
||||||
public string ScheduleCode { get; set; }
|
public string SCHEDULE_CODE { get; set; }
|
||||||
public int RoleId { get; set; }
|
public int ROLE_ID { get; set; }
|
||||||
|
|
||||||
public int RoleGrade { get; set; }
|
public int ROLE_GRADE { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
36
CleanMachineHMI.Model/Properties/AssemblyInfo.cs
Normal file
36
CleanMachineHMI.Model/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的一般信息由以下
|
||||||
|
// 控制。更改这些特性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("CleanMachineHMI.Domain")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("CleanMachineHMI.Domain")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||||
|
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||||
|
//请将此类型的 ComVisible 特性设置为 true。
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||||
|
[assembly: Guid("f7af907b-5ddc-469f-956c-08c5fd110448")]
|
||||||
|
|
||||||
|
// 程序集的版本信息由下列四个值组成:
|
||||||
|
//
|
||||||
|
// 主版本
|
||||||
|
// 次版本
|
||||||
|
// 生成号
|
||||||
|
// 修订号
|
||||||
|
//
|
||||||
|
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||||
|
//通过使用 "*",如下所示:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
@@ -1,22 +1,18 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 17
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 17.0.32014.148
|
VisualStudioVersion = 16.0.30330.147
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachineHMI", "CleanMachineHMI\CleanMachineHMI.csproj", "{9CF77369-B471-4476-9F42-779945113EA5}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanMachineHMI", "CleanMachineHMI\CleanMachineHMI.csproj", "{9CF77369-B471-4476-9F42-779945113EA5}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachineHMI.Domain", "CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj", "{F7AF907B-5DDC-469F-956C-08C5FD110448}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanMachineHMI.Domain", "CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj", "{F7AF907B-5DDC-469F-956C-08C5FD110448}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LeadDataBaseUtility", "LeadDataBaseUtility\LeadDataBaseUtility.csproj", "{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LeadDataBaseUtility", "LeadDataBaseUtility\LeadDataBaseUtility.csproj", "{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NX_LogUtility", "NX_LogUtility\NX_LogUtility.csproj", "{925057D8-7EE8-42ED-8AA0-628AF82F10B2}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NX_LogUtility", "NX_LogUtility\NX_LogUtility.csproj", "{925057D8-7EE8-42ED-8AA0-628AF82F10B2}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CleanMachineSoftware_Setup", "CleanMachineSoftware_Setup\CleanMachineSoftware_Setup.vdproj", "{497A7E73-E2E8-4134-93CA-8F6A5B72D992}"
|
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CleanMachineSoftware_Setup", "CleanMachineSoftware_Setup\CleanMachineSoftware_Setup.vdproj", "{497A7E73-E2E8-4134-93CA-8F6A5B72D992}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachine.Control", "CleanMachine.Control\CleanMachine.Control.csproj", "{6891D010-F826-49C9-A087-2717A264BC16}"
|
|
||||||
EndProject
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachine.Model", "CleanMachine.Model\CleanMachine.Model.csproj", "{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -29,82 +25,64 @@ Global
|
|||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.Build.0 = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.Build.0 = Debug|x64
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.Build.0 = Debug|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.Build.0 = Debug|x86
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.Build.0 = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.ActiveCfg = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.Build.0 = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.ActiveCfg = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.ActiveCfg = Release|x86
|
||||||
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.Build.0 = Release|Any CPU
|
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.Build.0 = Release|x86
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.Build.0 = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.Build.0 = Debug|x64
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.Build.0 = Debug|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.Build.0 = Debug|x86
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.Build.0 = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.ActiveCfg = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.Build.0 = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.ActiveCfg = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.ActiveCfg = Release|x86
|
||||||
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.Build.0 = Release|Any CPU
|
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.Build.0 = Release|x86
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.Build.0 = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.Build.0 = Debug|x64
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.Build.0 = Debug|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.Build.0 = Debug|x86
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.Build.0 = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.ActiveCfg = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.Build.0 = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.ActiveCfg = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.ActiveCfg = Release|x86
|
||||||
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.Build.0 = Release|Any CPU
|
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.Build.0 = Release|x86
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.Build.0 = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.Build.0 = Debug|x64
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.Build.0 = Debug|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.Build.0 = Debug|x86
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.Build.0 = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.ActiveCfg = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.Build.0 = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.ActiveCfg = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.ActiveCfg = Release|x86
|
||||||
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.Build.0 = Release|Any CPU
|
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.Build.0 = Release|x86
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|Any CPU.ActiveCfg = Debug
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|x64.ActiveCfg = Debug
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|x86.ActiveCfg = Debug
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|x64.Build.0 = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|Any CPU.ActiveCfg = Release
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|x64.ActiveCfg = Release
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|x86.Build.0 = Debug|Any CPU
|
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|x86.ActiveCfg = Release
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{6891D010-F826-49C9-A087-2717A264BC16}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {09FA6A17-2C18-418A-81E3-612D52950830}
|
|
||||||
VisualSVNWorkingCopyRoot = .
|
VisualSVNWorkingCopyRoot = .
|
||||||
|
SolutionGuid = {09FA6A17-2C18-418A-81E3-612D52950830}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@@ -1,15 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||||
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
||||||
|
</configSections>
|
||||||
|
<connectionStrings>
|
||||||
|
<add name="NX_CLEAR_MAC_20200915Entities" connectionString="metadata=res://*/Entitys.Model1.csdl|res://*/Entitys.Model1.ssdl|res://*/Entitys.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=.;initial catalog=NX_CLEAR_MAC_20200915;persist security info=True;user id=sa;password=1q2w3e4r!@;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient"/>
|
||||||
|
<add name="CleanMachineHMI.Properties.Settings.NX_CLEAR_MAC_20200915ConnectionString" connectionString="Data Source=.;Initial Catalog=NX_CLEAR_MAC_20200915;Persist Security Info=True;User ID=sa;Password=1q2w3e4r!@" providerName="System.Data.SqlClient"/>
|
||||||
|
</connectionStrings>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
|
||||||
</startup>
|
</startup>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
|
|
||||||
|
|
||||||
<!--<add key="GlobalPaletteMode" value="Professionaloffice2003"/>-->
|
<add key="GlobalPaletteMode" value="Professionaloffice2003"/>
|
||||||
<add key="LanguageCode" value="zh-CN"/>
|
<!--<add key="LanguageCode" value="Chinese"/>-->
|
||||||
<!--<add key="LanguageCode" value="English"/>-->
|
<add key="LanguageCode" value="English"/>
|
||||||
<add key="sqlmapConfigPath" value="Config/sqlmap.config"/>
|
<add key="sqlmapConfigPath" value="Config/sqlmap.config"/>
|
||||||
<!--MySql数据库连接字符串-->
|
<!--MySql数据库连接字符串-->
|
||||||
<add key="LeadMySql" value="Data Source = localhost; Port=3306;Initial Catalog = testasrs; Persist Security Info=True;User ID = root; Password=sa1234567;"/>
|
<add key="LeadMySql" value="Data Source = localhost; Port=3306;Initial Catalog = testasrs; Persist Security Info=True;User ID = root; Password=sa1234567;"/>
|
||||||
@@ -42,6 +49,16 @@
|
|||||||
<add key="LastTimeUserCode" value=""/>
|
<add key="LastTimeUserCode" value=""/>
|
||||||
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
|
<system.web>
|
||||||
|
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||||
|
<providers>
|
||||||
|
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
||||||
|
</providers>
|
||||||
|
</membership>
|
||||||
|
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||||
|
<providers>
|
||||||
|
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
||||||
|
</providers>
|
||||||
|
</roleManager>
|
||||||
|
</system.web>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
@@ -1,70 +1,660 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{9CF77369-B471-4476-9F42-779945113EA5}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<RootNamespace>CleanMachineHMI</RootNamespace>
|
||||||
|
<AssemblyName>CleanMachineHMI</AssemblyName>
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>Resources\cleaner_128px_1238161_easyicon.net.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
|
<OutputPath>bin\x64\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||||
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="forms\**" />
|
<Reference Include="ComponentFactory.Krypton.Navigator, Version=4.6.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
|
||||||
<EmbeddedResource Remove="forms\**" />
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<None Remove="forms\**" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Krypton.Navigator" Version="60.22.2.32" />
|
|
||||||
<PackageReference Include="Krypton.Toolkit" Version="60.22.2.32" />
|
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
|
||||||
<PackageReference Include="NModbus" Version="3.0.72" />
|
|
||||||
<PackageReference Include="NModbus.Serial" Version="3.0.72" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj" />
|
|
||||||
<ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj" />
|
|
||||||
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj" />
|
|
||||||
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj" />
|
|
||||||
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="ComponentFactory.Krypton.Navigator">
|
|
||||||
<HintPath>..\public\ComponentFactory.Krypton.Navigator.dll</HintPath>
|
<HintPath>..\public\ComponentFactory.Krypton.Navigator.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="ComponentFactory.Krypton.Toolkit">
|
<Reference Include="ComponentFactory.Krypton.Toolkit, Version=4.6.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\public\ComponentFactory.Krypton.Toolkit.dll</HintPath>
|
<HintPath>..\public\ComponentFactory.Krypton.Toolkit.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="FastReport">
|
<Reference Include="FastReport, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\public\FastReport.dll</HintPath>
|
<HintPath>..\public\FastReport.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Management" />
|
<Reference Include="FastReport.Bars, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\FastReport.Bars.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FastReport.Editor, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\FastReport.Editor.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FastReport.Install, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\FastReport.Install.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FastReport.Service, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\FastReport.Service.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FastReport.Web, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\FastReport.Web.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.1000.523\lib\net40\Microsoft.ReportViewer.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.DataVisualization, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.1000.523\lib\net40\Microsoft.ReportViewer.DataVisualization.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.Design, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.1000.523\lib\net40\Microsoft.ReportViewer.Design.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.ProcessingObjectModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.1000.523\lib\net40\Microsoft.ReportViewer.ProcessingObjectModel.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.WinForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.1000.523\lib\net40\Microsoft.ReportViewer.WinForms.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.SqlServer.Types, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.SqlServer.Types.14.0.314.76\lib\net40\Microsoft.SqlServer.Types.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="NModbus4, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\public\NModbus4.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Design" />
|
||||||
|
<Reference Include="System.Web" />
|
||||||
|
<Reference Include="System.Web.Extensions" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Properties\Settings.Designer.cs">
|
<Compile Include="frmChild\frmPopupWarningMsg.cs">
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<SubType>Form</SubType>
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
<Compile Include="frmChild\frmPopupWarningMsg.Designer.cs">
|
||||||
|
<DependentUpon>frmPopupWarningMsg.cs</DependentUpon>
|
||||||
<ItemGroup>
|
</Compile>
|
||||||
<None Update="DataBase\clearMac.db">
|
<Compile Include="frmChild\frmSwitchRunDirection.cs">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmSwitchRunDirection.Designer.cs">
|
||||||
|
<DependentUpon>frmSwitchRunDirection.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmIoMonitorNew.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmIoMonitorNew.Designer.cs">
|
||||||
|
<DependentUpon>frmIoMonitorNew.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMainDetail.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMainDetail.Designer.cs">
|
||||||
|
<DependentUpon>frmMainDetail.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMaintenance.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMaintenance.Designer.cs">
|
||||||
|
<DependentUpon>frmMaintenance.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMechineCheck.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmMechineCheck.Designer.cs">
|
||||||
|
<DependentUpon>frmMechineCheck.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPrinterMain.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPrinterMain.Designer.cs">
|
||||||
|
<DependentUpon>frmPrinterMain.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPlcItemConfig.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPlcItemConfig.Designer.cs">
|
||||||
|
<DependentUpon>frmPlcItemConfig.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPlcAlarmLog.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmPlcAlarmLog.Designer.cs">
|
||||||
|
<DependentUpon>frmPlcAlarmLog.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmManual.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmManual.Designer.cs">
|
||||||
|
<DependentUpon>frmManual.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmIOMonitor.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmIOMonitor.Designer.cs">
|
||||||
|
<DependentUpon>frmIOMonitor.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmCurrWorkingIrMsg.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmCurrWorkingIrMsg.Designer.cs">
|
||||||
|
<DependentUpon>frmCurrWorkingIrMsg.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmCleanMode.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmCleanMode.Designer.cs">
|
||||||
|
<DependentUpon>frmCleanMode.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmContaminationDTL.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmContaminationDTL.Designer.cs">
|
||||||
|
<DependentUpon>frmContaminationDTL.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmContaminationType.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmContaminationType.Designer.cs">
|
||||||
|
<DependentUpon>frmContaminationType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmParamater.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\frmParamater.Designer.cs">
|
||||||
|
<DependentUpon>frmParamater.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmRole.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmRole.Designer.cs">
|
||||||
|
<DependentUpon>frmRole.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmSheetType.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmSheetType.Designer.cs">
|
||||||
|
<DependentUpon>frmSheetType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmUser.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmUser.Designer.cs">
|
||||||
|
<DependentUpon>frmUser.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmWarning.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmUserControl\Base\frmWarning.Designer.cs">
|
||||||
|
<DependentUpon>frmWarning.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Utils\AnimateBase.cs" />
|
||||||
|
<Compile Include="Utils\GlobalHelper.cs" />
|
||||||
|
<Compile Include="Model\BasCleanTypeMsg.cs" />
|
||||||
|
<Compile Include="Model\BasPlcItemMd.cs" />
|
||||||
|
<Compile Include="Model\Bas_WarningMd.cs" />
|
||||||
|
<Compile Include="Utils\CircleButton.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Model\CM_WarningLogMd.cs" />
|
||||||
|
<Compile Include="frmSysExitAlarm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmSysExitAlarm.Designer.cs">
|
||||||
|
<DependentUpon>frmSysExitAlarm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form2.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form2.Designer.cs">
|
||||||
|
<DependentUpon>Form2.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddRole.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddRole.Designer.cs">
|
||||||
|
<DependentUpon>frmAddRole.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditRole.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditRole.Designer.cs">
|
||||||
|
<DependentUpon>frmEditRole.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditWorkingPalletData.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditWorkingPalletData.Designer.cs">
|
||||||
|
<DependentUpon>frmEditWorkingPalletData.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmSetRoleMenuPermission.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmSetRoleMenuPermission.Designer.cs">
|
||||||
|
<DependentUpon>frmSetRoleMenuPermission.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmBase.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmBase.Designer.cs">
|
||||||
|
<DependentUpon>frmBase.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddCleanCode.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddCleanCode.Designer.cs">
|
||||||
|
<DependentUpon>frmAddCleanCode.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditCleanCode.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditCleanCode.Designer.cs">
|
||||||
|
<DependentUpon>frmEditCleanCode.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddContaminationType.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddContaminationType.Designer.cs">
|
||||||
|
<DependentUpon>frmAddContaminationType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditContaminationType.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditContaminationType.Designer.cs">
|
||||||
|
<DependentUpon>frmEditContaminationType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddContaminationDtl.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddContaminationDtl.Designer.cs">
|
||||||
|
<DependentUpon>frmAddContaminationDtl.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditContaminationDtl.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditContaminationDtl.Designer.cs">
|
||||||
|
<DependentUpon>frmEditContaminationDtl.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddWaringMsg.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddWaringMsg.Designer.cs">
|
||||||
|
<DependentUpon>frmAddWaringMsg.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditParamater.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditParamater.Designer.cs">
|
||||||
|
<DependentUpon>frmEditParamater.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditWaringMsg.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditWaringMsg.Designer.cs">
|
||||||
|
<DependentUpon>frmEditWaringMsg.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddSheetType.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddSheetType.Designer.cs">
|
||||||
|
<DependentUpon>frmAddSheetType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditSheetType.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditSheetType.Designer.cs">
|
||||||
|
<DependentUpon>frmEditSheetType.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditUser.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditUser.Designer.cs">
|
||||||
|
<DependentUpon>frmEditUser.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddPlcItem.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddPlcItem.Designer.cs">
|
||||||
|
<DependentUpon>frmAddPlcItem.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddUser.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmAddUser.Designer.cs">
|
||||||
|
<DependentUpon>frmAddUser.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditPlcItem.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmChild\frmEditPlcItem.Designer.cs">
|
||||||
|
<DependentUpon>frmEditPlcItem.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmIOMonitor_Old.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmIOMonitor_Old.Designer.cs">
|
||||||
|
<DependentUpon>frmIOMonitor_Old.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmLogin.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmLogin.Designer.cs">
|
||||||
|
<DependentUpon>frmLogin.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmMainNew.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmMainNew.Designer.cs">
|
||||||
|
<DependentUpon>frmMainNew.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Utils\LEaseMode.cs" />
|
||||||
|
<Compile Include="Utils\LEaseType.cs" />
|
||||||
|
<Compile Include="Utils\LEnum.cs" />
|
||||||
|
<Compile Include="Utils\LEventArgs.cs" />
|
||||||
|
<Compile Include="Utils\LSwitchButton.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Utils\PlcOperationHelper.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Utils\KeyboardAutoPopUp.cs" />
|
||||||
|
<Compile Include="Utils\AppConfigHelper.cs" />
|
||||||
|
<Compile Include="Utils\FormTypeAttribute.cs" />
|
||||||
|
<Compile Include="Utils\frmUtil.cs" />
|
||||||
|
<EmbeddedResource Include="frmChild\frmPopupWarningMsg.resx">
|
||||||
|
<DependentUpon>frmPopupWarningMsg.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmSwitchRunDirection.resx">
|
||||||
|
<DependentUpon>frmSwitchRunDirection.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmIoMonitorNew.resx">
|
||||||
|
<DependentUpon>frmIoMonitorNew.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmSysExitAlarm.resx">
|
||||||
|
<DependentUpon>frmSysExitAlarm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Form2.resx">
|
||||||
|
<DependentUpon>Form2.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddRole.resx">
|
||||||
|
<DependentUpon>frmAddRole.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditRole.resx">
|
||||||
|
<DependentUpon>frmEditRole.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditWorkingPalletData.resx">
|
||||||
|
<DependentUpon>frmEditWorkingPalletData.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmSetRoleMenuPermission.resx">
|
||||||
|
<DependentUpon>frmSetRoleMenuPermission.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddCleanCode.resx">
|
||||||
|
<DependentUpon>frmAddCleanCode.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddContaminationDtl.resx">
|
||||||
|
<DependentUpon>frmAddContaminationDtl.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddContaminationType.resx">
|
||||||
|
<DependentUpon>frmAddContaminationType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddWaringMsg.resx">
|
||||||
|
<DependentUpon>frmAddWaringMsg.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditCleanCode.resx">
|
||||||
|
<DependentUpon>frmEditCleanCode.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditContaminationDtl.resx">
|
||||||
|
<DependentUpon>frmEditContaminationDtl.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditContaminationType.resx">
|
||||||
|
<DependentUpon>frmEditContaminationType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditParamater.resx">
|
||||||
|
<DependentUpon>frmEditParamater.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditWaringMsg.resx">
|
||||||
|
<DependentUpon>frmEditWaringMsg.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddSheetType.resx">
|
||||||
|
<DependentUpon>frmAddSheetType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddUser.resx">
|
||||||
|
<DependentUpon>frmAddUser.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditSheetType.resx">
|
||||||
|
<DependentUpon>frmEditSheetType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditUser.resx">
|
||||||
|
<DependentUpon>frmEditUser.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmIOMonitor_Old.resx">
|
||||||
|
<DependentUpon>frmIOMonitor_Old.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmLogin.resx">
|
||||||
|
<DependentUpon>frmLogin.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmMainNew.resx">
|
||||||
|
<DependentUpon>frmMainNew.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmBase.resx">
|
||||||
|
<DependentUpon>frmBase.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmAddPlcItem.resx">
|
||||||
|
<DependentUpon>frmAddPlcItem.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmChild\frmEditPlcItem.resx">
|
||||||
|
<DependentUpon>frmEditPlcItem.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmCleanMode.resx">
|
||||||
|
<DependentUpon>frmCleanMode.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmContaminationDTL.resx">
|
||||||
|
<DependentUpon>frmContaminationDTL.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmContaminationType.resx">
|
||||||
|
<DependentUpon>frmContaminationType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmRole.resx">
|
||||||
|
<DependentUpon>frmRole.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmSheetType.resx">
|
||||||
|
<DependentUpon>frmSheetType.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmUser.resx">
|
||||||
|
<DependentUpon>frmUser.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\Base\frmWarning.resx">
|
||||||
|
<DependentUpon>frmWarning.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmCurrWorkingIrMsg.resx">
|
||||||
|
<DependentUpon>frmCurrWorkingIrMsg.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmIOMonitor.resx">
|
||||||
|
<DependentUpon>frmIOMonitor.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmMainDetail.resx">
|
||||||
|
<DependentUpon>frmMainDetail.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmMaintenance.resx">
|
||||||
|
<DependentUpon>frmMaintenance.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmManual.resx">
|
||||||
|
<DependentUpon>frmManual.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmMechineCheck.resx">
|
||||||
|
<DependentUpon>frmMechineCheck.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmParamater.resx">
|
||||||
|
<DependentUpon>frmParamater.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmPlcAlarmLog.resx">
|
||||||
|
<DependentUpon>frmPlcAlarmLog.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmPlcItemConfig.resx">
|
||||||
|
<DependentUpon>frmPlcItemConfig.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FrmUserControl\frmPrinterMain.resx">
|
||||||
|
<DependentUpon>frmPrinterMain.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<None Include="DataBase\clearMac.db">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
<None Update="Lang\en-US.json">
|
<None Include="packages.config" />
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<None Include="Properties\Settings.settings">
|
||||||
</None>
|
|
||||||
<None Update="Lang\zh-CN.json">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Update="Properties\Settings.settings">
|
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
<None Include="ReportMd\CleanMac_IRMsg_PrintMd.frd">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="ReportMd\CleanMac_IRMsg_PrintMd.frx">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="Resources\cleaner_128px_1238161_easyicon.net.ico" />
|
||||||
|
<Content Include="Resources\cleaning_spray.ico" />
|
||||||
|
<Content Include="Resources\favicon.ico" />
|
||||||
|
<Content Include="Resources\add.png" />
|
||||||
|
<Content Include="Resources\conn.png" />
|
||||||
|
<None Include="Resources\上升.png" />
|
||||||
|
<None Include="Resources\下降.png" />
|
||||||
|
<None Include="Resources\下降_1.png" />
|
||||||
|
<None Include="Resources\上升_1.png" />
|
||||||
|
<Content Include="Resources\客情维护.png" />
|
||||||
|
<Content Include="Resources\报警 %281%29.png" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WCFMetadata Include="Connected Services\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj">
|
||||||
|
<Project>{f7af907b-5ddc-469f-956c-08c5fd110448}</Project>
|
||||||
|
<Name>CleanMachineHMI.Domain</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj">
|
||||||
|
<Project>{824348a6-ffff-4c1b-bbf5-8b507a8c8ce5}</Project>
|
||||||
|
<Name>LeadDataBaseUtility</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj">
|
||||||
|
<Project>{925057d8-7ee8-42ed-8aa0-628af82f10b2}</Project>
|
||||||
|
<Name>NX_LogUtility</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
56
CleanMachineHMI/Form2.Designer.cs
generated
56
CleanMachineHMI/Form2.Designer.cs
generated
@@ -29,28 +29,28 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.kryptonNavigator1 = new Krypton.Navigator.KryptonNavigator();
|
this.kryptonNavigator1 = new ComponentFactory.Krypton.Navigator.KryptonNavigator();
|
||||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton2 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton2 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton3 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton4 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton4 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton5 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton5 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton6 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton6 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton7 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton7 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton8 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton9 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton9 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton10 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton10 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||||
this.kryptonButton11 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton11 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonTextBox1 = new Krypton.Toolkit.KryptonTextBox();
|
this.kryptonTextBox1 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonNavigator1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonNavigator1)).BeginInit();
|
||||||
this.kryptonNavigator1.SuspendLayout();
|
this.kryptonNavigator1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// kryptonNavigator1
|
// kryptonNavigator1
|
||||||
//
|
//
|
||||||
this.kryptonNavigator1.Button.ButtonDisplayLogic = Krypton.Navigator.ButtonDisplayLogic.ContextNextPrevious;
|
this.kryptonNavigator1.Button.ButtonDisplayLogic = ComponentFactory.Krypton.Navigator.ButtonDisplayLogic.ContextNextPrevious;
|
||||||
this.kryptonNavigator1.Button.CloseButtonDisplay = Krypton.Navigator.ButtonDisplay.Hide;
|
this.kryptonNavigator1.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide;
|
||||||
this.kryptonNavigator1.Location = new System.Drawing.Point(326, 45);
|
this.kryptonNavigator1.Location = new System.Drawing.Point(326, 45);
|
||||||
this.kryptonNavigator1.Name = "kryptonNavigator1";
|
this.kryptonNavigator1.Name = "kryptonNavigator1";
|
||||||
this.kryptonNavigator1.Size = new System.Drawing.Size(589, 418);
|
this.kryptonNavigator1.Size = new System.Drawing.Size(589, 418);
|
||||||
@@ -206,19 +206,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton2;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton2;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton3;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton3;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton4;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton4;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton5;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton5;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton6;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton6;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton7;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton7;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton8;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton8;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton9;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton9;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton10;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton10;
|
||||||
private System.Windows.Forms.Timer timer1;
|
private System.Windows.Forms.Timer timer1;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton11;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton11;
|
||||||
private Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
||||||
private Krypton.Navigator.KryptonNavigator kryptonNavigator1;
|
private ComponentFactory.Krypton.Navigator.KryptonNavigator kryptonNavigator1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
using CleanMachine.Model;
|
using ComponentFactory.Krypton.Navigator;
|
||||||
using Krypton.Navigator;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using Krypton.Toolkit;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@@ -24,7 +23,7 @@ namespace CleanMachineHMI
|
|||||||
{
|
{
|
||||||
kryptonNavigator1.Pages.Clear();
|
kryptonNavigator1.Pages.Clear();
|
||||||
AddFrmPage(null, null);
|
AddFrmPage(null, null);
|
||||||
GlobalHelper.CmWarningLogMd_List_1 = new List<WarningLog>();
|
GlobalHelper.CmWarningLogMd_List_1 = new List<CM_WarningLogMd>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void kryptonButton8_BackColorChanged(object sender, EventArgs e)
|
private void kryptonButton8_BackColorChanged(object sender, EventArgs e)
|
||||||
@@ -86,14 +85,14 @@ namespace CleanMachineHMI
|
|||||||
|
|
||||||
private void kryptonButton9_Click(object sender, EventArgs e)
|
private void kryptonButton9_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
GlobalHelper.CmWarningLogMd_List_1.Add(new WarningLog {
|
GlobalHelper.CmWarningLogMd_List_1.Add(new CM_WarningLogMd {
|
||||||
WarningCode = "TestAlarm001",
|
WarningCode = "TestAlarm001",
|
||||||
WarningName = "TestAlarm001",
|
WarningName = "TestAlarm001",
|
||||||
WarningType = "TestAlarm001",
|
WarningType = "TestAlarm001",
|
||||||
WarningMessage = "TestAlarm001",
|
WarningMessage = "TestAlarm001",
|
||||||
WarningTime = DateTime.Now,
|
WarningTime = DateTime.Now,
|
||||||
PlcItemCode = "TestAlarm001",
|
PlcItemCode = "TestAlarm001",
|
||||||
WaringStatus = 0,
|
WarningStatus = 0,
|
||||||
WarningHandleResult = 0,
|
WarningHandleResult = 0,
|
||||||
CreateBy = 1,
|
CreateBy = 1,
|
||||||
CreateTime = DateTime.Now,
|
CreateTime = DateTime.Now,
|
||||||
@@ -105,10 +104,10 @@ namespace CleanMachineHMI
|
|||||||
|
|
||||||
private void kryptonButton10_Click(object sender, EventArgs e)
|
private void kryptonButton10_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
WarningLog tmpWarn = GlobalHelper.CmWarningLogMd_List_1.Find(x => x.WaringStatus == 0);
|
CM_WarningLogMd tmpWarn = GlobalHelper.CmWarningLogMd_List_1.Find(x => x.WarningStatus == 0);
|
||||||
if (tmpWarn != null)
|
if (tmpWarn != null)
|
||||||
{
|
{
|
||||||
tmpWarn.WaringStatus = 1;
|
tmpWarn.WarningStatus = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void timer1_Tick(object sender, EventArgs e)
|
private void timer1_Tick(object sender, EventArgs e)
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
namespace CleanMachineHMI.FrmUserControl.Base
|
|
||||||
{
|
|
||||||
partial class UserControl1
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 必需的设计器变量。
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 清理所有正在使用的资源。
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region 组件设计器生成的代码
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 设计器支持所需的方法 - 不要修改
|
|
||||||
/// 使用代码编辑器修改此方法的内容。
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
this.SuspendLayout();
|
|
||||||
//
|
|
||||||
// UserControl1
|
|
||||||
//
|
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.Name = "UserControl1";
|
|
||||||
this.ResumeLayout(false);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace CleanMachineHMI.FrmUserControl.Base
|
|
||||||
{
|
|
||||||
public partial class UserControl1 : UserControl
|
|
||||||
{
|
|
||||||
public UserControl1()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
{
|
{
|
||||||
public partial class frmCleanMode
|
partial class frmCleanMode
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 必需的设计器变量。
|
/// 必需的设计器变量。
|
||||||
@@ -29,25 +29,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_CleanModeCode = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_CleanModeCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_CleanModeName = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_CleanModeName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
||||||
this.kryptonGroupBox2.Panel.SuspendLayout();
|
this.kryptonGroupBox2.Panel.SuspendLayout();
|
||||||
@@ -67,7 +67,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -88,7 +88,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -335,24 +335,24 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_CleanModeName;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -18,12 +18,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
[FormType(EnumFormType.CleanMode)]
|
[FormType(EnumFormType.CleanMode)]
|
||||||
public partial class frmCleanMode : UserControl
|
public partial class frmCleanMode : UserControl
|
||||||
{
|
{
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
|
|
||||||
public frmCleanMode()
|
public frmCleanMode()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
protected override CreateParams CreateParams
|
protected override CreateParams CreateParams
|
||||||
{
|
{
|
||||||
@@ -59,7 +62,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -84,7 +87,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
||||||
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
||||||
@@ -114,7 +117,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载清洁方式界面发生异常", "LoadFrmCleanModeExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载清洁方式界面发生异常", "LoadFrmCleanModeExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,7 +129,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询清洁方式数据发生异常", "QueryCleanModeData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询清洁方式数据发生异常", "QueryCleanModeData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,7 +159,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的清洗方式数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的清洗方式数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,7 +169,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的清洗方式数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的清洗方式数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string CleanModeId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string CleanModeId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -174,23 +177,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除清洗方式数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除清洗方式数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除清洗方式数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除清洗方式数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的清洗方式数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的清洗方式数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除清洁方式数据发生异常", "DeleteCleanModeDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除清洁方式数据发生异常", "DeleteCleanModeDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,27 +29,27 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ContaminationDtlMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ContaminationDtlMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_ContaminationType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_ContaminationType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
||||||
this.kryptonPanel3.SuspendLayout();
|
this.kryptonPanel3.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||||
@@ -93,7 +93,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -114,7 +114,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -366,26 +366,26 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,7 +11,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
@@ -26,6 +26,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmContaminationDTL()
|
public frmContaminationDTL()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Init()
|
public void Init()
|
||||||
@@ -52,7 +53,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -75,7 +76,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
string sql = $@"select CONTAMINATION_TYPE_CODE,CONTAMINATION_TYPE_NAME from BAS_CONTAMINATION_TYPE where DEL_FLAG=0";
|
string sql = $@"select CONTAMINATION_TYPE_CODE,CONTAMINATION_TYPE_NAME from BAS_CONTAMINATION_TYPE where DEL_FLAG=0";
|
||||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
if (dt != null && dt.Rows.Count > 0)
|
if (dt != null && dt.Rows.Count > 0)
|
||||||
@@ -121,7 +122,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载污染明细界面发生异常", "LoadContaminationDTLExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载污染明细界面发生异常", "LoadContaminationDTLExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,7 +134,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询污染明细数据发生异常", "QueryContaminationDTLData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询污染明细数据发生异常", "QueryContaminationDTLData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,7 +164,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的污染明细数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的污染明细数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +174,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的污染明细数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的污染明细数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string ContaminationDtlId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string ContaminationDtlId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -181,23 +182,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染明细数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染明细数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染明细数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染明细数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的污染明细数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的污染明细数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染明细数据发生异常", "DeleteContaminationDTLDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染明细数据发生异常", "DeleteContaminationDTLDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,27 +29,27 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ContaminationTypeMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ContaminationTypeMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_CleanMode = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_CleanMode = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
||||||
this.kryptonPanel1.SuspendLayout();
|
this.kryptonPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
||||||
@@ -102,7 +102,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -123,7 +123,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -366,26 +366,26 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_CleanMode;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_CleanMode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,7 +11,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
@@ -26,6 +26,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmContaminationType()
|
public frmContaminationType()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override CreateParams CreateParams
|
protected override CreateParams CreateParams
|
||||||
@@ -62,7 +63,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -85,7 +86,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
string sql = $@"select CLEAN_MODE_CODE,CLEAN_MODE_NAME from BAS_CLEAN_MODE where DEL_FLAG=0";
|
string sql = $@"select CLEAN_MODE_CODE,CLEAN_MODE_NAME from BAS_CLEAN_MODE where DEL_FLAG=0";
|
||||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
if (dt != null && dt.Rows.Count > 0)
|
if (dt != null && dt.Rows.Count > 0)
|
||||||
@@ -131,7 +132,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载污染类型界面发生异常", "LoadContaminationTypeExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载污染类型界面发生异常", "LoadContaminationTypeExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -143,7 +144,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询污染类型数据发生异常", "QueryContaminationTypeData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询污染类型数据发生异常", "QueryContaminationTypeData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +174,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的污染类型数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的污染类型数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,7 +184,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的污染类型数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的污染类型数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string ContaminationId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string ContaminationId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -191,23 +192,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染类型数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染类型数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染类型数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染类型数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的污染类型数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的污染类型数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染类型数据发生异常", "DeleteContaminationTypeDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染类型数据发生异常", "DeleteContaminationTypeDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,26 +29,26 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.ktb_setRoleMenuPermission = new Krypton.Toolkit.KryptonButton();
|
this.ktb_setRoleMenuPermission = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_roleGrade = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_roleGrade = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.ktb_roleMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_roleMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@@ -84,7 +84,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
|
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
|
||||||
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
||||||
@@ -105,7 +105,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -385,26 +385,26 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton ktb_setRoleMenuPermission;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton ktb_setRoleMenuPermission;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_roleGrade;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_roleGrade;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_roleMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_roleMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -21,7 +21,11 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmRole()
|
public frmRole()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_ComboBoxLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "KryptonComboBox");
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _ComboBoxLanguageTextList;
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
public void Init()
|
public void Init()
|
||||||
@@ -54,7 +58,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -76,13 +80,13 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
if (GlobalHelper.LanguageCode == "English")
|
||||||
{
|
{
|
||||||
kcmb_roleGrade.Items.Clear();
|
kcmb_roleGrade.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_roleGrade.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_roleGrade.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_roleGrade.Items.Add(item);
|
kcmb_roleGrade.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
kcmb_roleGrade.SelectedIndex = 0;
|
kcmb_roleGrade.SelectedIndex = 0;
|
||||||
}
|
}
|
||||||
@@ -112,7 +116,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载角色信息界面发生异常", "LoadRoleMsgExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载角色信息界面发生异常", "LoadRoleMsgExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,7 +136,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的角色数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的角色数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,7 +146,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的角色信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的角色信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string UserId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string UserId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -150,30 +154,30 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
DataTable dtIsExistAdmin = LeadDbHelperSQLite.Query(sqlIsExistAdmin).Tables[0];
|
DataTable dtIsExistAdmin = LeadDbHelperSQLite.Query(sqlIsExistAdmin).Tables[0];
|
||||||
if (dtIsExistAdmin != null && dtIsExistAdmin.Rows.Count > 0)
|
if (dtIsExistAdmin != null && dtIsExistAdmin.Rows.Count > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("管理员角色不允许删除!", "DeleteAdminRoleInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("管理员角色不允许删除!", "DeleteAdminRoleInfo"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
string sql = $@"DELETE FROM SYS_ROLE WHERE ROLE_ID = '{UserId}'";
|
string sql = $@"DELETE FROM SYS_ROLE WHERE ROLE_ID = '{UserId}'";
|
||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除角色数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除角色数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除角色数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除角色数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的角色数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的角色数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除角色数据发生异常", "DeleteRoleDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除角色数据发生异常", "DeleteRoleDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -185,7 +189,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询角色信息数据发生异常", "QueryRoleMsgData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询角色信息数据发生异常", "QueryRoleMsgData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,7 +213,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要授权菜单权限的角色数据行!", "SelectWantToPermissionRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要授权菜单权限的角色数据行!", "SelectWantToPermissionRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,25 +29,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_SheetTypeCode = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_SheetTypeCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_SheetTypeName = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_SheetTypeName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.tableLayoutPanel2.SuspendLayout();
|
this.tableLayoutPanel2.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
||||||
@@ -270,7 +270,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -285,7 +285,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -335,24 +335,24 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_SheetTypeCode;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_SheetTypeCode;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_SheetTypeName;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_SheetTypeName;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -21,8 +21,9 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmSheetType()
|
public frmSheetType()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
protected override CreateParams CreateParams
|
protected override CreateParams CreateParams
|
||||||
@@ -58,7 +59,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -82,7 +83,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
||||||
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
||||||
@@ -111,7 +112,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载板材类型界面发生异常", "LoadSheetTypeExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载板材类型界面发生异常", "LoadSheetTypeExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,7 +124,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询板材类型数据发生异常", "QuerySheetTypeData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询板材类型数据发生异常", "QuerySheetTypeData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -153,7 +154,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的板材类型数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的板材类型数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,7 +164,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的板材类型数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的板材类型数据吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string SheetTypeId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string SheetTypeId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -171,23 +172,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除板材类型数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除板材类型数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除板材类型数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除板材类型数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的板材类型数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的板材类型数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除污染板材类型数据发生异常", "DeleteSheetTypeDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除污染板材类型数据发生异常", "DeleteSheetTypeDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,24 +34,24 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_gender = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_gender = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.ktb_userMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_userMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.tableLayoutPanel1.SuspendLayout();
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kcmb_gender)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kcmb_gender)).BeginInit();
|
||||||
this.tableLayoutPanel2.SuspendLayout();
|
this.tableLayoutPanel2.SuspendLayout();
|
||||||
@@ -304,7 +304,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -319,7 +319,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
|
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
|
||||||
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
||||||
@@ -376,23 +376,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_gender;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_gender;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_userMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_userMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -21,7 +21,11 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmUser()
|
public frmUser()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_ComboBoxLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "KryptonComboBox");
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _ComboBoxLanguageTextList;
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
|
|
||||||
@@ -44,15 +48,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
sql += $" AND CREATE_TIME <= '{kdtp_CreateEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss")}'";
|
sql += $" AND CREATE_TIME <= '{kdtp_CreateEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss")}'";
|
||||||
}
|
}
|
||||||
if (GlobalHelper.UserInfo.RoleGrade != 100)
|
if (GlobalHelper.UserInfo.ROLE_GRADE != 100)
|
||||||
{
|
{
|
||||||
sql += $" AND USER_ID = '{GlobalHelper.UserInfo.UserId}'";
|
sql += $" AND USER_ID = '{GlobalHelper.UserInfo.USER_ID}'";
|
||||||
}
|
}
|
||||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -75,19 +79,19 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
||||||
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
||||||
kdtp_CreateStartTime.Checked = false;
|
kdtp_CreateStartTime.Checked = false;
|
||||||
kdtp_CreateEndTime.Checked = false;
|
kdtp_CreateEndTime.Checked = false;
|
||||||
|
|
||||||
|
if (GlobalHelper.LanguageCode == "English")
|
||||||
{
|
{
|
||||||
kcmb_gender.Items.Clear();
|
kcmb_gender.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_gender.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_gender.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_gender.Items.Add(item);
|
kcmb_gender.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kcmb_gender.SelectedIndex = 0;
|
kcmb_gender.SelectedIndex = 0;
|
||||||
@@ -113,7 +117,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载用户信息界面发生异常", "LoadUserMsgExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载用户信息界面发生异常", "LoadUserMsgExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,7 +129,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询用户信息数据发生异常", "QueryUserMsgData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询用户信息数据发生异常", "QueryUserMsgData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,7 +159,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的用户信息数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的用户信息数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,7 +169,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的用户信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的用户信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string UserId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string UserId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -173,23 +177,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除用户数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除用户数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除用户数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除用户数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的用户数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的用户数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除用户信息数据发生异常", "DeleteUserMsgDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除用户信息数据发生异常", "DeleteUserMsgDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,25 +29,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_WarningMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_WarningMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_WarningType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_WarningType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@@ -77,7 +77,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -102,7 +102,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 128);
|
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 128);
|
||||||
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
||||||
@@ -370,25 +370,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_WarningMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_WarningMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_WarningType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_WarningType;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -24,7 +24,11 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmWarning()
|
public frmWarning()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_ComboBoxLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "KryptonComboBox");
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _ComboBoxLanguageTextList;
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
var sql = $@"select WARNING_ID 序号,WARNING_CODE 报警编码,WARNING_NAME 报警名称,PLC_ITEM_CODE 'PLC信息',CASE WARNING_TYPE WHEN '1' THEN 'Cleaning machine alarm' ELSE 'Frequency converter alarm' END '报警类型',WARNING_MESSAGE 报警描述,CREATE_TIME 创建时间 from BAS_WARNING where DEL_FLAG=0";
|
var sql = $@"select WARNING_ID 序号,WARNING_CODE 报警编码,WARNING_NAME 报警名称,PLC_ITEM_CODE 'PLC信息',CASE WARNING_TYPE WHEN '1' THEN 'Cleaning machine alarm' ELSE 'Frequency converter alarm' END '报警类型',WARNING_MESSAGE 报警描述,CREATE_TIME 创建时间 from BAS_WARNING where DEL_FLAG=0";
|
||||||
@@ -49,7 +53,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
dataGridView.Columns.Clear();
|
dataGridView.Columns.Clear();
|
||||||
dataGridView.DataSource = dt;
|
dataGridView.DataSource = dt;
|
||||||
dataGridView.SetDataViewColumnText(this.Name);
|
dataGridView.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -82,19 +86,19 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
kdtp_CreateStartTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
|
||||||
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
||||||
kdtp_CreateStartTime.Checked = false;
|
kdtp_CreateStartTime.Checked = false;
|
||||||
kdtp_CreateEndTime.Checked = false;
|
kdtp_CreateEndTime.Checked = false;
|
||||||
|
|
||||||
|
if (GlobalHelper.LanguageCode == "English")
|
||||||
{
|
{
|
||||||
kcmb_WarningType.Items.Clear();
|
kcmb_WarningType.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_WarningType.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_WarningType.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_WarningType.Items.Add(item);
|
kcmb_WarningType.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kcmb_WarningType.SelectedIndex = 0;
|
kcmb_WarningType.SelectedIndex = 0;
|
||||||
@@ -121,7 +125,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载报警信息界面发生异常", "LoadWarningMsgExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载报警信息界面发生异常", "LoadWarningMsgExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,7 +137,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询报警信息数据发生异常", "QueryWarningMsgDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询报警信息数据发生异常", "QueryWarningMsgDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,7 +167,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的报警信息数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的报警信息数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +177,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count > 0)
|
if (dataGridView.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的报警信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的报警信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string WarningId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
string WarningId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -181,23 +185,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除报警数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除报警数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除报警数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除报警数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的报警数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的报警数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除报警信息数据发生异常", "DeleteWarningMsgDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除报警信息数据发生异常", "DeleteWarningMsgDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,15 +30,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonTextBox2 = new Krypton.Toolkit.KryptonTextBox();
|
this.kryptonTextBox2 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonTextBox1 = new Krypton.Toolkit.KryptonTextBox();
|
this.kryptonTextBox1 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
||||||
@@ -189,15 +189,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||||
private Krypton.Toolkit.KryptonTextBox kryptonTextBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private System.Windows.Forms.Timer timer1;
|
private System.Windows.Forms.Timer timer1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -27,7 +27,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
string sql = $@"SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 0";
|
string sql = $@"SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 0";
|
||||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
if (dt != null && dt.Rows.Count > 0)
|
if (dt != null && dt.Rows.Count > 0)
|
||||||
@@ -55,7 +55,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
kryptonTextBox1.Text = currPalletMsg;
|
kryptonTextBox1.Text = currPalletMsg;
|
||||||
kryptonTextBox2.Text = currIrMsg;
|
kryptonTextBox2.Text = currIrMsg;
|
||||||
|
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -88,8 +88,8 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
DialogResult dr = KryptonMessageBox.Show("Are you sure you want to clear the IR data for the current job? If you continue to reset the current job information, you will need to enter new IR and sheet information. please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show("Are you sure you want to clear the IR data for the current job? If you continue to reset the current job information, you will need to enter new IR and sheet information. please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.Yes)
|
if (dr == DialogResult.Yes)
|
||||||
{
|
{
|
||||||
string sqlUpdateWorkingPallet = $@"UPDATE CM_WORKING_PALLET SET WORKING_STATUS = 1,UPDATE_BY = '{GlobalHelper.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{kryptonTextBox1.Text.Trim()}';";
|
string sqlUpdateWorkingPallet = $@"UPDATE CM_WORKING_PALLET SET WORKING_STATUS = 1,UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{kryptonTextBox1.Text.Trim()}';";
|
||||||
string sqlUpdateWorkingPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET WORKING_DTL_STATUS = 1,UPDATE_BY = '{GlobalHelper.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{kryptonTextBox1.Text.Trim()}';";
|
string sqlUpdateWorkingPalletDtl = $@"UPDATE CM_WORKING_PALLET_DTL SET WORKING_DTL_STATUS = 1,UPDATE_BY = '{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME = datetime('now', 'localtime'),DATA_VERSION = DATA_VERSION + 1 where WORKING_PALLET_CODE = '{kryptonTextBox1.Text.Trim()}';";
|
||||||
string sqlInsertZbkWorkingPallet = $@"INSERT INTO ZBK_WORKING_PALLET SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 1 and WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}');";
|
string sqlInsertZbkWorkingPallet = $@"INSERT INTO ZBK_WORKING_PALLET SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 1 and WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}');";
|
||||||
string sqlInsertZbkWorkingPalletDtl = $@"INSERT INTO ZBK_WORKING_PALLET_DTL SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}';";
|
string sqlInsertZbkWorkingPalletDtl = $@"INSERT INTO ZBK_WORKING_PALLET_DTL SELECT * FROM CM_WORKING_PALLET_DTL WHERE WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}';";
|
||||||
string sqlDeleteWorkingPallet = $@"delete from CM_WORKING_PALLET where WORKING_STATUS = 1 and WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}');";
|
string sqlDeleteWorkingPallet = $@"delete from CM_WORKING_PALLET where WORKING_STATUS = 1 and WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where WORKING_DTL_STATUS = 1 and IR_CODE = '{kryptonTextBox2.Text.Trim()}');";
|
||||||
|
|||||||
524
CleanMachineHMI/FrmUserControl/frmIOMonitor.Designer.cs
generated
524
CleanMachineHMI/FrmUserControl/frmIOMonitor.Designer.cs
generated
@@ -29,256 +29,256 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.klb_X15 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X15 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X33 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X33 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X33 = new CleanMachineHMI.CircleButton();
|
this.cbt_X33 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel46 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel46 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel23 = new System.Windows.Forms.Panel();
|
this.panel23 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X13 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X13 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X13 = new CleanMachineHMI.CircleButton();
|
this.cbt_X13 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel44 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel44 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel22 = new System.Windows.Forms.Panel();
|
this.panel22 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X32 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X32 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X32 = new CleanMachineHMI.CircleButton();
|
this.cbt_X32 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel42 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel42 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel21 = new System.Windows.Forms.Panel();
|
this.panel21 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X12 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X12 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X12 = new CleanMachineHMI.CircleButton();
|
this.cbt_X12 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel40 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel40 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel24 = new System.Windows.Forms.Panel();
|
this.panel24 = new System.Windows.Forms.Panel();
|
||||||
this.panel20 = new System.Windows.Forms.Panel();
|
this.panel20 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X31 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X31 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X31 = new CleanMachineHMI.CircleButton();
|
this.cbt_X31 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel38 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel38 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel19 = new System.Windows.Forms.Panel();
|
this.panel19 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X11 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X11 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X11 = new CleanMachineHMI.CircleButton();
|
this.cbt_X11 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel36 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel36 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel18 = new System.Windows.Forms.Panel();
|
this.panel18 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X30 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X30 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X30 = new CleanMachineHMI.CircleButton();
|
this.cbt_X30 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel34 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel34 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel17 = new System.Windows.Forms.Panel();
|
this.panel17 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X10 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X10 = new CleanMachineHMI.CircleButton();
|
this.cbt_X10 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel32 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel32 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X15 = new CleanMachineHMI.CircleButton();
|
this.cbt_X15 = new CleanMachineHMI.CircleButton();
|
||||||
this.panel32 = new System.Windows.Forms.Panel();
|
this.panel32 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X37 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X37 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X37 = new CleanMachineHMI.CircleButton();
|
this.cbt_X37 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel62 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel62 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_Y27 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y27 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel30 = new System.Windows.Forms.Panel();
|
this.panel30 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X36 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X36 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X36 = new CleanMachineHMI.CircleButton();
|
this.cbt_X36 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel58 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel58 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel31 = new System.Windows.Forms.Panel();
|
this.panel31 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X17 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X17 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X17 = new CleanMachineHMI.CircleButton();
|
this.cbt_X17 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel60 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel60 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel26 = new System.Windows.Forms.Panel();
|
this.panel26 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X34 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X34 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X34 = new CleanMachineHMI.CircleButton();
|
this.cbt_X34 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel50 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel50 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel29 = new System.Windows.Forms.Panel();
|
this.panel29 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X16 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X16 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X16 = new CleanMachineHMI.CircleButton();
|
this.cbt_X16 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel56 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel56 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel25 = new System.Windows.Forms.Panel();
|
this.panel25 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X14 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X14 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X14 = new CleanMachineHMI.CircleButton();
|
this.cbt_X14 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel48 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel48 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel28 = new System.Windows.Forms.Panel();
|
this.panel28 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X35 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X35 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X35 = new CleanMachineHMI.CircleButton();
|
this.cbt_X35 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel54 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel54 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel27 = new System.Windows.Forms.Panel();
|
this.panel27 = new System.Windows.Forms.Panel();
|
||||||
this.kryptonLabel52 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel52 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X04 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X04 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel16 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel16 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y27 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y27 = new CleanMachineHMI.CircleButton();
|
||||||
this.klb_X23 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X23 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X23 = new CleanMachineHMI.CircleButton();
|
this.cbt_X23 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel14 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel14 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X03 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X03 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X03 = new CleanMachineHMI.CircleButton();
|
this.cbt_X03 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel12 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X22 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X22 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X22 = new CleanMachineHMI.CircleButton();
|
this.cbt_X22 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel10 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X02 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X02 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X02 = new CleanMachineHMI.CircleButton();
|
this.cbt_X02 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel8 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X21 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X21 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X21 = new CleanMachineHMI.CircleButton();
|
this.cbt_X21 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X01 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X01 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X01 = new CleanMachineHMI.CircleButton();
|
this.cbt_X01 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X20 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X20 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X20 = new CleanMachineHMI.CircleButton();
|
this.cbt_X20 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.klb_X00 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X00 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X00 = new CleanMachineHMI.CircleButton();
|
this.cbt_X00 = new CleanMachineHMI.CircleButton();
|
||||||
this.cbt_X04 = new CleanMachineHMI.CircleButton();
|
this.cbt_X04 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.panel64 = new System.Windows.Forms.Panel();
|
this.panel64 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y37 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y37 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y37 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y37 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel126 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel126 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel36 = new System.Windows.Forms.Panel();
|
this.panel36 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y21 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y21 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y21 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y21 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel70 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel70 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel63 = new System.Windows.Forms.Panel();
|
this.panel63 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y36 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y36 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y36 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y36 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel124 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel124 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel33 = new System.Windows.Forms.Panel();
|
this.panel33 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y00 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y00 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y00 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y00 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel64 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel64 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel62 = new System.Windows.Forms.Panel();
|
this.panel62 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y17 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y17 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y17 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y17 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel122 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel122 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel34 = new System.Windows.Forms.Panel();
|
this.panel34 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y20 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y20 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y20 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y20 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel66 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel66 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel61 = new System.Windows.Forms.Panel();
|
this.panel61 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y34 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y34 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y34 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y34 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel120 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel120 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel35 = new System.Windows.Forms.Panel();
|
this.panel35 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y01 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y01 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y01 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y01 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel68 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel68 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel60 = new System.Windows.Forms.Panel();
|
this.panel60 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y16 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y16 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y16 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y16 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel118 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel118 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel37 = new System.Windows.Forms.Panel();
|
this.panel37 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y02 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y02 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y02 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y02 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel72 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel72 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel59 = new System.Windows.Forms.Panel();
|
this.panel59 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y14 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y14 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y14 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y14 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel116 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel116 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel38 = new System.Windows.Forms.Panel();
|
this.panel38 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y22 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y22 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y22 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y22 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel74 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel74 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel58 = new System.Windows.Forms.Panel();
|
this.panel58 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y35 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y35 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y35 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y35 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel114 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel114 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel39 = new System.Windows.Forms.Panel();
|
this.panel39 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y03 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y03 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y03 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y03 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel76 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel76 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel57 = new System.Windows.Forms.Panel();
|
this.panel57 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y15 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y15 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y15 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y15 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel112 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel112 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel40 = new System.Windows.Forms.Panel();
|
this.panel40 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y23 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y23 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y23 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y23 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel78 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel78 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel56 = new System.Windows.Forms.Panel();
|
this.panel56 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y33 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y33 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y33 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y33 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel110 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel110 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel41 = new System.Windows.Forms.Panel();
|
this.panel41 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y04 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y04 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y04 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y04 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel80 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel80 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel55 = new System.Windows.Forms.Panel();
|
this.panel55 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y13 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y13 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y13 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y13 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel108 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel108 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel42 = new System.Windows.Forms.Panel();
|
this.panel42 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y24 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y24 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y24 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y24 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel82 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel82 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel54 = new System.Windows.Forms.Panel();
|
this.panel54 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y32 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y32 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y32 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y32 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel106 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel106 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel43 = new System.Windows.Forms.Panel();
|
this.panel43 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y05 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y05 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y05 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y05 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel84 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel84 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel53 = new System.Windows.Forms.Panel();
|
this.panel53 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y12 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y12 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y12 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y12 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel104 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel104 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel44 = new System.Windows.Forms.Panel();
|
this.panel44 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y25 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y25 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y25 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y25 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel86 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel86 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel52 = new System.Windows.Forms.Panel();
|
this.panel52 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y31 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y31 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y31 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y31 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel102 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel102 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel45 = new System.Windows.Forms.Panel();
|
this.panel45 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y06 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y06 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y06 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y06 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel88 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel88 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel51 = new System.Windows.Forms.Panel();
|
this.panel51 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y11 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y11 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y11 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y11 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel100 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel100 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel46 = new System.Windows.Forms.Panel();
|
this.panel46 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y26 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y26 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y26 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y26 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel90 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel90 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel50 = new System.Windows.Forms.Panel();
|
this.panel50 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y30 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y30 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y30 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y30 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel98 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel98 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel47 = new System.Windows.Forms.Panel();
|
this.panel47 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y07 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y07 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y07 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y07 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel92 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel92 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel49 = new System.Windows.Forms.Panel();
|
this.panel49 = new System.Windows.Forms.Panel();
|
||||||
this.klb_Y10 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_Y10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Y10 = new CleanMachineHMI.CircleButton();
|
this.cbt_Y10 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel96 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel96 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel48 = new System.Windows.Forms.Panel();
|
this.panel48 = new System.Windows.Forms.Panel();
|
||||||
this.kryptonLabel94 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel94 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.panel16 = new System.Windows.Forms.Panel();
|
this.panel16 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X27 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X27 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X27 = new CleanMachineHMI.CircleButton();
|
this.cbt_X27 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel30 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel30 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel15 = new System.Windows.Forms.Panel();
|
this.panel15 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X07 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X07 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X07 = new CleanMachineHMI.CircleButton();
|
this.cbt_X07 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel28 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel28 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel14 = new System.Windows.Forms.Panel();
|
this.panel14 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X26 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X26 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X26 = new CleanMachineHMI.CircleButton();
|
this.cbt_X26 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel26 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel26 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel13 = new System.Windows.Forms.Panel();
|
this.panel13 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X06 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X06 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X06 = new CleanMachineHMI.CircleButton();
|
this.cbt_X06 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel24 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel24 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel12 = new System.Windows.Forms.Panel();
|
this.panel12 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X25 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X25 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X25 = new CleanMachineHMI.CircleButton();
|
this.cbt_X25 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel22 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel22 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel11 = new System.Windows.Forms.Panel();
|
this.panel11 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X05 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X05 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X05 = new CleanMachineHMI.CircleButton();
|
this.cbt_X05 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel20 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel20 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel10 = new System.Windows.Forms.Panel();
|
this.panel10 = new System.Windows.Forms.Panel();
|
||||||
this.klb_X24 = new Krypton.Toolkit.KryptonLabel();
|
this.klb_X24 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_X24 = new CleanMachineHMI.CircleButton();
|
this.cbt_X24 = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonLabel18 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel18 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel9 = new System.Windows.Forms.Panel();
|
this.panel9 = new System.Windows.Forms.Panel();
|
||||||
this.panel8 = new System.Windows.Forms.Panel();
|
this.panel8 = new System.Windows.Forms.Panel();
|
||||||
this.panel7 = new System.Windows.Forms.Panel();
|
this.panel7 = new System.Windows.Forms.Panel();
|
||||||
@@ -288,7 +288,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.panel23.SuspendLayout();
|
this.panel23.SuspendLayout();
|
||||||
this.panel22.SuspendLayout();
|
this.panel22.SuspendLayout();
|
||||||
this.panel21.SuspendLayout();
|
this.panel21.SuspendLayout();
|
||||||
@@ -3117,256 +3117,256 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X15;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X15;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X33;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X33;
|
||||||
private CircleButton cbt_X33;
|
private CircleButton cbt_X33;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel46;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel46;
|
||||||
private System.Windows.Forms.Panel panel23;
|
private System.Windows.Forms.Panel panel23;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X13;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X13;
|
||||||
private CircleButton cbt_X13;
|
private CircleButton cbt_X13;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel44;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel44;
|
||||||
private System.Windows.Forms.Panel panel22;
|
private System.Windows.Forms.Panel panel22;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X32;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X32;
|
||||||
private CircleButton cbt_X32;
|
private CircleButton cbt_X32;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel42;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel42;
|
||||||
private System.Windows.Forms.Panel panel21;
|
private System.Windows.Forms.Panel panel21;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X12;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X12;
|
||||||
private CircleButton cbt_X12;
|
private CircleButton cbt_X12;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel40;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel40;
|
||||||
private System.Windows.Forms.Panel panel24;
|
private System.Windows.Forms.Panel panel24;
|
||||||
private System.Windows.Forms.Panel panel20;
|
private System.Windows.Forms.Panel panel20;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X31;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X31;
|
||||||
private CircleButton cbt_X31;
|
private CircleButton cbt_X31;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel38;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel38;
|
||||||
private System.Windows.Forms.Panel panel19;
|
private System.Windows.Forms.Panel panel19;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X11;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X11;
|
||||||
private CircleButton cbt_X11;
|
private CircleButton cbt_X11;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel36;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel36;
|
||||||
private System.Windows.Forms.Panel panel18;
|
private System.Windows.Forms.Panel panel18;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X30;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X30;
|
||||||
private CircleButton cbt_X30;
|
private CircleButton cbt_X30;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel34;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel34;
|
||||||
private System.Windows.Forms.Panel panel17;
|
private System.Windows.Forms.Panel panel17;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X10;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X10;
|
||||||
private CircleButton cbt_X10;
|
private CircleButton cbt_X10;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel32;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel32;
|
||||||
private CircleButton cbt_X15;
|
private CircleButton cbt_X15;
|
||||||
private System.Windows.Forms.Panel panel32;
|
private System.Windows.Forms.Panel panel32;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X37;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X37;
|
||||||
private CircleButton cbt_X37;
|
private CircleButton cbt_X37;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel62;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel62;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y27;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y27;
|
||||||
private System.Windows.Forms.Panel panel30;
|
private System.Windows.Forms.Panel panel30;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X36;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X36;
|
||||||
private CircleButton cbt_X36;
|
private CircleButton cbt_X36;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel58;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel58;
|
||||||
private System.Windows.Forms.Panel panel31;
|
private System.Windows.Forms.Panel panel31;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X17;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X17;
|
||||||
private CircleButton cbt_X17;
|
private CircleButton cbt_X17;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel60;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel60;
|
||||||
private System.Windows.Forms.Panel panel26;
|
private System.Windows.Forms.Panel panel26;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X34;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X34;
|
||||||
private CircleButton cbt_X34;
|
private CircleButton cbt_X34;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel50;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel50;
|
||||||
private System.Windows.Forms.Panel panel29;
|
private System.Windows.Forms.Panel panel29;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X16;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X16;
|
||||||
private CircleButton cbt_X16;
|
private CircleButton cbt_X16;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel56;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel56;
|
||||||
private System.Windows.Forms.Panel panel25;
|
private System.Windows.Forms.Panel panel25;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X14;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X14;
|
||||||
private CircleButton cbt_X14;
|
private CircleButton cbt_X14;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel48;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel48;
|
||||||
private System.Windows.Forms.Panel panel28;
|
private System.Windows.Forms.Panel panel28;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X35;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X35;
|
||||||
private CircleButton cbt_X35;
|
private CircleButton cbt_X35;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel54;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel54;
|
||||||
private System.Windows.Forms.Panel panel27;
|
private System.Windows.Forms.Panel panel27;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel52;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel52;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X04;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X04;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel16;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel16;
|
||||||
private CircleButton cbt_Y27;
|
private CircleButton cbt_Y27;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X23;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X23;
|
||||||
private CircleButton cbt_X23;
|
private CircleButton cbt_X23;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel14;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel14;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X03;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X03;
|
||||||
private CircleButton cbt_X03;
|
private CircleButton cbt_X03;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel12;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel12;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X22;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X22;
|
||||||
private CircleButton cbt_X22;
|
private CircleButton cbt_X22;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel10;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel10;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X02;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X02;
|
||||||
private CircleButton cbt_X02;
|
private CircleButton cbt_X02;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel8;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel8;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X21;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X21;
|
||||||
private CircleButton cbt_X21;
|
private CircleButton cbt_X21;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel6;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel6;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X01;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X01;
|
||||||
private CircleButton cbt_X01;
|
private CircleButton cbt_X01;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X20;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X20;
|
||||||
private CircleButton cbt_X20;
|
private CircleButton cbt_X20;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X00;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X00;
|
||||||
private CircleButton cbt_X00;
|
private CircleButton cbt_X00;
|
||||||
private CircleButton cbt_X04;
|
private CircleButton cbt_X04;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private System.Windows.Forms.Panel panel64;
|
private System.Windows.Forms.Panel panel64;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y37;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y37;
|
||||||
private CircleButton cbt_Y37;
|
private CircleButton cbt_Y37;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel126;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel126;
|
||||||
private System.Windows.Forms.Panel panel36;
|
private System.Windows.Forms.Panel panel36;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y21;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y21;
|
||||||
private CircleButton cbt_Y21;
|
private CircleButton cbt_Y21;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel70;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel70;
|
||||||
private System.Windows.Forms.Panel panel63;
|
private System.Windows.Forms.Panel panel63;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y36;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y36;
|
||||||
private CircleButton cbt_Y36;
|
private CircleButton cbt_Y36;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel124;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel124;
|
||||||
private System.Windows.Forms.Panel panel33;
|
private System.Windows.Forms.Panel panel33;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y00;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y00;
|
||||||
private CircleButton cbt_Y00;
|
private CircleButton cbt_Y00;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel64;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel64;
|
||||||
private System.Windows.Forms.Panel panel62;
|
private System.Windows.Forms.Panel panel62;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y17;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y17;
|
||||||
private CircleButton cbt_Y17;
|
private CircleButton cbt_Y17;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel122;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel122;
|
||||||
private System.Windows.Forms.Panel panel34;
|
private System.Windows.Forms.Panel panel34;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y20;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y20;
|
||||||
private CircleButton cbt_Y20;
|
private CircleButton cbt_Y20;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel66;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel66;
|
||||||
private System.Windows.Forms.Panel panel61;
|
private System.Windows.Forms.Panel panel61;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y34;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y34;
|
||||||
private CircleButton cbt_Y34;
|
private CircleButton cbt_Y34;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel120;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel120;
|
||||||
private System.Windows.Forms.Panel panel35;
|
private System.Windows.Forms.Panel panel35;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y01;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y01;
|
||||||
private CircleButton cbt_Y01;
|
private CircleButton cbt_Y01;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel68;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel68;
|
||||||
private System.Windows.Forms.Panel panel60;
|
private System.Windows.Forms.Panel panel60;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y16;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y16;
|
||||||
private CircleButton cbt_Y16;
|
private CircleButton cbt_Y16;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel118;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel118;
|
||||||
private System.Windows.Forms.Panel panel37;
|
private System.Windows.Forms.Panel panel37;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y02;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y02;
|
||||||
private CircleButton cbt_Y02;
|
private CircleButton cbt_Y02;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel72;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel72;
|
||||||
private System.Windows.Forms.Panel panel59;
|
private System.Windows.Forms.Panel panel59;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y14;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y14;
|
||||||
private CircleButton cbt_Y14;
|
private CircleButton cbt_Y14;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel116;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel116;
|
||||||
private System.Windows.Forms.Panel panel38;
|
private System.Windows.Forms.Panel panel38;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y22;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y22;
|
||||||
private CircleButton cbt_Y22;
|
private CircleButton cbt_Y22;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel74;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel74;
|
||||||
private System.Windows.Forms.Panel panel58;
|
private System.Windows.Forms.Panel panel58;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y35;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y35;
|
||||||
private CircleButton cbt_Y35;
|
private CircleButton cbt_Y35;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel114;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel114;
|
||||||
private System.Windows.Forms.Panel panel39;
|
private System.Windows.Forms.Panel panel39;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y03;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y03;
|
||||||
private CircleButton cbt_Y03;
|
private CircleButton cbt_Y03;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel76;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel76;
|
||||||
private System.Windows.Forms.Panel panel57;
|
private System.Windows.Forms.Panel panel57;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y15;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y15;
|
||||||
private CircleButton cbt_Y15;
|
private CircleButton cbt_Y15;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel112;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel112;
|
||||||
private System.Windows.Forms.Panel panel40;
|
private System.Windows.Forms.Panel panel40;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y23;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y23;
|
||||||
private CircleButton cbt_Y23;
|
private CircleButton cbt_Y23;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel78;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel78;
|
||||||
private System.Windows.Forms.Panel panel56;
|
private System.Windows.Forms.Panel panel56;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y33;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y33;
|
||||||
private CircleButton cbt_Y33;
|
private CircleButton cbt_Y33;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel110;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel110;
|
||||||
private System.Windows.Forms.Panel panel41;
|
private System.Windows.Forms.Panel panel41;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y04;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y04;
|
||||||
private CircleButton cbt_Y04;
|
private CircleButton cbt_Y04;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel80;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel80;
|
||||||
private System.Windows.Forms.Panel panel55;
|
private System.Windows.Forms.Panel panel55;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y13;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y13;
|
||||||
private CircleButton cbt_Y13;
|
private CircleButton cbt_Y13;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel108;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel108;
|
||||||
private System.Windows.Forms.Panel panel42;
|
private System.Windows.Forms.Panel panel42;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y24;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y24;
|
||||||
private CircleButton cbt_Y24;
|
private CircleButton cbt_Y24;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel82;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel82;
|
||||||
private System.Windows.Forms.Panel panel54;
|
private System.Windows.Forms.Panel panel54;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y32;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y32;
|
||||||
private CircleButton cbt_Y32;
|
private CircleButton cbt_Y32;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel106;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel106;
|
||||||
private System.Windows.Forms.Panel panel43;
|
private System.Windows.Forms.Panel panel43;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y05;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y05;
|
||||||
private CircleButton cbt_Y05;
|
private CircleButton cbt_Y05;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel84;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel84;
|
||||||
private System.Windows.Forms.Panel panel53;
|
private System.Windows.Forms.Panel panel53;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y12;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y12;
|
||||||
private CircleButton cbt_Y12;
|
private CircleButton cbt_Y12;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel104;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel104;
|
||||||
private System.Windows.Forms.Panel panel44;
|
private System.Windows.Forms.Panel panel44;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y25;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y25;
|
||||||
private CircleButton cbt_Y25;
|
private CircleButton cbt_Y25;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel86;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel86;
|
||||||
private System.Windows.Forms.Panel panel52;
|
private System.Windows.Forms.Panel panel52;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y31;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y31;
|
||||||
private CircleButton cbt_Y31;
|
private CircleButton cbt_Y31;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel102;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel102;
|
||||||
private System.Windows.Forms.Panel panel45;
|
private System.Windows.Forms.Panel panel45;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y06;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y06;
|
||||||
private CircleButton cbt_Y06;
|
private CircleButton cbt_Y06;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel88;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel88;
|
||||||
private System.Windows.Forms.Panel panel51;
|
private System.Windows.Forms.Panel panel51;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y11;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y11;
|
||||||
private CircleButton cbt_Y11;
|
private CircleButton cbt_Y11;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel100;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel100;
|
||||||
private System.Windows.Forms.Panel panel46;
|
private System.Windows.Forms.Panel panel46;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y26;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y26;
|
||||||
private CircleButton cbt_Y26;
|
private CircleButton cbt_Y26;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel90;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel90;
|
||||||
private System.Windows.Forms.Panel panel50;
|
private System.Windows.Forms.Panel panel50;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y30;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y30;
|
||||||
private CircleButton cbt_Y30;
|
private CircleButton cbt_Y30;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel98;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel98;
|
||||||
private System.Windows.Forms.Panel panel47;
|
private System.Windows.Forms.Panel panel47;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y07;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y07;
|
||||||
private CircleButton cbt_Y07;
|
private CircleButton cbt_Y07;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel92;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel92;
|
||||||
private System.Windows.Forms.Panel panel49;
|
private System.Windows.Forms.Panel panel49;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_Y10;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_Y10;
|
||||||
private CircleButton cbt_Y10;
|
private CircleButton cbt_Y10;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel96;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel96;
|
||||||
private System.Windows.Forms.Panel panel48;
|
private System.Windows.Forms.Panel panel48;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel94;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel94;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private System.Windows.Forms.Panel panel16;
|
private System.Windows.Forms.Panel panel16;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X27;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X27;
|
||||||
private CircleButton cbt_X27;
|
private CircleButton cbt_X27;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel30;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel30;
|
||||||
private System.Windows.Forms.Panel panel15;
|
private System.Windows.Forms.Panel panel15;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X07;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X07;
|
||||||
private CircleButton cbt_X07;
|
private CircleButton cbt_X07;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel28;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel28;
|
||||||
private System.Windows.Forms.Panel panel14;
|
private System.Windows.Forms.Panel panel14;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X26;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X26;
|
||||||
private CircleButton cbt_X26;
|
private CircleButton cbt_X26;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel26;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel26;
|
||||||
private System.Windows.Forms.Panel panel13;
|
private System.Windows.Forms.Panel panel13;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X06;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X06;
|
||||||
private CircleButton cbt_X06;
|
private CircleButton cbt_X06;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel24;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel24;
|
||||||
private System.Windows.Forms.Panel panel12;
|
private System.Windows.Forms.Panel panel12;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X25;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X25;
|
||||||
private CircleButton cbt_X25;
|
private CircleButton cbt_X25;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel22;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel22;
|
||||||
private System.Windows.Forms.Panel panel11;
|
private System.Windows.Forms.Panel panel11;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X05;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X05;
|
||||||
private CircleButton cbt_X05;
|
private CircleButton cbt_X05;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel20;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel20;
|
||||||
private System.Windows.Forms.Panel panel10;
|
private System.Windows.Forms.Panel panel10;
|
||||||
private Krypton.Toolkit.KryptonLabel klb_X24;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel klb_X24;
|
||||||
private CircleButton cbt_X24;
|
private CircleButton cbt_X24;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel18;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel18;
|
||||||
private System.Windows.Forms.Panel panel9;
|
private System.Windows.Forms.Panel panel9;
|
||||||
private System.Windows.Forms.Panel panel8;
|
private System.Windows.Forms.Panel panel8;
|
||||||
private System.Windows.Forms.Panel panel7;
|
private System.Windows.Forms.Panel panel7;
|
||||||
@@ -3376,6 +3376,6 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private System.Windows.Forms.Panel panel3;
|
private System.Windows.Forms.Panel panel3;
|
||||||
private System.Windows.Forms.Panel panel2;
|
private System.Windows.Forms.Panel panel2;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@@ -11,17 +11,21 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using CleanMachine.Model;
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
{
|
{
|
||||||
[FormType(EnumFormType.IoMonitor)]
|
//[FormType(EnumFormType.IoMonitor)]
|
||||||
public partial class frmIOMonitor : UserControl
|
public partial class frmIOMonitor : UserControl
|
||||||
{
|
{
|
||||||
public frmIOMonitor()
|
public frmIOMonitor()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "Label");
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 页面信息语言文本列表
|
||||||
|
/// </summary>
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
private void frmIOMonitorNew_Load(object sender, EventArgs e)
|
private void frmIOMonitorNew_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
initControl();
|
initControl();
|
||||||
@@ -29,8 +33,8 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
private void Show_X_Y_Status(object sender, EventArgs e)
|
private void Show_X_Y_Status(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
PlcItem item = sender as PlcItem;
|
BasPlcItemMd item = sender as BasPlcItemMd;
|
||||||
BeginInvoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
if (item.PlcItemDataType == 2)
|
if (item.PlcItemDataType == 2)
|
||||||
{
|
{
|
||||||
@@ -78,16 +82,16 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (GlobalHelper.PlcItemMd_X_List != null && GlobalHelper.PlcItemMd_X_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_X_List != null && GlobalHelper.PlcItemMd_X_List.Count > 0)
|
||||||
{
|
{
|
||||||
List<PlcItem> tempLst = GlobalHelper.PlcItemMd_X_List.OrderBy(x => Convert.ToInt32(x.PlcItemPriAddress)).ToList();
|
List<BasPlcItemMd> tempLst = GlobalHelper.PlcItemMd_X_List.OrderBy(x => Convert.ToInt32(x.PlcItemPriAddress)).ToList();
|
||||||
foreach (PlcItem item in tempLst)
|
foreach (BasPlcItemMd item in tempLst)
|
||||||
{
|
{
|
||||||
BeginInvoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
if (this.Controls.Find("klb_X" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true).Length > 0)
|
if (this.Controls.Find("klb_X" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true).Length > 0)
|
||||||
{
|
{
|
||||||
KryptonLabel label1 = this.Controls.Find("klb_X" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true)[0] as KryptonLabel;
|
KryptonLabel label1 = this.Controls.Find("klb_X" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true)[0] as KryptonLabel;
|
||||||
|
|
||||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
@@ -95,16 +99,16 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
if (GlobalHelper.PlcItemMd_Y_List != null && GlobalHelper.PlcItemMd_Y_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_Y_List != null && GlobalHelper.PlcItemMd_Y_List.Count > 0)
|
||||||
{
|
{
|
||||||
List<PlcItem> tempLst = GlobalHelper.PlcItemMd_Y_List.OrderBy(x => Convert.ToInt32(x.PlcItemPriAddress)).ToList();
|
List<BasPlcItemMd> tempLst = GlobalHelper.PlcItemMd_Y_List.OrderBy(x => Convert.ToInt32(x.PlcItemPriAddress)).ToList();
|
||||||
foreach (PlcItem item in tempLst)
|
foreach (BasPlcItemMd item in tempLst)
|
||||||
{
|
{
|
||||||
BeginInvoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
if (this.Controls.Find("klb_Y" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true).Length > 0)
|
if (this.Controls.Find("klb_Y" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true).Length > 0)
|
||||||
{
|
{
|
||||||
KryptonLabel label1 = this.Controls.Find("klb_Y" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true)[0] as KryptonLabel;
|
KryptonLabel label1 = this.Controls.Find("klb_Y" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true)[0] as KryptonLabel;
|
||||||
|
|
||||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|||||||
1299
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
1299
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -29,15 +29,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.btn_logout = new Krypton.Toolkit.KryptonButton();
|
this.btn_logout = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new System.Windows.Forms.Label();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox4 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kbtn_Pass_Yes = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_Pass_Yes = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonLabel55 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel55 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.lbwarning = new System.Windows.Forms.Label();
|
this.lbwarning = new System.Windows.Forms.Label();
|
||||||
this.kryptonTextBox1 = new Krypton.Toolkit.KryptonTextBox();
|
this.kryptonTextBox1 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
||||||
this.kryptonGroupBox1.Panel.SuspendLayout();
|
this.kryptonGroupBox1.Panel.SuspendLayout();
|
||||||
@@ -55,7 +55,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
// kryptonGroupBox1
|
// kryptonGroupBox1
|
||||||
//
|
//
|
||||||
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
|
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl;
|
||||||
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 0);
|
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
||||||
@@ -127,9 +127,9 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kbtn_Pass_Yes.StateCommon.Back.Color1 = System.Drawing.Color.Lime;
|
this.kbtn_Pass_Yes.StateCommon.Back.Color1 = System.Drawing.Color.Lime;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Back.Color2 = System.Drawing.Color.Lime;
|
this.kbtn_Pass_Yes.StateCommon.Back.Color2 = System.Drawing.Color.Lime;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
this.kbtn_Pass_Yes.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
this.kbtn_Pass_Yes.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Left)
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Right)));
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.Width = 2;
|
this.kbtn_Pass_Yes.StateCommon.Border.Width = 2;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.kbtn_Pass_Yes.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.kbtn_Pass_Yes.TabIndex = 26;
|
this.kbtn_Pass_Yes.TabIndex = 26;
|
||||||
@@ -163,9 +163,9 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kryptonTextBox1.Location = new System.Drawing.Point(213, 117);
|
this.kryptonTextBox1.Location = new System.Drawing.Point(213, 117);
|
||||||
this.kryptonTextBox1.Name = "kryptonTextBox1";
|
this.kryptonTextBox1.Name = "kryptonTextBox1";
|
||||||
this.kryptonTextBox1.Size = new System.Drawing.Size(433, 37);
|
this.kryptonTextBox1.Size = new System.Drawing.Size(433, 37);
|
||||||
this.kryptonTextBox1.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
this.kryptonTextBox1.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Left)
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Right)));
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
|
||||||
this.kryptonTextBox1.StateCommon.Border.Width = 2;
|
this.kryptonTextBox1.StateCommon.Border.Width = 2;
|
||||||
this.kryptonTextBox1.StateCommon.Content.Color1 = System.Drawing.Color.Black;
|
this.kryptonTextBox1.StateCommon.Content.Color1 = System.Drawing.Color.Black;
|
||||||
this.kryptonTextBox1.StateCommon.Content.Font = new System.Drawing.Font("新宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.kryptonTextBox1.StateCommon.Content.Font = new System.Drawing.Font("新宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
@@ -201,14 +201,14 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonButton btn_logout;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton btn_logout;
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private System.Windows.Forms.Label lbtitle;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_Pass_Yes;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_Pass_Yes;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel55;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel55;
|
||||||
private System.Windows.Forms.Label lbwarning;
|
private System.Windows.Forms.Label lbwarning;
|
||||||
private Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|||||||
272
CleanMachineHMI/FrmUserControl/frmManual.Designer.cs
generated
272
CleanMachineHMI/FrmUserControl/frmManual.Designer.cs
generated
@@ -29,74 +29,74 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonLabel9 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel11 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel10 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel8 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DischargeLiftingDrumTime = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DischargeLiftingDrumTime = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_WorkedFullPalletNum = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_WorkedFullPalletNum = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DrumTimeOut = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DrumTimeOut = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_CleanMacOutDrumFrequency = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_CleanMacOutDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_FrequencyOfFeedingLiftingDrum = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_FrequencyOfFeedingLiftingDrum = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_CleanMacInDrumFrequency = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_CleanMacInDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DischargeOutDrumFrequency = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DischargeOutDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_FrequencyOfDischargeLiftingDrum = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_FrequencyOfDischargeLiftingDrum = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_FeedingDrumFrequency = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_FeedingDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DischargeDrumFrequency = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DischargeDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.panMain = new Krypton.Toolkit.KryptonPanel();
|
this.panMain = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel4 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel4 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox8 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox8 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton8 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton9 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton9 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton7 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton7 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton2 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton2 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton6 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton6 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton3 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton4 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton4 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton5 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton5 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox4 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox3 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton12 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton12 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_PushPalletValve = new Krypton.Toolkit.KryptonButton();
|
this.kbt_PushPalletValve = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.ktb_DischargeInTrayStartMac = new Krypton.Toolkit.KryptonButton();
|
this.ktb_DischargeInTrayStartMac = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton10 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton10 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_BlockingSolenoidValve = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_BlockingSolenoidValve = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DischargeLiftingDrumRise = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DischargeLiftingDrumRise = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_DischargeLiftingDrumDecline = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_DischargeLiftingDrumDecline = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton13 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton13 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_FeedingLiftingDrumDecline = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_FeedingLiftingDrumDecline = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton14 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton14 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton11 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton11 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_FeedingLiftingDrumRise = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_FeedingLiftingDrumRise = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton15 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton15 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.ktb_FeedingStartMac = new Krypton.Toolkit.KryptonButton();
|
this.ktb_FeedingStartMac = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_WorkedFullPalletNum = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_FrequencyOfDischargeLiftingDrum = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_FrequencyOfDischargeLiftingDrum = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_DischargeOutDrumFrequency = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_DischargeOutDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_DischargeDrumFrequency = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_DischargeDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_DischargeLiftingDrumTime = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_DischargeLiftingDrumTime = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_DrumTimeOut = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_DrumTimeOut = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_AlarmDelayedTime = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_AlarmDelayedTime = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_FullPalletDelayTime = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_FullPalletDelayTime = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_CleanMacOutDrumFrequency = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_CleanMacOutDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kbtn_AlarmDelayedTime = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_AlarmDelayedTime = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.knud_CleanMacInDrumFrequency = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_CleanMacInDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel13 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel13 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.knud_FrequencyOfFeedingLiftingDrum = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_FrequencyOfFeedingLiftingDrum = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.knud_FeedingDrumFrequency = new Krypton.Toolkit.KryptonTextBox();
|
this.knud_FeedingDrumFrequency = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.panMain)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.panMain)).BeginInit();
|
||||||
this.panMain.SuspendLayout();
|
this.panMain.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||||
@@ -932,73 +932,73 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel9;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel9;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel11;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel11;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel10;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel10;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel8;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel8;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel7;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel7;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel6;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel6;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumTime;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_WorkedFullPalletNum;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_WorkedFullPalletNum;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DrumTimeOut;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DrumTimeOut;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_CleanMacOutDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_CleanMacOutDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_FrequencyOfFeedingLiftingDrum;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_FrequencyOfFeedingLiftingDrum;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_CleanMacInDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_CleanMacInDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DischargeOutDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DischargeOutDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_FrequencyOfDischargeLiftingDrum;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_FrequencyOfDischargeLiftingDrum;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_FeedingDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_FeedingDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DischargeDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DischargeDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonPanel panMain;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel panMain;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel4;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox8;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox8;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton8;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton8;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton9;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton9;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton7;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton7;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton2;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton2;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton6;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton6;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton3;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton3;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton4;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton4;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton5;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton5;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton12;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton12;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_PushPalletValve;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_PushPalletValve;
|
||||||
private Krypton.Toolkit.KryptonButton ktb_DischargeInTrayStartMac;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton ktb_DischargeInTrayStartMac;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton10;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton10;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_BlockingSolenoidValve;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_BlockingSolenoidValve;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumRise;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumRise;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumDecline;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_DischargeLiftingDrumDecline;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton13;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton13;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_FeedingLiftingDrumDecline;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_FeedingLiftingDrumDecline;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton11;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton11;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_FeedingLiftingDrumRise;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_FeedingLiftingDrumRise;
|
||||||
private Krypton.Toolkit.KryptonButton ktb_FeedingStartMac;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton ktb_FeedingStartMac;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_FeedingDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_FeedingDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_FrequencyOfFeedingLiftingDrum;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_FrequencyOfFeedingLiftingDrum;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_CleanMacInDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_CleanMacInDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_CleanMacOutDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_CleanMacOutDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_DischargeDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_DischargeDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_DischargeOutDrumFrequency;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_DischargeOutDrumFrequency;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_FrequencyOfDischargeLiftingDrum;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_FrequencyOfDischargeLiftingDrum;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_WorkedFullPalletNum;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_WorkedFullPalletNum;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_FullPalletDelayTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_FullPalletDelayTime;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_DrumTimeOut;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_DrumTimeOut;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_DischargeLiftingDrumTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_DischargeLiftingDrumTime;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton14;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton14;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton15;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton15;
|
||||||
private Krypton.Toolkit.KryptonTextBox knud_AlarmDelayedTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox knud_AlarmDelayedTime;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_AlarmDelayedTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_AlarmDelayedTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel13;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel13;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using NX_LogUtility;
|
using NX_LogUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
@@ -31,7 +31,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
LoadManualFrmData = new dlgLoadManualFrmData(GetManualPlcItemVlaue);
|
LoadManualFrmData = new dlgLoadManualFrmData(GetManualPlcItemVlaue);
|
||||||
GetManualPlcItemVlaue();
|
GetManualPlcItemVlaue();
|
||||||
GlobalHelper.OnSyncFinishPalletData += SyncFinishPalletData;
|
GlobalHelper.OnSyncFinishPalletData += SyncFinishPalletData;
|
||||||
@@ -443,7 +443,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumFrequency", (Convert.ToInt32(knud_FeedingDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumFrequency", (Convert.ToInt32(knud_FeedingDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改上料进滚筒频率成功,修改值:【{knud_FeedingDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改上料进滚筒频率成功,修改值:【{knud_FeedingDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -473,7 +473,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrumFrequency", (Convert.ToInt32(knud_CleanMacOutDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrumFrequency", (Convert.ToInt32(knud_CleanMacOutDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
|
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改清洁机出滚筒频率成功,修改值:【{knud_CleanMacOutDrumFrequency.Text}】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改清洁机出滚筒频率成功,修改值:【{knud_CleanMacOutDrumFrequency.Text}】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -503,7 +503,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrumFrequency", (Convert.ToInt32(knud_CleanMacInDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrumFrequency", (Convert.ToInt32(knud_CleanMacInDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
|
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改清洁机进滚筒频率成功,修改值:【{knud_CleanMacInDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改清洁机进滚筒频率成功,修改值:【{knud_CleanMacInDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -532,7 +532,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyOfDischargeLiftingDrum", (Convert.ToInt32(knud_FrequencyOfDischargeLiftingDrum.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyOfDischargeLiftingDrum", (Convert.ToInt32(knud_FrequencyOfDischargeLiftingDrum.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改出料升降台滚筒频率成功,修改值:【{knud_FrequencyOfDischargeLiftingDrum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改出料升降台滚筒频率成功,修改值:【{knud_FrequencyOfDischargeLiftingDrum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -561,7 +561,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyOfFeedingLiftingDrum", (Convert.ToInt32(knud_FrequencyOfFeedingLiftingDrum.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyOfFeedingLiftingDrum", (Convert.ToInt32(knud_FrequencyOfFeedingLiftingDrum.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改上料升降台滚筒频率成功,修改值:【{knud_FrequencyOfFeedingLiftingDrum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改上料升降台滚筒频率成功,修改值:【{knud_FrequencyOfFeedingLiftingDrum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -590,7 +590,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrumFrequency", (Convert.ToInt32(knud_DischargeOutDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrumFrequency", (Convert.ToInt32(knud_DischargeOutDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改出料出滚筒频率成功,修改值:【{knud_DischargeOutDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改出料出滚筒频率成功,修改值:【{knud_DischargeOutDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -620,7 +620,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeDrumFrequency", (Convert.ToInt32(knud_DischargeDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeDrumFrequency", (Convert.ToInt32(knud_DischargeDrumFrequency.Text) * 100).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
|
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改出料进滚筒频率成功,修改值:【{knud_DischargeDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改出料进滚筒频率成功,修改值:【{knud_DischargeDrumFrequency.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -652,7 +652,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//}
|
//}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumRise", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumRise", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降台上升信号成功。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降台上升信号成功。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -715,7 +715,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DrumTimeOut", (Convert.ToInt32(knud_DrumTimeOut.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("DrumTimeOut", (Convert.ToInt32(knud_DrumTimeOut.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改滚筒超时时间戳成功,修改值:【{knud_DrumTimeOut.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改滚筒超时时间戳成功,修改值:【{knud_DrumTimeOut.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -744,7 +744,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//{
|
//{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumTime", (Convert.ToInt32(knud_DischargeLiftingDrumTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumTime", (Convert.ToInt32(knud_DischargeLiftingDrumTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改出料升降台滚筒超时时间成功,修改值:【{knud_DischargeLiftingDrumTime.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改出料升降台滚筒超时时间成功,修改值:【{knud_DischargeLiftingDrumTime.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -774,7 +774,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (PlcOperationHelper.Instance.WritePlcItem("WorkedFullPalletNum", knud_WorkedFullPalletNum.Text, PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("WorkedFullPalletNum", knud_WorkedFullPalletNum.Text, PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
GlobalHelper.SyncFinishPalletData(knud_WorkedFullPalletNum.Text, EventArgs.Empty);
|
GlobalHelper.SyncFinishPalletData(knud_WorkedFullPalletNum.Text, EventArgs.Empty);
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改满托数量成功,修改值:【{knud_WorkedFullPalletNum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改满托数量成功,修改值:【{knud_WorkedFullPalletNum.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -891,7 +891,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingInDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingInDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料进滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料进滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
ktb_FeedingStartMac.StateCommon.Back.Color1 = Color.Lime;
|
ktb_FeedingStartMac.StateCommon.Back.Color1 = Color.Lime;
|
||||||
kryptonButton15.Enabled = false;
|
kryptonButton15.Enabled = false;
|
||||||
}
|
}
|
||||||
@@ -900,7 +900,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingInDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingInDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料进滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料进滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
ktb_FeedingStartMac.StateCommon.Back.Color1 = Color.Empty;
|
ktb_FeedingStartMac.StateCommon.Back.Color1 = Color.Empty;
|
||||||
kryptonButton15.Enabled = true;
|
kryptonButton15.Enabled = true;
|
||||||
}
|
}
|
||||||
@@ -928,7 +928,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton11.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton11.StateCommon.Back.Color1 = Color.Lime;
|
||||||
kryptonButton14.Enabled = false;
|
kryptonButton14.Enabled = false;
|
||||||
}
|
}
|
||||||
@@ -937,7 +937,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton11.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton11.StateCommon.Back.Color1 = Color.Empty;
|
||||||
kryptonButton14.Enabled = true;
|
kryptonButton14.Enabled = true;
|
||||||
}
|
}
|
||||||
@@ -966,7 +966,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeInDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeInDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料进滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料进滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
ktb_DischargeInTrayStartMac.StateCommon.Back.Color1 = Color.Lime;
|
ktb_DischargeInTrayStartMac.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -974,7 +974,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeInDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeInDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料进滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料进滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
ktb_DischargeInTrayStartMac.StateCommon.Back.Color1 = Color.Empty;
|
ktb_DischargeInTrayStartMac.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1001,7 +1001,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料出滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料出滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton10.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton10.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1009,7 +1009,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeOutDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料出滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料出滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton10.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton10.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1036,7 +1036,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("BlockingSolenoidValve", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("BlockingSolenoidValve", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC挡料气缸运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC挡料气缸运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kbtn_BlockingSolenoidValve.StateCommon.Back.Color1 = Color.Lime;
|
kbtn_BlockingSolenoidValve.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1044,7 +1044,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("BlockingSolenoidValve", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("BlockingSolenoidValve", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC挡料气缸停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC挡料气缸停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kbtn_BlockingSolenoidValve.StateCommon.Back.Color1 = Color.Empty;
|
kbtn_BlockingSolenoidValve.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1071,7 +1071,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("PushingCylinderSolenoidValve", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("PushingCylinderSolenoidValve", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC推料气缸运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC推料气缸运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kbt_PushPalletValve.StateCommon.Back.Color1 = Color.Lime;
|
kbt_PushPalletValve.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1079,7 +1079,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("PushingCylinderSolenoidValve", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("PushingCylinderSolenoidValve", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC推料气缸停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC推料气缸停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kbt_PushPalletValve.StateCommon.Back.Color1 = Color.Empty;
|
kbt_PushPalletValve.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1106,7 +1106,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料升降滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料升降滚筒运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton12.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton12.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1114,7 +1114,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料升降滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料升降滚筒停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton12.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton12.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1141,7 +1141,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac1BrushMotor", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac1BrushMotor", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷1运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷1运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton2.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton2.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1149,7 +1149,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac1BrushMotor", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac1BrushMotor", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷1停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷1停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton2.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton2.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1176,7 +1176,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac2BrushMotor", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac2BrushMotor", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷2运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷2运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton3.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton3.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1184,7 +1184,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac2BrushMotor", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac2BrushMotor", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷2停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷2停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton3.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton3.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1211,7 +1211,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac3BrushMotor", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac3BrushMotor", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷3运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷3运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton4.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton4.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1219,7 +1219,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac3BrushMotor", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMac3BrushMotor", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机毛刷3停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机毛刷3停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton4.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton4.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1246,7 +1246,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("NozzleSolenoidValve", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("NozzleSolenoidValve", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁喷头运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁喷头运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton7.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton7.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1254,7 +1254,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("NozzleSolenoidValve", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("NozzleSolenoidValve", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁喷头停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁喷头停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton7.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton7.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1281,7 +1281,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FranklinismStartOrStop", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FranklinismStartOrStop", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC静电启停 运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC静电启停 运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton8.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton8.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1289,7 +1289,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FranklinismStartOrStop", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FranklinismStartOrStop", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC静电启停 停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC静电启停 停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton8.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton8.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1316,7 +1316,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("VacuumingStartOrStop", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("VacuumingStartOrStop", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC吸尘电机运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC吸尘电机运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton9.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton9.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1324,7 +1324,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("VacuumingStartOrStop", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("VacuumingStartOrStop", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC吸尘电机停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC吸尘电机停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton9.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton9.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1351,7 +1351,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机进料运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机进料运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton5.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton5.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1359,7 +1359,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacInDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机进料停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机进料停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton5.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton5.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1386,7 +1386,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrum", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrum", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机出料运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机出料运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton6.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton6.StateCommon.Back.Color1 = Color.Lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1394,7 +1394,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrum", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("CleanMacOutDrum", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC清洁机出料停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC清洁机出料停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton6.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton6.StateCommon.Back.Color1 = Color.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1421,7 +1421,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (PlcOperationHelper.Instance.WritePlcItem("FullPalletDelayTime", (Convert.ToInt32(knud_FullPalletDelayTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("FullPalletDelayTime", (Convert.ToInt32(knud_FullPalletDelayTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
|
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改满料延时时间成功,修改值:【{knud_FullPalletDelayTime.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改满料延时时间成功,修改值:【{knud_FullPalletDelayTime.Text}】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
@@ -1453,7 +1453,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumDecline", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumDecline", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降台下降信号成功。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降台下降信号成功。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -1488,7 +1488,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumRise", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumRise", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料升降台上升信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料升降台上升信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -1523,7 +1523,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumDecline", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("DischargeLiftingDrumDecline", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC出料升降台下降信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC出料升降台下降信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -1555,7 +1555,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("NozzleNum", "0", PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC计数清零信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC计数清零信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1647,7 +1647,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumARollback", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumARollback", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料进滚筒反转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料进滚筒反转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton15.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton15.StateCommon.Back.Color1 = Color.Lime;
|
||||||
ktb_FeedingStartMac.Enabled = false;
|
ktb_FeedingStartMac.Enabled = false;
|
||||||
}
|
}
|
||||||
@@ -1656,7 +1656,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumARollback", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingDrumARollback", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料进滚筒反转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料进滚筒反转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton15.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton15.StateCommon.Back.Color1 = Color.Empty;
|
||||||
ktb_FeedingStartMac.Enabled = true;
|
ktb_FeedingStartMac.Enabled = true;
|
||||||
}
|
}
|
||||||
@@ -1683,7 +1683,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumBRollback", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumBRollback", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降滚筒正转运行信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton14.StateCommon.Back.Color1 = Color.Lime;
|
kryptonButton14.StateCommon.Back.Color1 = Color.Lime;
|
||||||
kryptonButton11.Enabled = false;
|
kryptonButton11.Enabled = false;
|
||||||
}
|
}
|
||||||
@@ -1692,7 +1692,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumBRollback", "False", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FeedingLiftingDrumBRollback", "False", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC上料升降滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC上料升降滚筒正转停止信号成功!操作模式:【手动】", LogTypeEum.Run);
|
||||||
kryptonButton14.StateCommon.Back.Color1 = Color.Empty;
|
kryptonButton14.StateCommon.Back.Color1 = Color.Empty;
|
||||||
kryptonButton11.Enabled = true;
|
kryptonButton11.Enabled = true;
|
||||||
}
|
}
|
||||||
@@ -1717,7 +1717,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("AlarmDelayedTime", (Convert.ToInt32(knud_AlarmDelayedTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
if (PlcOperationHelper.Instance.WritePlcItem("AlarmDelayedTime", (Convert.ToInt32(knud_AlarmDelayedTime.Text) * 10).ToString(), PlcItemTypeDesc.D))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】修改报警延迟时间成功,修改值:【{knud_AlarmDelayedTime.Text}】。操作模式:【手动】。操作模式:【手动】!", LogTypeEum.Run);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】修改报警延迟时间成功,修改值:【{knud_AlarmDelayedTime.Text}】。操作模式:【手动】。操作模式:【手动】!", LogTypeEum.Run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -29,31 +29,31 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_Brush3StatusTran = new CleanMachineHMI.CircleButton();
|
this.cbt_Brush3StatusTran = new CleanMachineHMI.CircleButton();
|
||||||
this.swtbtn_brush1 = new CleanMachineHMI.LSwitchButton();
|
this.swtbtn_brush1 = new CleanMachineHMI.LSwitchButton();
|
||||||
this.swtbtn_brush3 = new CleanMachineHMI.LSwitchButton();
|
this.swtbtn_brush3 = new CleanMachineHMI.LSwitchButton();
|
||||||
this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.swtbtn_brush2 = new CleanMachineHMI.LSwitchButton();
|
this.swtbtn_brush2 = new CleanMachineHMI.LSwitchButton();
|
||||||
this.cbt_Brush2StatusTran = new CleanMachineHMI.CircleButton();
|
this.cbt_Brush2StatusTran = new CleanMachineHMI.CircleButton();
|
||||||
this.cbt_Brush1StatusTran = new CleanMachineHMI.CircleButton();
|
this.cbt_Brush1StatusTran = new CleanMachineHMI.CircleButton();
|
||||||
this.kryptonGroupBox5 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox5 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.cbt_RunStatusTran = new CleanMachineHMI.CircleButton();
|
this.cbt_RunStatusTran = new CleanMachineHMI.CircleButton();
|
||||||
this.lbwarning = new System.Windows.Forms.Label();
|
this.lbwarning = new System.Windows.Forms.Label();
|
||||||
this.cbt_ResetSys = new CleanMachineHMI.CircleButton();
|
this.cbt_ResetSys = new CleanMachineHMI.CircleButton();
|
||||||
this.cbt_StartTran = new CleanMachineHMI.CircleButton();
|
this.cbt_StartTran = new CleanMachineHMI.CircleButton();
|
||||||
this.kbtn_Pass_No = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_Pass_No = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_Pass_Yes = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_Pass_Yes = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonLabel66 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel66 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel55 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel55 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox4 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox3 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.btn_logout = new Krypton.Toolkit.KryptonButton();
|
this.btn_logout = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new System.Windows.Forms.Label();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox5)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox5)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox5.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox5.Panel)).BeginInit();
|
||||||
this.kryptonGroupBox5.Panel.SuspendLayout();
|
this.kryptonGroupBox5.Panel.SuspendLayout();
|
||||||
@@ -264,9 +264,9 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kbtn_Pass_No.StateCommon.Back.Color1 = System.Drawing.Color.Red;
|
this.kbtn_Pass_No.StateCommon.Back.Color1 = System.Drawing.Color.Red;
|
||||||
this.kbtn_Pass_No.StateCommon.Back.Color2 = System.Drawing.Color.Red;
|
this.kbtn_Pass_No.StateCommon.Back.Color2 = System.Drawing.Color.Red;
|
||||||
this.kbtn_Pass_No.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
this.kbtn_Pass_No.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
||||||
this.kbtn_Pass_No.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
this.kbtn_Pass_No.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Left)
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Right)));
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
|
||||||
this.kbtn_Pass_No.StateCommon.Border.Width = 2;
|
this.kbtn_Pass_No.StateCommon.Border.Width = 2;
|
||||||
this.kbtn_Pass_No.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.kbtn_Pass_No.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.kbtn_Pass_No.TabIndex = 26;
|
this.kbtn_Pass_No.TabIndex = 26;
|
||||||
@@ -281,9 +281,9 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kbtn_Pass_Yes.StateCommon.Back.Color1 = System.Drawing.Color.Lime;
|
this.kbtn_Pass_Yes.StateCommon.Back.Color1 = System.Drawing.Color.Lime;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Back.Color2 = System.Drawing.Color.Lime;
|
this.kbtn_Pass_Yes.StateCommon.Back.Color2 = System.Drawing.Color.Lime;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
this.kbtn_Pass_Yes.StateCommon.Border.Color1 = System.Drawing.Color.Black;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
this.kbtn_Pass_Yes.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Left)
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
|
||||||
| Krypton.Toolkit.PaletteDrawBorders.Right)));
|
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
|
||||||
this.kbtn_Pass_Yes.StateCommon.Border.Width = 2;
|
this.kbtn_Pass_Yes.StateCommon.Border.Width = 2;
|
||||||
this.kbtn_Pass_Yes.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.kbtn_Pass_Yes.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.kbtn_Pass_Yes.TabIndex = 26;
|
this.kbtn_Pass_Yes.TabIndex = 26;
|
||||||
@@ -384,7 +384,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
// kryptonGroupBox1
|
// kryptonGroupBox1
|
||||||
//
|
//
|
||||||
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
this.kryptonGroupBox1.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.TitleControl;
|
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl;
|
||||||
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 0);
|
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
this.kryptonGroupBox1.Name = "kryptonGroupBox1";
|
||||||
@@ -437,30 +437,30 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private CircleButton cbt_Brush3StatusTran;
|
private CircleButton cbt_Brush3StatusTran;
|
||||||
private LSwitchButton swtbtn_brush1;
|
private LSwitchButton swtbtn_brush1;
|
||||||
private LSwitchButton swtbtn_brush3;
|
private LSwitchButton swtbtn_brush3;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel7;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel7;
|
||||||
private LSwitchButton swtbtn_brush2;
|
private LSwitchButton swtbtn_brush2;
|
||||||
private CircleButton cbt_Brush2StatusTran;
|
private CircleButton cbt_Brush2StatusTran;
|
||||||
private CircleButton cbt_Brush1StatusTran;
|
private CircleButton cbt_Brush1StatusTran;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox5;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox5;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private CircleButton cbt_RunStatusTran;
|
private CircleButton cbt_RunStatusTran;
|
||||||
private System.Windows.Forms.Label lbwarning;
|
private System.Windows.Forms.Label lbwarning;
|
||||||
private CircleButton cbt_ResetSys;
|
private CircleButton cbt_ResetSys;
|
||||||
private CircleButton cbt_StartTran;
|
private CircleButton cbt_StartTran;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_Pass_No;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_Pass_No;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_Pass_Yes;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_Pass_Yes;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel66;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel66;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel55;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel55;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
||||||
private Krypton.Toolkit.KryptonButton btn_logout;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton btn_logout;
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private System.Windows.Forms.Label lbtitle;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@@ -17,9 +17,14 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
[FormType(EnumFormType.MechineCheck)]
|
[FormType(EnumFormType.MechineCheck)]
|
||||||
public partial class frmMechineCheck : UserControl
|
public partial class frmMechineCheck : UserControl
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 页面信息语言文本列表
|
||||||
|
/// </summary>
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public frmMechineCheck()
|
public frmMechineCheck()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
//注销退出
|
//注销退出
|
||||||
@@ -113,7 +118,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private void frmMechineCheck_Load(object sender, EventArgs e)
|
private void frmMechineCheck_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
Thread th1 = new Thread(MainDtlRunTh);
|
Thread th1 = new Thread(MainDtlRunTh);
|
||||||
th1.IsBackground = true;
|
th1.IsBackground = true;
|
||||||
th1.Start();
|
th1.Start();
|
||||||
@@ -241,7 +246,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
PlcOperationHelper.Instance.WritePlcItem("SelfCheckPassFlag", "False", PlcItemTypeDesc.M);
|
PlcOperationHelper.Instance.WritePlcItem("SelfCheckPassFlag", "False", PlcItemTypeDesc.M);
|
||||||
//测试未通过,请检查并重新测试
|
//测试未通过,请检查并重新测试
|
||||||
GlobalHelper.CanOperate = false;
|
GlobalHelper.CanOperate = false;
|
||||||
KryptonMessageBox.Show(this.GetInfoText("测试未通过,请检查设备并重新测试!!", "NoPassShowMsg"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("测试未通过,请检查设备并重新测试!!", "NoPassShowMsg"));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,24 +29,24 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox3 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox4 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ParamaterCode = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ParamaterCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ParamaterName = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ParamaterName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||||
this.kryptonPanel2.SuspendLayout();
|
this.kryptonPanel2.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox3)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox3)).BeginInit();
|
||||||
@@ -76,7 +76,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox3.CaptionOverlap = 0D;
|
this.kryptonGroupBox3.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox3.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox3.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox3.Location = new System.Drawing.Point(0, 150);
|
this.kryptonGroupBox3.Location = new System.Drawing.Point(0, 150);
|
||||||
this.kryptonGroupBox3.Name = "kryptonGroupBox3";
|
this.kryptonGroupBox3.Name = "kryptonGroupBox3";
|
||||||
@@ -96,7 +96,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kryptonDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
this.kryptonDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||||
this.kryptonDataGridView1.DataMember = "TestData";
|
this.kryptonDataGridView1.DataMember = "TestData";
|
||||||
this.kryptonDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonDataGridView1.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.kryptonDataGridView1.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.kryptonDataGridView1.Location = new System.Drawing.Point(0, 0);
|
this.kryptonDataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.kryptonDataGridView1.MultiSelect = false;
|
this.kryptonDataGridView1.MultiSelect = false;
|
||||||
this.kryptonDataGridView1.Name = "kryptonDataGridView1";
|
this.kryptonDataGridView1.Name = "kryptonDataGridView1";
|
||||||
@@ -317,23 +317,23 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ParamaterCode;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ParamaterCode;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ParamaterName;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ParamaterName;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -25,6 +25,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmParamater()
|
public frmParamater()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -52,7 +53,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
kryptonDataGridView1.Columns.Clear();
|
kryptonDataGridView1.Columns.Clear();
|
||||||
kryptonDataGridView1.DataSource = dt;
|
kryptonDataGridView1.DataSource = dt;
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -82,7 +83,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
kdtp_CreateEndTime.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 23:59:59"));
|
||||||
kdtp_CreateStartTime.Checked = false;
|
kdtp_CreateStartTime.Checked = false;
|
||||||
kdtp_CreateEndTime.Checked = false;
|
kdtp_CreateEndTime.Checked = false;
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
RefreshFrmHost = new dlgRefreshFrmHost(Init);
|
RefreshFrmHost = new dlgRefreshFrmHost(Init);
|
||||||
Init();
|
Init();
|
||||||
foreach (Control item in tableLayoutPanel2.Controls)
|
foreach (Control item in tableLayoutPanel2.Controls)
|
||||||
@@ -105,7 +106,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载系统参数界面发生异常", "LoadSysParamaterExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载系统参数界面发生异常", "LoadSysParamaterExp") + $":【{ex.Message}】!");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -118,7 +119,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询系统参数数据发生异常", "QuerySysParamaterData") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询系统参数数据发生异常", "QuerySysParamaterData") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,7 +143,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的参数信息数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的参数信息数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,20 +29,20 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_plcMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_plcMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kcmb_plcAlarmStatus = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_plcAlarmStatus = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_plcAlarmHandleResult = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_plcAlarmHandleResult = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbtn_UuivertorAlarmClear = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_UuivertorAlarmClear = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
||||||
@@ -144,10 +144,8 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
// kcmb_plcAlarmStatus
|
// kcmb_plcAlarmStatus
|
||||||
//
|
//
|
||||||
this.kcmb_plcAlarmStatus.Anchor = System.Windows.Forms.AnchorStyles.None;
|
this.kcmb_plcAlarmStatus.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
this.kcmb_plcAlarmStatus.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
|
||||||
this.kcmb_plcAlarmStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.kcmb_plcAlarmStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.kcmb_plcAlarmStatus.DropDownWidth = 248;
|
this.kcmb_plcAlarmStatus.DropDownWidth = 248;
|
||||||
this.kcmb_plcAlarmStatus.IntegralHeight = false;
|
|
||||||
this.kcmb_plcAlarmStatus.Items.AddRange(new object[] {
|
this.kcmb_plcAlarmStatus.Items.AddRange(new object[] {
|
||||||
"请选择",
|
"请选择",
|
||||||
"正在报警",
|
"正在报警",
|
||||||
@@ -169,10 +167,8 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
// kcmb_plcAlarmHandleResult
|
// kcmb_plcAlarmHandleResult
|
||||||
//
|
//
|
||||||
this.kcmb_plcAlarmHandleResult.Anchor = System.Windows.Forms.AnchorStyles.None;
|
this.kcmb_plcAlarmHandleResult.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
this.kcmb_plcAlarmHandleResult.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
|
||||||
this.kcmb_plcAlarmHandleResult.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.kcmb_plcAlarmHandleResult.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.kcmb_plcAlarmHandleResult.DropDownWidth = 248;
|
this.kcmb_plcAlarmHandleResult.DropDownWidth = 248;
|
||||||
this.kcmb_plcAlarmHandleResult.IntegralHeight = false;
|
|
||||||
this.kcmb_plcAlarmHandleResult.Items.AddRange(new object[] {
|
this.kcmb_plcAlarmHandleResult.Items.AddRange(new object[] {
|
||||||
"请选择",
|
"请选择",
|
||||||
"未处理",
|
"未处理",
|
||||||
@@ -236,7 +232,6 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
this.kbtn_UuivertorAlarmClear.Size = new System.Drawing.Size(135, 35);
|
this.kbtn_UuivertorAlarmClear.Size = new System.Drawing.Size(135, 35);
|
||||||
this.kbtn_UuivertorAlarmClear.TabIndex = 2;
|
this.kbtn_UuivertorAlarmClear.TabIndex = 2;
|
||||||
this.kbtn_UuivertorAlarmClear.Values.Text = "变频器报警清除";
|
this.kbtn_UuivertorAlarmClear.Values.Text = "变频器报警清除";
|
||||||
this.kbtn_UuivertorAlarmClear.Click += new System.EventHandler(this.kbtn_UuivertorAlarmClear_Click);
|
|
||||||
this.kbtn_UuivertorAlarmClear.MouseDown += new System.Windows.Forms.MouseEventHandler(this.kbtn_UuivertorAlarmClear_MouseDown);
|
this.kbtn_UuivertorAlarmClear.MouseDown += new System.Windows.Forms.MouseEventHandler(this.kbtn_UuivertorAlarmClear_MouseDown);
|
||||||
this.kbtn_UuivertorAlarmClear.MouseUp += new System.Windows.Forms.MouseEventHandler(this.kbtn_UuivertorAlarmClear_MouseUp);
|
this.kbtn_UuivertorAlarmClear.MouseUp += new System.Windows.Forms.MouseEventHandler(this.kbtn_UuivertorAlarmClear_MouseUp);
|
||||||
//
|
//
|
||||||
@@ -284,19 +279,19 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_plcMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_plcMsg;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_plcAlarmStatus;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_plcAlarmStatus;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_plcAlarmHandleResult;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_plcAlarmHandleResult;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_UuivertorAlarmClear;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_UuivertorAlarmClear;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using CleanMachine.Model;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Domain.Enums;
|
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using NX_LogUtility;
|
using NX_LogUtility;
|
||||||
using System;
|
using System;
|
||||||
@@ -22,7 +21,11 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmPlcAlarmLog()
|
public frmPlcAlarmLog()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_ComboBoxLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "KryptonComboBox");
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _ComboBoxLanguageTextList;
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
|
|
||||||
public delegate void dlgRefreshFrmHost(bool isContainHisData);
|
public delegate void dlgRefreshFrmHost(bool isContainHisData);
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
@@ -34,7 +37,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载报警数据界面发生异常", "LoadFrmPlcAlarmExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载报警数据界面发生异常", "LoadFrmPlcAlarmExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,17 +64,19 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private void frmPlcAlarmLog_Load(object sender, EventArgs e)
|
private void frmPlcAlarmLog_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
kcmb_plcAlarmStatus.Items.Clear();
|
kcmb_plcAlarmStatus.Items.Clear();
|
||||||
|
if (GlobalHelper.LanguageCode == "English")
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_plcAlarmStatus.Name))
|
|
||||||
{
|
{
|
||||||
kcmb_plcAlarmStatus.Items.Add(item);
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_plcAlarmStatus.Name, "KryptonComboBox"))
|
||||||
|
{
|
||||||
|
kcmb_plcAlarmStatus.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
kcmb_plcAlarmHandleResult.Items.Clear();
|
kcmb_plcAlarmHandleResult.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_plcAlarmHandleResult.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_plcAlarmHandleResult.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_plcAlarmHandleResult.Items.Add(item);
|
kcmb_plcAlarmHandleResult.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
kcmb_plcAlarmStatus.SelectedIndex = 0;
|
kcmb_plcAlarmStatus.SelectedIndex = 0;
|
||||||
kcmb_plcAlarmHandleResult.SelectedIndex = 0;
|
kcmb_plcAlarmHandleResult.SelectedIndex = 0;
|
||||||
@@ -96,7 +101,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
private void RefreshPlcData(bool isContainHisData)
|
private void RefreshPlcData(bool isContainHisData)
|
||||||
{
|
{
|
||||||
List<WarningLog> tmpWarningLogList = new List<WarningLog>();
|
List<CM_WarningLogMd> tmpWarningLogList = new List<CM_WarningLogMd>();
|
||||||
tmpWarningLogList.AddRange(GlobalHelper.CmWarningLogMd_List);
|
tmpWarningLogList.AddRange(GlobalHelper.CmWarningLogMd_List);
|
||||||
if (isContainHisData)
|
if (isContainHisData)
|
||||||
{
|
{
|
||||||
@@ -104,7 +109,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
DataTable dtHis = LeadDbHelperSQLite.Query(sql).Tables[0];
|
DataTable dtHis = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
foreach (DataRow item in dtHis.Rows)
|
foreach (DataRow item in dtHis.Rows)
|
||||||
{
|
{
|
||||||
tmpWarningLogList.Add(new WarningLog
|
tmpWarningLogList.Add(new CM_WarningLogMd
|
||||||
{
|
{
|
||||||
WarningCode = item["WARNING_CODE"].ToString(),
|
WarningCode = item["WARNING_CODE"].ToString(),
|
||||||
WarningName = item["WARNING_NAME"].ToString(),
|
WarningName = item["WARNING_NAME"].ToString(),
|
||||||
@@ -112,7 +117,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
WarningMessage = item["WARNING_MESSAGE"].ToString(),
|
WarningMessage = item["WARNING_MESSAGE"].ToString(),
|
||||||
WarningTime = Convert.ToDateTime(item["WARNING_TIME"]),
|
WarningTime = Convert.ToDateTime(item["WARNING_TIME"]),
|
||||||
PlcItemCode = item["PLC_ITEM_CODE"].ToString(),
|
PlcItemCode = item["PLC_ITEM_CODE"].ToString(),
|
||||||
WaringStatus = Convert.ToInt32(item["WARING_STATUS"]),
|
WarningStatus = Convert.ToInt32(item["WARING_STATUS"]),
|
||||||
WarningHandleResult = Convert.ToInt32(item["WARNING_HANDLE_RESULT"]),
|
WarningHandleResult = Convert.ToInt32(item["WARNING_HANDLE_RESULT"]),
|
||||||
WarningHandleTime = Convert.ToDateTime(item["WARNING_HANDLE_TIME"]),
|
WarningHandleTime = Convert.ToDateTime(item["WARNING_HANDLE_TIME"]),
|
||||||
CreateBy = Convert.ToInt32(item["CREATE_BY"]),
|
CreateBy = Convert.ToInt32(item["CREATE_BY"]),
|
||||||
@@ -131,7 +136,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (kcmb_plcAlarmStatus.SelectedIndex != 0)
|
if (kcmb_plcAlarmStatus.SelectedIndex != 0)
|
||||||
{
|
{
|
||||||
tmpWarningLogList = tmpWarningLogList.FindAll(x => x.WaringStatus == (kcmb_plcAlarmStatus.SelectedIndex - 1));
|
tmpWarningLogList = tmpWarningLogList.FindAll(x => x.WarningStatus == (kcmb_plcAlarmStatus.SelectedIndex - 1));
|
||||||
}
|
}
|
||||||
if (tmpWarningLogList == null && tmpWarningLogList.Count > 0)
|
if (tmpWarningLogList == null && tmpWarningLogList.Count > 0)
|
||||||
{
|
{
|
||||||
@@ -145,17 +150,15 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
tmpWarningLogList.OrderByDescending(x => x.WarningTime);
|
tmpWarningLogList.OrderByDescending(x => x.WarningTime);
|
||||||
DataTable dt = new DataTable();
|
DataTable dt = new DataTable();
|
||||||
|
DataColumn dc1 = new DataColumn("序号", Type.GetType("System.Int32"));
|
||||||
|
DataColumn dc2 = new DataColumn("PLC变量地址", Type.GetType("System.String"));
|
||||||
DataColumn dc1 = new DataColumn("序号", typeof(int));
|
DataColumn dc3 = new DataColumn("报警条码", Type.GetType("System.String"));
|
||||||
DataColumn dc2 = new DataColumn("PLC变量地址", typeof(string));
|
DataColumn dc4 = new DataColumn("报警内容", Type.GetType("System.String"));
|
||||||
DataColumn dc3 = new DataColumn("报警条码", typeof(string));
|
DataColumn dc5 = new DataColumn("报警时间", Type.GetType("System.String"));
|
||||||
DataColumn dc4 = new DataColumn("报警内容", typeof(string));
|
DataColumn dc6 = new DataColumn("报警状态", Type.GetType("System.String"));
|
||||||
DataColumn dc5 = new DataColumn("报警时间", typeof(string));
|
DataColumn dc7 = new DataColumn("处理结果", Type.GetType("System.String"));
|
||||||
DataColumn dc6 = new DataColumn("报警状态", typeof(string));
|
DataColumn dc8 = new DataColumn("处理时间", Type.GetType("System.String"));
|
||||||
DataColumn dc7 = new DataColumn("处理结果", typeof(string));
|
DataColumn dc9 = new DataColumn("报警时长", Type.GetType("System.String"));
|
||||||
DataColumn dc8 = new DataColumn("处理时间", typeof(string));
|
|
||||||
DataColumn dc9 = new DataColumn("报警时长", typeof(string));
|
|
||||||
|
|
||||||
dt.Columns.Add(dc1);
|
dt.Columns.Add(dc1);
|
||||||
dt.Columns.Add(dc2);
|
dt.Columns.Add(dc2);
|
||||||
@@ -167,7 +170,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
dt.Columns.Add(dc8);
|
dt.Columns.Add(dc8);
|
||||||
dt.Columns.Add(dc9);
|
dt.Columns.Add(dc9);
|
||||||
int index = 1;
|
int index = 1;
|
||||||
foreach (WarningLog item in tmpWarningLogList)
|
foreach (CM_WarningLogMd item in tmpWarningLogList)
|
||||||
{
|
{
|
||||||
DataRow dr = dt.NewRow();
|
DataRow dr = dt.NewRow();
|
||||||
dr["序号"] = index;
|
dr["序号"] = index;
|
||||||
@@ -175,7 +178,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
dr["报警条码"] = item.WarningCode;
|
dr["报警条码"] = item.WarningCode;
|
||||||
dr["报警内容"] = item.WarningName;
|
dr["报警内容"] = item.WarningName;
|
||||||
dr["报警时间"] = item.WarningTime;
|
dr["报警时间"] = item.WarningTime;
|
||||||
if (item.WaringStatus == 0)
|
if (item.WarningStatus == 0)
|
||||||
{
|
{
|
||||||
//dr["报警状态"] = "正在报警";
|
//dr["报警状态"] = "正在报警";
|
||||||
dr["报警状态"] = "Occurrent Alarm";
|
dr["报警状态"] = "Occurrent Alarm";
|
||||||
@@ -223,7 +226,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
dt.DefaultView.Sort = "报警时间 DESC";
|
dt.DefaultView.Sort = "报警时间 DESC";
|
||||||
dt = dt.DefaultView.ToTable();
|
dt = dt.DefaultView.ToTable();
|
||||||
kryptonDataGridView1.DataSource = dt;
|
kryptonDataGridView1.DataSource = dt;
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -242,7 +245,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyMacAlarmClear", "True", PlcItemTypeDesc.M))
|
if (PlcOperationHelper.Instance.WritePlcItem("FrequencyMacAlarmClear", "True", PlcItemTypeDesc.M))
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.UserName}】发送PLC变频器报警清除信号成功。", LogTypeEum.Err);
|
LogHelper.WriteLog($"用户:【{GlobalHelper.UserInfo.USER_NAME}】发送PLC变频器报警清除信号成功。", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -265,10 +268,5 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
KryptonMessageBox.Show(ex.Message);
|
KryptonMessageBox.Show(ex.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void kbtn_UuivertorAlarmClear_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,26 +29,26 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_plcMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_plcMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kcmb_plcItemType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_plcItemType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kcmb_plcItemDateType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_plcItemDateType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.ktb_plcItemModbusAddress = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_plcItemModbusAddress = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.ktb_plcItemPriAddress = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_plcItemPriAddress = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
|
||||||
@@ -353,25 +353,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_plcMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_plcMsg;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_plcItemType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_plcItemType;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_plcItemDateType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_plcItemDateType;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_plcItemModbusAddress;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_plcItemModbusAddress;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_plcItemPriAddress;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_plcItemPriAddress;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -12,7 +12,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using CleanMachine.Model;
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
{
|
{
|
||||||
[FormType(EnumFormType.PlcItemConfig)]
|
[FormType(EnumFormType.PlcItemConfig)]
|
||||||
@@ -21,8 +21,11 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmPlcItemConfig()
|
public frmPlcItemConfig()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_ComboBoxLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "KryptonComboBox");
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
|
private DataTable _ComboBoxLanguageTextList;
|
||||||
|
private DataTable _InfoLanguageTextList;
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
private void txt_GotFocus(object sender, EventArgs e)
|
private void txt_GotFocus(object sender, EventArgs e)
|
||||||
@@ -47,18 +50,18 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private void frmPlcItemConfig_Load(object sender, EventArgs e)
|
private void frmPlcItemConfig_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
|
if (GlobalHelper.LanguageCode == "English")
|
||||||
{
|
{
|
||||||
kcmb_plcItemType.Items.Clear();
|
kcmb_plcItemType.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_plcItemType.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_plcItemType.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_plcItemType.Items.Add(item);
|
kcmb_plcItemType.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
kcmb_plcItemDateType.Items.Clear();
|
kcmb_plcItemDateType.Items.Clear();
|
||||||
foreach (string item in this.GetComBoboxItemArr(kcmb_plcItemDateType.Name))
|
foreach (DataRow item in _ComboBoxLanguageTextList.GetComBoboxItemArr(kcmb_plcItemDateType.Name, "KryptonComboBox"))
|
||||||
{
|
{
|
||||||
kcmb_plcItemDateType.Items.Add(item);
|
kcmb_plcItemDateType.Items.Add(item["CONTROL_NAME"].ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kcmb_plcItemType.SelectedIndex = 0;
|
kcmb_plcItemType.SelectedIndex = 0;
|
||||||
@@ -143,7 +146,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
//DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
//DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
List<PlcItem> tmpMdList;
|
List<BasPlcItemMd> tmpMdList;
|
||||||
if (!string.IsNullOrEmpty(ktb_plcMsg.Text.Trim()))
|
if (!string.IsNullOrEmpty(ktb_plcMsg.Text.Trim()))
|
||||||
{
|
{
|
||||||
tmpMdList = GlobalHelper.PlcItemMdList.FindAll(x => x.PlcItemCode.Contains(ktb_plcMsg.Text.Trim()) || x.PlcItemName.Contains(ktb_plcMsg.Text.Trim()));
|
tmpMdList = GlobalHelper.PlcItemMdList.FindAll(x => x.PlcItemCode.Contains(ktb_plcMsg.Text.Trim()) || x.PlcItemName.Contains(ktb_plcMsg.Text.Trim()));
|
||||||
@@ -202,7 +205,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
dt.Columns.Add(dc5);
|
dt.Columns.Add(dc5);
|
||||||
dt.Columns.Add(dc6);
|
dt.Columns.Add(dc6);
|
||||||
dt.Columns.Add(dc7);
|
dt.Columns.Add(dc7);
|
||||||
foreach (PlcItem item in tmpMdList)
|
foreach (BasPlcItemMd item in tmpMdList)
|
||||||
{
|
{
|
||||||
DataRow dr = dt.NewRow();
|
DataRow dr = dt.NewRow();
|
||||||
dr["序号"] = item.PlcItemId;
|
dr["序号"] = item.PlcItemId;
|
||||||
@@ -244,7 +247,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
kryptonDataGridView1.DataSource = dt;
|
kryptonDataGridView1.DataSource = dt;
|
||||||
kryptonDataGridView1.ClearSelection();
|
kryptonDataGridView1.ClearSelection();
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name, GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -253,7 +256,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载PLC变量数据界面发生异常", "LoadFrmPlcItemExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载PLC变量数据界面发生异常", "LoadFrmPlcItemExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void kbt_Query_Click(object sender, EventArgs e)
|
private void kbt_Query_Click(object sender, EventArgs e)
|
||||||
@@ -287,7 +290,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("请选择要编辑的PLC变量数据行!");
|
//KryptonMessageBox.Show("请选择要编辑的PLC变量数据行!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要编辑的PLC变量数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要编辑的PLC变量数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -297,7 +300,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
{
|
{
|
||||||
if (kryptonDataGridView1.SelectedRows.Count > 0)
|
if (kryptonDataGridView1.SelectedRows.Count > 0)
|
||||||
{
|
{
|
||||||
DialogResult dr = KryptonMessageBox.Show(this.GetInfoText("确定要删除所选的PLC变量信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
DialogResult dr = KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("确定要删除所选的PLC变量信息吗?", "DeleteInfo"), "Prompt", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||||
if (dr == DialogResult.OK)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string PlcItemId = kryptonDataGridView1.SelectedRows[0].Cells[0].Value.ToString();
|
string PlcItemId = kryptonDataGridView1.SelectedRows[0].Cells[0].Value.ToString();
|
||||||
@@ -306,25 +309,25 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (row > 0)
|
if (row > 0)
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("删除PLC变量数据成功!");
|
//KryptonMessageBox.Show("删除PLC变量数据成功!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除PLC变量数据成功!", "DeleteSuccessInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除PLC变量数据成功!", "DeleteSuccessInfo"));
|
||||||
RefreshFrmHost();
|
RefreshFrmHost();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("删除PLC变量数据失败!");
|
//KryptonMessageBox.Show("删除PLC变量数据失败!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除PLC变量数据失败!", "DeleteFailInfo"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除PLC变量数据失败!", "DeleteFailInfo"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("请选择要删除的PLC变量数据行!");
|
//KryptonMessageBox.Show("请选择要删除的PLC变量数据行!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请选择要删除的PLC变量数据行!", "SelectWantToDeleteRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择要删除的PLC变量数据行!", "SelectWantToDeleteRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("删除PLC变量数据发生异常", "DeletePlcItemDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("删除PLC变量数据发生异常", "DeletePlcItemDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,34 +30,34 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.kryptonDataGridView2 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView2 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kryptonButton2 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton2 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbtn_EditWorkingPalletData = new Krypton.Toolkit.KryptonButton();
|
this.kbtn_EditWorkingPalletData = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_InputStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_InputStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_palletMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_palletMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_sheetType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_sheetType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_irMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_irMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kdtp_InputEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_InputEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox3 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.创建时间 = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
this.创建时间 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||||||
this.创建人 = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
this.创建人 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||||||
this.作业状态 = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
this.作业状态 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||||||
this.托盘号 = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
this.托盘号 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||||||
this.序号 = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
this.序号 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||||||
this.Column1 = new Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
this.Column1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView2)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
||||||
@@ -267,10 +267,8 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
// kcmb_sheetType
|
// kcmb_sheetType
|
||||||
//
|
//
|
||||||
this.kcmb_sheetType.Anchor = System.Windows.Forms.AnchorStyles.None;
|
this.kcmb_sheetType.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
this.kcmb_sheetType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
|
||||||
this.kcmb_sheetType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.kcmb_sheetType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.kcmb_sheetType.DropDownWidth = 248;
|
this.kcmb_sheetType.DropDownWidth = 248;
|
||||||
this.kcmb_sheetType.IntegralHeight = false;
|
|
||||||
this.kcmb_sheetType.Location = new System.Drawing.Point(821, 3);
|
this.kcmb_sheetType.Location = new System.Drawing.Point(821, 3);
|
||||||
this.kcmb_sheetType.Name = "kcmb_sheetType";
|
this.kcmb_sheetType.Name = "kcmb_sheetType";
|
||||||
this.kcmb_sheetType.Size = new System.Drawing.Size(187, 21);
|
this.kcmb_sheetType.Size = new System.Drawing.Size(187, 21);
|
||||||
@@ -445,33 +443,33 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton2;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton2;
|
||||||
private Krypton.Toolkit.KryptonButton kbtn_EditWorkingPalletData;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbtn_EditWorkingPalletData;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_InputStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_InputStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_palletMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_palletMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_sheetType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_sheetType;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_irMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_irMsg;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_InputEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_InputEndTime;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
|
||||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 创建时间;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 创建时间;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 创建人;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 创建人;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 作业状态;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 作业状态;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 托盘号;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 托盘号;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 序号;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn 序号;
|
||||||
private Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn Column1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn Column1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using FastReport;
|
using FastReport;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using NX_LogUtility;
|
using NX_LogUtility;
|
||||||
@@ -13,7 +13,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.FrmUserControl
|
namespace CleanMachineHMI.FrmUserControl
|
||||||
@@ -33,6 +33,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
public frmPrinterMain()
|
public frmPrinterMain()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
public delegate void dlgRefreshFrmHost();
|
public delegate void dlgRefreshFrmHost();
|
||||||
public static dlgRefreshFrmHost RefreshFrmHost;
|
public static dlgRefreshFrmHost RefreshFrmHost;
|
||||||
@@ -43,7 +44,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
if (dt != null && dt.Rows.Count > 0)
|
if (dt != null && dt.Rows.Count > 0)
|
||||||
{
|
{
|
||||||
kryptonDataGridView2.DataSource = dt;
|
kryptonDataGridView2.DataSource = dt;
|
||||||
kryptonDataGridView2.SetDataViewColumnText(this.Name + "." + kryptonDataGridView2.Name);
|
kryptonDataGridView2.SetDataViewColumnText(this.Name + "." + kryptonDataGridView2.Name, GlobalHelper.LanguageCode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -99,13 +100,13 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
kryptonDataGridView1.Rows[index].Cells[4].Value = item["创建人"].ToString();
|
kryptonDataGridView1.Rows[index].Cells[4].Value = item["创建人"].ToString();
|
||||||
kryptonDataGridView1.Rows[index].Cells[5].Value = item["创建时间"].ToString();
|
kryptonDataGridView1.Rows[index].Cells[5].Value = item["创建时间"].ToString();
|
||||||
}
|
}
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name, GlobalHelper.LanguageCode);
|
||||||
isSlectRow = true;
|
isSlectRow = true;
|
||||||
kryptonDataGridView1_SelectionChanged(kryptonDataGridView1, new EventArgs());
|
kryptonDataGridView1_SelectionChanged(kryptonDataGridView1, new EventArgs());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name);
|
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name, GlobalHelper.LanguageCode);
|
||||||
kryptonDataGridView1.Rows.Clear();
|
kryptonDataGridView1.Rows.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -131,7 +132,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitControlEvent();
|
InitControlEvent();
|
||||||
this.SetFormControlText();
|
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||||
string sqlQuerySheetType = $@"SELECT SHEET_TYPE_CODE,SHEET_TYPE_NAME FROM BAS_SHEET_TYPE WHERE USED_FLAG = 1 and DEL_FLAG = 0 ORDER BY SHEET_TYPE_ID";
|
string sqlQuerySheetType = $@"SELECT SHEET_TYPE_CODE,SHEET_TYPE_NAME FROM BAS_SHEET_TYPE WHERE USED_FLAG = 1 and DEL_FLAG = 0 ORDER BY SHEET_TYPE_ID";
|
||||||
DataTable dtQuerySheetType = LeadDbHelperSQLite.Query(sqlQuerySheetType).Tables[0];
|
DataTable dtQuerySheetType = LeadDbHelperSQLite.Query(sqlQuerySheetType).Tables[0];
|
||||||
if (dtQuerySheetType != null && dtQuerySheetType.Rows.Count > 0)
|
if (dtQuerySheetType != null && dtQuerySheetType.Rows.Count > 0)
|
||||||
@@ -179,7 +180,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("加载作业数据查询界面发生异常", "LoadQueryWorkingDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载作业数据查询界面发生异常", "LoadQueryWorkingDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#region 打印测试代码
|
#region 打印测试代码
|
||||||
@@ -333,7 +334,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("查询作业托盘数据发生异常", "QueryWorkingPalletDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("查询作业托盘数据发生异常", "QueryWorkingPalletDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -408,12 +409,12 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("请勾选要打印的托盘数据行!!");
|
//KryptonMessageBox.Show("请勾选要打印的托盘数据行!!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请勾选要打印的托盘数据行!", "SelectWantToPrintRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请勾选要打印的托盘数据行!", "SelectWantToPrintRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
KryptonMessageBox.Show(this.GetInfoText("打印作业托盘数据发生异常", "PrintWorkingPalletDataExp") + $":【{ex.Message}】!");
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("打印作业托盘数据发生异常", "PrintWorkingPalletDataExp") + $":【{ex.Message}】!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void PrintWorkedIrMsg(string workingIrCodeMsg)
|
private void PrintWorkedIrMsg(string workingIrCodeMsg)
|
||||||
@@ -696,7 +697,7 @@ namespace CleanMachineHMI.FrmUserControl
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//KryptonMessageBox.Show("请勾选要编辑的作业托盘数据行!!");
|
//KryptonMessageBox.Show("请勾选要编辑的作业托盘数据行!!");
|
||||||
KryptonMessageBox.Show(this.GetInfoText("请勾选要编辑的作业托盘数据行!", "SelectWantToEditRow"));
|
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请勾选要编辑的作业托盘数据行!", "SelectWantToEditRow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace CleanMachineHMI
|
|
||||||
{
|
|
||||||
public class ListItem
|
|
||||||
{
|
|
||||||
public string Value { get; set; }
|
|
||||||
public string Text { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -8,11 +8,11 @@ namespace CleanMachineHMI
|
|||||||
{
|
{
|
||||||
public class BasCleanTypeMsg
|
public class BasCleanTypeMsg
|
||||||
{
|
{
|
||||||
public string CleanModeCode { get; set; }
|
public string CLEAN_MODE_CODE { get; set; }
|
||||||
public string CleanModeName { get; set; }
|
public string CLEAN_MODE_NAME { get; set; }
|
||||||
public string ContaminationTypeCode { get; set; }
|
public string CONTAMINATION_TYPE_CODE { get; set; }
|
||||||
public string ContaminationTypeName { get; set; }
|
public string CONTAMINATION_TYPE_NAME { get; set; }
|
||||||
public string ContaminationDtlCode { get; set; }
|
public string CONTAMINATION_DTL_CODE { get; set; }
|
||||||
public string ContaminationDtlName { get; set; }
|
public string CONTAMINATION_DTL_NAME { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,5 +6,17 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace CleanMachineHMI
|
namespace CleanMachineHMI
|
||||||
{
|
{
|
||||||
|
public class BasPlcItemMd
|
||||||
|
{
|
||||||
|
public int PlcItemId { get; set; }
|
||||||
|
public string PlcItemCode { get; set; }
|
||||||
|
public string PlcItemName { get; set; }
|
||||||
|
public int PlcItemType { get; set; }
|
||||||
|
public int PlcItemDataType { get; set; }
|
||||||
|
public string PlcItemPriAddress { get; set; }
|
||||||
|
public string PlcItemModbusAddress { get; set; }
|
||||||
|
public string PlcItemDeviationAddress { get; set; }
|
||||||
|
public string PlcItemValue { get; set; }
|
||||||
|
public int PlcItemDataLen { get; set; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
29
CleanMachineHMI/Model/CM_WarningLogMd.cs
Normal file
29
CleanMachineHMI/Model/CM_WarningLogMd.cs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace CleanMachineHMI
|
||||||
|
{
|
||||||
|
public class CM_WarningLogMd
|
||||||
|
{
|
||||||
|
public string WarningCode { get; set; }
|
||||||
|
public string WarningName { get; set; }
|
||||||
|
public string WarningType { get; set; }
|
||||||
|
public string WarningMessage { get; set; }
|
||||||
|
public DateTime WarningTime { get; set; }
|
||||||
|
public string PlcItemCode { get; set; }
|
||||||
|
public int WarningStatus { get; set; }
|
||||||
|
public int WarningHandleResult { get; set; }
|
||||||
|
public DateTime WarningHandleTime { get; set; }
|
||||||
|
|
||||||
|
public int CreateBy { get; set; }
|
||||||
|
public DateTime CreateTime { get; set; }
|
||||||
|
|
||||||
|
public int UpdateBy { get; set; }
|
||||||
|
public DateTime UpdateTime { get; set; }
|
||||||
|
|
||||||
|
public int DataVersion { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
using CleanMachineHMI.Domain.Models.ViewModels;
|
using CleanMachineHMI.Domain.Models.ViewModels;
|
||||||
using CleanMachineHMI.forms;
|
using CleanMachineHMI.forms;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -25,11 +25,6 @@ namespace CleanMachineHMI
|
|||||||
if (canCreateNew)
|
if (canCreateNew)
|
||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
//frmUtil.DB2Json();//语言字典从数据库转json
|
|
||||||
GlobalHelper.LoadTheme();
|
|
||||||
#if DEBUG
|
|
||||||
GlobalHelper.LoadzhCN();
|
|
||||||
#endif
|
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
GlobalHelper.LoadAllFormData();
|
GlobalHelper.LoadAllFormData();
|
||||||
Application.Run(GlobalHelper.LoginForm);
|
Application.Run(GlobalHelper.LoginForm);
|
||||||
|
|||||||
36
CleanMachineHMI/Properties/AssemblyInfo.cs
Normal file
36
CleanMachineHMI/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的一般信息由以下
|
||||||
|
// 控制。更改这些特性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("CleanMachineHMI")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("CleanMachineHMI")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||||
|
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||||
|
//请将此类型的 ComVisible 特性设置为 true。
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||||
|
[assembly: Guid("9cf77369-b471-4476-9f42-779945113ea5")]
|
||||||
|
|
||||||
|
// 程序集的版本信息由下列四个值组成:
|
||||||
|
//
|
||||||
|
// 主版本
|
||||||
|
// 次版本
|
||||||
|
// 生成号
|
||||||
|
// 修订号
|
||||||
|
//
|
||||||
|
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||||
|
//通过使用 "*",如下所示:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.35")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.35")]
|
||||||
2
CleanMachineHMI/Properties/Settings.Designer.cs
generated
2
CleanMachineHMI/Properties/Settings.Designer.cs
generated
@@ -12,7 +12,7 @@ namespace CleanMachineHMI.Properties {
|
|||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|||||||
@@ -12,26 +12,14 @@ namespace CleanMachineHMI
|
|||||||
[ToolboxItem(true)]
|
[ToolboxItem(true)]
|
||||||
public class CircleButton : Button//继承按钮类 重新生成解决方案就能看见我啦
|
public class CircleButton : Button//继承按钮类 重新生成解决方案就能看见我啦
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
protected override void OnResize(EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
base.OnResize(e);
|
|
||||||
System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();
|
|
||||||
|
|
||||||
path.AddEllipse(2, 2, this.Width - 6, this.Height - 6);
|
|
||||||
Region = new Region(path);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnPaint(PaintEventArgs e)//重新设置控件的形状
|
protected override void OnPaint(PaintEventArgs e)//重新设置控件的形状
|
||||||
{
|
{
|
||||||
base.OnPaint(e);//递归 每次重新都发生此方法,保证其形状为自定义形状
|
base.OnPaint(e);//递归 每次重新都发生此方法,保证其形状为自定义形状
|
||||||
|
System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();
|
||||||
|
path.AddEllipse(2, 2, this.Width - 6, this.Height - 6);
|
||||||
Graphics g = e.Graphics;
|
Graphics g = e.Graphics;
|
||||||
g.DrawEllipse(new Pen(Color.White, 0), 2, 2, Width - 6, Height - 6);
|
g.DrawEllipse(new Pen(Color.White, 0), 2, 2, Width - 6, Height - 6);
|
||||||
|
Region = new Region(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
using CleanMachine.Model;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.Domain.Enums;
|
|
||||||
using CleanMachineHMI.Domain.Models.ViewModels;
|
using CleanMachineHMI.Domain.Models.ViewModels;
|
||||||
using CleanMachineHMI.forms;
|
using CleanMachineHMI.forms;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
@@ -23,7 +21,7 @@ namespace CleanMachineHMI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 主窗体_New
|
/// 主窗体_New
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static frmMainNew MainFormNew { get; set; }
|
public static frmMainNew MainFormNew{ get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登陆窗体
|
/// 登陆窗体
|
||||||
@@ -47,11 +45,6 @@ namespace CleanMachineHMI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static string LanguageCode { get; set; } = AppConfigHelper.Get("LanguageCode");
|
public static string LanguageCode { get; set; } = AppConfigHelper.Get("LanguageCode");
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 语言字典
|
|
||||||
/// </summary>
|
|
||||||
public static Dictionary<string, string> ThemeLanguage = null;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户信息
|
/// 用户信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -69,20 +62,20 @@ namespace CleanMachineHMI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static List<PlcItem> PlcItemMdList { get; set; }
|
public static List<BasPlcItemMd> PlcItemMdList { get; set; }
|
||||||
public static List<PlcItem> PlcItemMd_D_List { get; set; }
|
public static List<BasPlcItemMd> PlcItemMd_D_List { get; set; }
|
||||||
|
|
||||||
public static List<PlcItem> PlcItemMd_M_List { get; set; }
|
public static List<BasPlcItemMd> PlcItemMd_M_List { get; set; }
|
||||||
|
|
||||||
public static List<PlcItem> PlcItemMd_X_List { get; set; }
|
public static List<BasPlcItemMd> PlcItemMd_X_List { get; set; }
|
||||||
|
|
||||||
public static List<PlcItem> PlcItemMd_Y_List { get; set; }
|
public static List<BasPlcItemMd> PlcItemMd_Y_List { get; set; }
|
||||||
|
|
||||||
public static List<Bas_WarningMd> BasWarningMd_List { get; set; }
|
public static List<Bas_WarningMd> BasWarningMd_List { get; set; }
|
||||||
|
|
||||||
public static List<WarningLog> CmWarningLogMd_List { get; set; }
|
public static List<CM_WarningLogMd> CmWarningLogMd_List { get; set; }
|
||||||
|
|
||||||
public static List<WarningLog> CmWarningLogMd_List_1 { get; set; }
|
public static List<CM_WarningLogMd> CmWarningLogMd_List_1 { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 参数列表
|
/// 参数列表
|
||||||
@@ -182,47 +175,5 @@ namespace CleanMachineHMI
|
|||||||
CanOperate = false;
|
CanOperate = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 加载主题
|
|
||||||
/// </summary>
|
|
||||||
public static void LoadTheme()
|
|
||||||
{
|
|
||||||
if (ThemeLanguage == null || ThemeLanguage.Count == 0)
|
|
||||||
{
|
|
||||||
// var appPath = System.Windows.Forms.Application.StartupPath.Split(new string[] { @"bin\Debug" }, StringSplitOptions.RemoveEmptyEntries)[0];
|
|
||||||
var filePath = $"Lang\\{GlobalHelper.LanguageCode}.json";
|
|
||||||
var str = File.ReadAllText(filePath);
|
|
||||||
var lstLanguage = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ThemeLanguage>>(str);
|
|
||||||
var tmpThemeLanguage = new Dictionary<string, string>();
|
|
||||||
lstLanguage.ForEach(item =>
|
|
||||||
{
|
|
||||||
if (item.options != null && item.options.Count > 0)
|
|
||||||
{
|
|
||||||
tmpThemeLanguage.Add(item.formCode + "|" + item.controlCode, string.Join(",", item.options));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
tmpThemeLanguage.Add(item.formCode + "|" + item.controlCode, item.controlName);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
ThemeLanguage = tmpThemeLanguage;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void LoadzhCN()
|
|
||||||
{
|
|
||||||
if (Utils.frmUtil.znCNLang == null || Utils.frmUtil.znCNLang.Count == 0)
|
|
||||||
{
|
|
||||||
var appPath = System.Windows.Forms.Application.StartupPath.Split(new string[] { @"bin\Debug" }, StringSplitOptions.RemoveEmptyEntries)[0];
|
|
||||||
var filePath = appPath + $"Lang\\zh-CN.json";
|
|
||||||
if (!File.Exists(filePath))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var str = File.ReadAllText(filePath);
|
|
||||||
Utils.frmUtil.znCNLang = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ThemeLanguage>>(str);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Management;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -24,48 +23,11 @@ namespace CleanMachineHMI
|
|||||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||||
private static extern int RegisterWindowMessage(string lpString);
|
private static extern int RegisterWindowMessage(string lpString);
|
||||||
|
|
||||||
private static bool hasKeyboard=false;
|
|
||||||
|
|
||||||
private static readonly string USB = "USB";
|
|
||||||
|
|
||||||
static KeyboardAutoPopUp()
|
|
||||||
{
|
|
||||||
hasKeyboard = GetKeyboardPresent();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private static bool GetKeyboardPresent()
|
|
||||||
{
|
|
||||||
bool keyboardPresent = false;
|
|
||||||
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * from Win32_Keyboard");
|
|
||||||
|
|
||||||
foreach (ManagementObject keyboard in searcher.Get())
|
|
||||||
{
|
|
||||||
foreach (PropertyData prop in keyboard.Properties)
|
|
||||||
{
|
|
||||||
if (Convert.ToString(prop.Value).Contains(USB))
|
|
||||||
{
|
|
||||||
keyboardPresent = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return keyboardPresent;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//显示屏幕键盘
|
//显示屏幕键盘
|
||||||
public static int ShowInputPanel()
|
public static int ShowInputPanel()
|
||||||
{
|
{
|
||||||
if (hasKeyboard) return 0;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
dynamic file = "C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe";
|
dynamic file = "C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe";
|
||||||
if (!System.IO.File.Exists(file))
|
if (!System.IO.File.Exists(file))
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
36
CleanMachineHMI/Utils/KeyboardTextBox.Designer.cs
generated
36
CleanMachineHMI/Utils/KeyboardTextBox.Designer.cs
generated
@@ -1,36 +0,0 @@
|
|||||||
namespace CleanMachineHMI.Utils
|
|
||||||
{
|
|
||||||
partial class KeyboardTextBox
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 必需的设计器变量。
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 清理所有正在使用的资源。
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region 组件设计器生成的代码
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 设计器支持所需的方法 - 不要修改
|
|
||||||
/// 使用代码编辑器修改此方法的内容。
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
components = new System.ComponentModel.Container();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace CleanMachineHMI.Utils
|
|
||||||
{
|
|
||||||
public partial class KeyboardTextBox : Krypton.Toolkit.KryptonTextBox
|
|
||||||
{
|
|
||||||
public KeyboardTextBox()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnPaint(PaintEventArgs pe)
|
|
||||||
{
|
|
||||||
base.OnPaint(pe);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnGotFocus(EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
base.OnGotFocus(e);
|
|
||||||
KeyboardAutoPopUp.ShowInputPanel();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnLostFocus(EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
base.OnLostFocus(e);
|
|
||||||
KeyboardAutoPopUp.HideInputPanel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +1,5 @@
|
|||||||
//使用本地调式
|
using LeadDataBaseUtility;
|
||||||
|
using Modbus.Device;
|
||||||
#if DEBUG
|
|
||||||
|
|
||||||
//#define USE_LOCAL_TCP_DEBUG
|
|
||||||
#endif
|
|
||||||
//启用心跳检查
|
|
||||||
|
|
||||||
#if RELEASE
|
|
||||||
#define UseHeartbeat
|
|
||||||
#endif
|
|
||||||
using CleanMachine.Model;
|
|
||||||
using LeadDataBaseUtility;
|
|
||||||
|
|
||||||
using NModbus;
|
|
||||||
using NX_LogUtility;
|
using NX_LogUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -57,10 +44,6 @@ namespace CleanMachineHMI
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private byte slaveAddress = 1;
|
|
||||||
|
|
||||||
|
|
||||||
private bool _isConn = false;
|
private bool _isConn = false;
|
||||||
|
|
||||||
|
|
||||||
@@ -77,58 +60,29 @@ namespace CleanMachineHMI
|
|||||||
set { this._isConn = value; }
|
set { this._isConn = value; }
|
||||||
}
|
}
|
||||||
private static IModbusMaster master;
|
private static IModbusMaster master;
|
||||||
//NModbus.IO.IStreamResource port;
|
|
||||||
#if USE_LOCAL_TCP_DEBUG
|
|
||||||
private static System.Net.Sockets.TcpClient port;
|
|
||||||
#else
|
|
||||||
private static SerialPort port;
|
private static SerialPort port;
|
||||||
#endif
|
|
||||||
/// <summary>
|
|
||||||
/// 初始化PLC
|
|
||||||
/// </summary>
|
|
||||||
/// <returns></returns>
|
|
||||||
public bool PlcInit()
|
public bool PlcInit()
|
||||||
{
|
{
|
||||||
|
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
string portname = GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'PortName'")[0]["PARAMETER_VALUE"].ToString();
|
string portname = GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'PortName'")[0]["PARAMETER_VALUE"].ToString();
|
||||||
int baudrate = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'BaudRate'")[0]["PARAMETER_VALUE"]);
|
int baudrate = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'BaudRate'")[0]["PARAMETER_VALUE"]);
|
||||||
int databits = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'DataBits'")[0]["PARAMETER_VALUE"]);
|
int databits = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'DataBits'")[0]["PARAMETER_VALUE"]);
|
||||||
StopBits stopbis = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'StopBits'")[0]["PARAMETER_VALUE"]) == 0 ? StopBits.None : (Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'StopBits'")[0]["PARAMETER_VALUE"]) == 1 ? StopBits.One : StopBits.Two);
|
StopBits stopbis = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'StopBits'")[0]["PARAMETER_VALUE"]) == 0 ? StopBits.None : (Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'StopBits'")[0]["PARAMETER_VALUE"]) == 1 ? StopBits.One : StopBits.Two);
|
||||||
Parity paritymsg = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ParityMsg'")[0]["PARAMETER_VALUE"]) == 0 ? Parity.None : (Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ParityMsg'")[0]["PARAMETER_VALUE"]) == 1 ? Parity.Odd : Parity.Even);
|
Parity paritymsg = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ParityMsg'")[0]["PARAMETER_VALUE"]) == 0 ? Parity.None : (Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ParityMsg'")[0]["PARAMETER_VALUE"]) == 1 ? Parity.Odd : Parity.Even);
|
||||||
int modbusPattern = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ModbusPattern'")[0]["PARAMETER_VALUE"]);
|
int modbusPattern = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ModbusPattern'")[0]["PARAMETER_VALUE"]);
|
||||||
#if USE_LOCAL_TCP_DEBUG
|
|
||||||
port = new System.Net.Sockets.TcpClient();
|
|
||||||
|
|
||||||
var adaptet = new NModbus.IO.TcpClientAdapter(port);
|
|
||||||
#else
|
|
||||||
port = new SerialPort(portname, baudrate, paritymsg, databits, stopbis);
|
port = new SerialPort(portname, baudrate, paritymsg, databits, stopbis);
|
||||||
var adaptet = new NModbus.Serial.SerialPortAdapter(port);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
var factory = new ModbusFactory();
|
|
||||||
if (modbusPattern == 0)
|
if (modbusPattern == 0)
|
||||||
{
|
{
|
||||||
|
master = ModbusSerialMaster.CreateRtu(port);
|
||||||
master = factory.CreateRtuMaster(adaptet);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
master = factory.CreateAsciiMaster(adaptet);
|
master = ModbusSerialMaster.CreateAscii(port);
|
||||||
}
|
}
|
||||||
#if USE_LOCAL_TCP_DEBUG
|
|
||||||
port.Connect("10.0.0.95", 5002);
|
|
||||||
this._isConn = true;
|
|
||||||
#else
|
|
||||||
|
|
||||||
port.Open();
|
port.Open();
|
||||||
#endif
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -136,15 +90,10 @@ namespace CleanMachineHMI
|
|||||||
isConn = false;
|
isConn = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public void ClosePlcConn()
|
public void ClosePlcConn()
|
||||||
{
|
{
|
||||||
#if USE_LOCAL_TCP_DEBUG
|
|
||||||
if (port.Connected)
|
|
||||||
#else
|
|
||||||
if (port.IsOpen)
|
if (port.IsOpen)
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
port.Close();
|
port.Close();
|
||||||
master = null;
|
master = null;
|
||||||
@@ -153,24 +102,22 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
public void RefreshPlcItem_M()
|
public void RefreshPlcItem_M()
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
bool[] readBytArr_M = master.ReadCoils(1, 2248, 50);
|
||||||
bool[] readBytArr_M = master.ReadCoils(slaveAddress, 2248, 50);
|
bool[] readBytArr_M1 = master.ReadCoils(1, 2048, 50);
|
||||||
bool[] readBytArr_M1 = master.ReadCoils(slaveAddress, 2048, 50);
|
|
||||||
if (readBytArr_M.Length > 0 && readBytArr_M1.Length > 0)
|
if (readBytArr_M.Length > 0 && readBytArr_M1.Length > 0)
|
||||||
{
|
{
|
||||||
if (GlobalHelper.PlcItemMd_M_List != null && GlobalHelper.PlcItemMd_M_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_M_List != null && GlobalHelper.PlcItemMd_M_List.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (PlcItem item in GlobalHelper.PlcItemMd_M_List)
|
foreach (BasPlcItemMd item in GlobalHelper.PlcItemMd_M_List)
|
||||||
{
|
{
|
||||||
if (Convert.ToInt32(item.PlcItemPriAddress) >= 200)
|
if (Convert.ToInt32(item.PlcItemPriAddress) >= 200)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||||
{
|
{
|
||||||
//string PlcItemId = item.PlcItemId.ToString();
|
string PlcItemId = item.PlcItemId.ToString();
|
||||||
// string plcdatatype = item.PlcItemDataType.ToString();
|
string plcdatatype = item.PlcItemDataType.ToString();
|
||||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||||
item.PlcItemValue = readBytArr_M[plcItemDeviationAddress].ToString();
|
item.PlcItemValue = readBytArr_M[plcItemDeviationAddress].ToString();
|
||||||
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
||||||
@@ -180,8 +127,8 @@ namespace CleanMachineHMI
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||||
{
|
{
|
||||||
//string PlcItemId = item.PlcItemId.ToString();
|
string PlcItemId = item.PlcItemId.ToString();
|
||||||
//string plcdatatype = item.PlcItemDataType.ToString();
|
string plcdatatype = item.PlcItemDataType.ToString();
|
||||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||||
item.PlcItemValue = readBytArr_M1[plcItemDeviationAddress].ToString();
|
item.PlcItemValue = readBytArr_M1[plcItemDeviationAddress].ToString();
|
||||||
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
||||||
@@ -190,33 +137,29 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"读取M 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"读取M 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
public void RefreshPlcItem_D()
|
public void RefreshPlcItem_D()
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
ushort[] tmpReadAlarmBytArr_D = master.ReadHoldingRegisters(1, 4106, 50);
|
||||||
ushort[] tmpReadAlarmBytArr_D = master.ReadHoldingRegisters(slaveAddress, 4106, 50);
|
ushort[] readBytArr_D = master.ReadHoldingRegisters(1, 4505, 50);
|
||||||
ushort[] readBytArr_D = master.ReadHoldingRegisters(slaveAddress, 4505, 50);
|
|
||||||
if (readBytArr_D.Length > 0 && tmpReadAlarmBytArr_D.Length > 0)
|
if (readBytArr_D.Length > 0 && tmpReadAlarmBytArr_D.Length > 0)
|
||||||
{
|
{
|
||||||
if (GlobalHelper.PlcItemMd_D_List != null && GlobalHelper.PlcItemMd_D_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_D_List != null && GlobalHelper.PlcItemMd_D_List.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (PlcItem item in GlobalHelper.PlcItemMd_D_List)
|
foreach (BasPlcItemMd item in GlobalHelper.PlcItemMd_D_List)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||||
{
|
{
|
||||||
|
|
||||||
string PlcItemId = item.PlcItemId.ToString();
|
string PlcItemId = item.PlcItemId.ToString();
|
||||||
// string plcdatatype = item.PlcItemDataType.ToString();
|
string plcdatatype = item.PlcItemDataType.ToString();
|
||||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||||
if (Convert.ToInt32(item.PlcItemPriAddress) < 409)
|
if (Convert.ToInt32(item.PlcItemPriAddress) < 409)
|
||||||
{
|
{
|
||||||
@@ -224,7 +167,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (item.PlcItemDataLength == 2)
|
if (item.PlcItemDataLen == 2)
|
||||||
{
|
{
|
||||||
ushort[] tmp_1 = new ushort[] { readBytArr_D[plcItemDeviationAddress], readBytArr_D[plcItemDeviationAddress + 1] };
|
ushort[] tmp_1 = new ushort[] { readBytArr_D[plcItemDeviationAddress], readBytArr_D[plcItemDeviationAddress + 1] };
|
||||||
|
|
||||||
@@ -255,22 +198,18 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
HandleWaringLog(tmpReadAlarmBytArr_D);
|
HandleWaringLog(tmpReadAlarmBytArr_D);
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"读取D 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"读取D 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//报警信息记录
|
//报警信息记录
|
||||||
private void HandleWaringLog(ushort[] tmpReadAlarmBytArr_D)
|
private void HandleWaringLog(ushort[] tmpReadAlarmBytArr_D)
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
int index = 10;
|
int index = 10;
|
||||||
string priStr = "D";
|
string priStr = "D";
|
||||||
string priWarnCode = "bit";
|
string priWarnCode = "bit";
|
||||||
@@ -286,7 +225,7 @@ namespace CleanMachineHMI
|
|||||||
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => x.PlcItemCode == $"{priStr + (index + i)}" && x.WarningCode == $"{priWarnCode + j}" && x.WarningType == "1");
|
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => x.PlcItemCode == $"{priStr + (index + i)}" && x.WarningCode == $"{priWarnCode + j}" && x.WarningType == "1");
|
||||||
if (tmpMd != null)
|
if (tmpMd != null)
|
||||||
{
|
{
|
||||||
WarningLog warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WaringStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == tmpMd.PlcItemCode);
|
CM_WarningLogMd warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WarningStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == tmpMd.PlcItemCode);
|
||||||
if (warnLogTmp != null)
|
if (warnLogTmp != null)
|
||||||
{//找到报警项,并增加版本
|
{//找到报警项,并增加版本
|
||||||
warnLogTmp.UpdateTime = DateTime.Now;
|
warnLogTmp.UpdateTime = DateTime.Now;
|
||||||
@@ -294,7 +233,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{//新报警增加记录
|
{//新报警增加记录
|
||||||
GlobalHelper.CmWarningLogMd_List.Add(new WarningLog
|
GlobalHelper.CmWarningLogMd_List.Add(new CM_WarningLogMd
|
||||||
{
|
{
|
||||||
WarningCode = tmpMd.WarningCode,
|
WarningCode = tmpMd.WarningCode,
|
||||||
WarningName = tmpMd.WarningName,
|
WarningName = tmpMd.WarningName,
|
||||||
@@ -302,7 +241,7 @@ namespace CleanMachineHMI
|
|||||||
WarningMessage = tmpMd.WarningMessage,
|
WarningMessage = tmpMd.WarningMessage,
|
||||||
WarningTime = DateTime.Now,
|
WarningTime = DateTime.Now,
|
||||||
PlcItemCode = tmpMd.PlcItemCode,
|
PlcItemCode = tmpMd.PlcItemCode,
|
||||||
WaringStatus = 0,
|
WarningStatus = 0,
|
||||||
WarningHandleResult = 0,
|
WarningHandleResult = 0,
|
||||||
CreateBy = 1,
|
CreateBy = 1,
|
||||||
CreateTime = DateTime.Now,
|
CreateTime = DateTime.Now,
|
||||||
@@ -366,12 +305,12 @@ namespace CleanMachineHMI
|
|||||||
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => x.PlcItemCode == $"{priStr + (index + i)}" && x.WarningCode == $"{priWarnCode + j}" && x.WarningType == "1");
|
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => x.PlcItemCode == $"{priStr + (index + i)}" && x.WarningCode == $"{priWarnCode + j}" && x.WarningType == "1");
|
||||||
if (tmpMd != null)
|
if (tmpMd != null)
|
||||||
{//之前有报警,则结束当前报警项
|
{//之前有报警,则结束当前报警项
|
||||||
WarningLog warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WaringStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == tmpMd.PlcItemCode);
|
CM_WarningLogMd warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WarningStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == tmpMd.PlcItemCode);
|
||||||
if (warnLogTmp != null)
|
if (warnLogTmp != null)
|
||||||
{
|
{
|
||||||
warnLogTmp.UpdateTime = DateTime.Now;
|
warnLogTmp.UpdateTime = DateTime.Now;
|
||||||
warnLogTmp.DataVersion += 1;
|
warnLogTmp.DataVersion += 1;
|
||||||
warnLogTmp.WaringStatus = 1;
|
warnLogTmp.WarningStatus = 1;
|
||||||
warnLogTmp.WarningHandleResult = 1;
|
warnLogTmp.WarningHandleResult = 1;
|
||||||
warnLogTmp.WarningHandleTime = DateTime.Now;
|
warnLogTmp.WarningHandleTime = DateTime.Now;
|
||||||
}
|
}
|
||||||
@@ -425,12 +364,12 @@ namespace CleanMachineHMI
|
|||||||
{//D13~D19报警
|
{//D13~D19报警
|
||||||
if (tmpReadAlarmBytArr_D[i] == 0)
|
if (tmpReadAlarmBytArr_D[i] == 0)
|
||||||
{
|
{
|
||||||
WarningLog warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WaringStatus == 0 && y.WarningHandleResult == 0 && y.PlcItemCode == $"{priStr + (index + i)}");
|
CM_WarningLogMd warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WarningStatus == 0 && y.WarningHandleResult == 0 && y.PlcItemCode == $"{priStr + (index + i)}");
|
||||||
if (warnLogTmp != null)
|
if (warnLogTmp != null)
|
||||||
{
|
{
|
||||||
warnLogTmp.UpdateTime = DateTime.Now;
|
warnLogTmp.UpdateTime = DateTime.Now;
|
||||||
warnLogTmp.DataVersion += 1;
|
warnLogTmp.DataVersion += 1;
|
||||||
warnLogTmp.WaringStatus = 1;
|
warnLogTmp.WarningStatus = 1;
|
||||||
warnLogTmp.WarningHandleResult = 1;
|
warnLogTmp.WarningHandleResult = 1;
|
||||||
warnLogTmp.WarningHandleTime = DateTime.Now;
|
warnLogTmp.WarningHandleTime = DateTime.Now;
|
||||||
}
|
}
|
||||||
@@ -457,7 +396,7 @@ namespace CleanMachineHMI
|
|||||||
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => string.IsNullOrEmpty(x.PlcItemCode) && x.WarningCode == tmpReadAlarmBytArr_D[i].ToString() && x.WarningType == "2");
|
Bas_WarningMd tmpMd = GlobalHelper.BasWarningMd_List.Find(x => string.IsNullOrEmpty(x.PlcItemCode) && x.WarningCode == tmpReadAlarmBytArr_D[i].ToString() && x.WarningType == "2");
|
||||||
if (tmpMd != null)
|
if (tmpMd != null)
|
||||||
{
|
{
|
||||||
WarningLog warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WaringStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == $"{priStr + (index + i)}");
|
CM_WarningLogMd warnLogTmp = GlobalHelper.CmWarningLogMd_List.Find(y => y.WarningStatus == 0 && y.WarningHandleResult == 0 && y.WarningCode == tmpMd.WarningCode && y.PlcItemCode == $"{priStr + (index + i)}");
|
||||||
if (warnLogTmp != null)
|
if (warnLogTmp != null)
|
||||||
{
|
{
|
||||||
warnLogTmp.UpdateTime = DateTime.Now;
|
warnLogTmp.UpdateTime = DateTime.Now;
|
||||||
@@ -465,7 +404,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GlobalHelper.CmWarningLogMd_List.Add(new WarningLog
|
GlobalHelper.CmWarningLogMd_List.Add(new CM_WarningLogMd
|
||||||
{
|
{
|
||||||
WarningCode = tmpMd.WarningCode,
|
WarningCode = tmpMd.WarningCode,
|
||||||
WarningName = tmpMd.WarningName,
|
WarningName = tmpMd.WarningName,
|
||||||
@@ -473,7 +412,7 @@ namespace CleanMachineHMI
|
|||||||
WarningMessage = tmpMd.WarningMessage,
|
WarningMessage = tmpMd.WarningMessage,
|
||||||
WarningTime = DateTime.Now,
|
WarningTime = DateTime.Now,
|
||||||
PlcItemCode = $"{priStr + (index + i)}",
|
PlcItemCode = $"{priStr + (index + i)}",
|
||||||
WaringStatus = 0,
|
WarningStatus = 0,
|
||||||
WarningHandleResult = 0,
|
WarningHandleResult = 0,
|
||||||
CreateBy = 1,
|
CreateBy = 1,
|
||||||
CreateTime = DateTime.Now,
|
CreateTime = DateTime.Now,
|
||||||
@@ -539,10 +478,10 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<WarningLog> tmpLst = GlobalHelper.CmWarningLogMd_List.FindAll(x => x.WarningHandleResult == 1 && x.WaringStatus == 1);
|
List<CM_WarningLogMd> tmpLst = GlobalHelper.CmWarningLogMd_List.FindAll(x => x.WarningHandleResult == 1 && x.WarningStatus == 1);
|
||||||
if (tmpLst.Count >= 10)
|
if (tmpLst.Count >= 10)
|
||||||
{
|
{
|
||||||
foreach (WarningLog item in tmpLst)
|
foreach (CM_WarningLogMd item in tmpLst)
|
||||||
{
|
{
|
||||||
string sql1 = $@"
|
string sql1 = $@"
|
||||||
INSERT INTO CM_WARNING_LOG (
|
INSERT INTO CM_WARNING_LOG (
|
||||||
@@ -568,7 +507,7 @@ namespace CleanMachineHMI
|
|||||||
'{item.WarningMessage}',
|
'{item.WarningMessage}',
|
||||||
'{item.WarningTime.ToString("yyyy-MM-dd HH:mm:ss")}',
|
'{item.WarningTime.ToString("yyyy-MM-dd HH:mm:ss")}',
|
||||||
'{item.PlcItemCode}',
|
'{item.PlcItemCode}',
|
||||||
'{item.WaringStatus}',
|
'{item.WarningStatus}',
|
||||||
'{item.WarningHandleResult}',
|
'{item.WarningHandleResult}',
|
||||||
'{item.WarningHandleTime.ToString("yyyy-MM-dd HH:mm:ss")}',
|
'{item.WarningHandleTime.ToString("yyyy-MM-dd HH:mm:ss")}',
|
||||||
'{item.CreateBy}',
|
'{item.CreateBy}',
|
||||||
@@ -580,10 +519,10 @@ namespace CleanMachineHMI
|
|||||||
";
|
";
|
||||||
LeadDbHelperSQLite.ExecuteSql(sql1);
|
LeadDbHelperSQLite.ExecuteSql(sql1);
|
||||||
}
|
}
|
||||||
GlobalHelper.CmWarningLogMd_List.RemoveAll(x => x.WarningHandleResult == 1 && x.WaringStatus == 1);
|
GlobalHelper.CmWarningLogMd_List.RemoveAll(x => x.WarningHandleResult == 1 && x.WarningStatus == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GlobalHelper.CmWarningLogMd_List.FindAll(x => x.WarningHandleResult == 0 && x.WaringStatus == 0).Count > 0)
|
if (GlobalHelper.CmWarningLogMd_List.FindAll(x => x.WarningHandleResult == 0 && x.WarningStatus == 0).Count > 0)
|
||||||
{
|
{
|
||||||
//frmMainNew.Show_ptb_Alarm(true);
|
//frmMainNew.Show_ptb_Alarm(true);
|
||||||
GlobalHelper.ShowMainFrmAlarmMsg(true, EventArgs.Empty);
|
GlobalHelper.ShowMainFrmAlarmMsg(true, EventArgs.Empty);
|
||||||
@@ -593,28 +532,24 @@ namespace CleanMachineHMI
|
|||||||
//frmMainNew.Show_ptb_Alarm(false);
|
//frmMainNew.Show_ptb_Alarm(false);
|
||||||
GlobalHelper.ShowMainFrmAlarmMsg(false, EventArgs.Empty);
|
GlobalHelper.ShowMainFrmAlarmMsg(false, EventArgs.Empty);
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"处理设备报警信息时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"处理设备报警信息时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshPlcItem_X()
|
public void RefreshPlcItem_X()
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
bool[] readBytArr_X = master.ReadInputs(1, 1024, 50);
|
||||||
bool[] readBytArr_X = master.ReadInputs(slaveAddress, 1024, 50);
|
|
||||||
if (readBytArr_X.Length > 0)
|
if (readBytArr_X.Length > 0)
|
||||||
//if(true)
|
//if(true)
|
||||||
{
|
{
|
||||||
if (GlobalHelper.PlcItemMd_X_List != null && GlobalHelper.PlcItemMd_X_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_X_List != null && GlobalHelper.PlcItemMd_X_List.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (PlcItem item in GlobalHelper.PlcItemMd_X_List)
|
foreach (BasPlcItemMd item in GlobalHelper.PlcItemMd_X_List)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||||
{
|
{
|
||||||
@@ -632,28 +567,24 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"读取X 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"读取X 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshPlcItem_Y()
|
public void RefreshPlcItem_Y()
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
bool[] readBytArr_Y = master.ReadCoils(1, 1280, 50);
|
||||||
bool[] readBytArr_Y = master.ReadCoils(slaveAddress, 1280, 50);
|
|
||||||
if (readBytArr_Y.Length > 0)
|
if (readBytArr_Y.Length > 0)
|
||||||
//if(true)
|
//if(true)
|
||||||
{
|
{
|
||||||
if (GlobalHelper.PlcItemMd_Y_List != null && GlobalHelper.PlcItemMd_Y_List.Count > 0)
|
if (GlobalHelper.PlcItemMd_Y_List != null && GlobalHelper.PlcItemMd_Y_List.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (PlcItem item in GlobalHelper.PlcItemMd_Y_List)
|
foreach (BasPlcItemMd item in GlobalHelper.PlcItemMd_Y_List)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||||
{
|
{
|
||||||
@@ -671,28 +602,22 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"读取Y 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"读取Y 类型PLC变量时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public object ReadPlcItem(string plcItemCode, PlcItemTypeDesc itemType)
|
public object ReadPlcItem(string plcItemCode, PlcItemTypeDesc itemType)
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
object retObj;
|
object retObj;
|
||||||
switch (itemType)
|
switch (itemType)
|
||||||
{
|
{
|
||||||
case PlcItemTypeDesc.M:
|
case PlcItemTypeDesc.M:
|
||||||
|
BasPlcItemMd item_M = GlobalHelper.PlcItemMd_M_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
PlcItem item_M = GlobalHelper.PlcItemMd_M_List.Find(x => x.PlcItemCode == plcItemCode);
|
|
||||||
if (item_M == null)
|
if (item_M == null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
@@ -707,7 +632,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PlcItemTypeDesc.D:
|
case PlcItemTypeDesc.D:
|
||||||
PlcItem item_D = GlobalHelper.PlcItemMd_D_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_D = GlobalHelper.PlcItemMd_D_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_D == null)
|
if (item_D == null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
@@ -722,7 +647,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PlcItemTypeDesc.X:
|
case PlcItemTypeDesc.X:
|
||||||
PlcItem item_X = GlobalHelper.PlcItemMd_X_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_X = GlobalHelper.PlcItemMd_X_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_X == null)
|
if (item_X == null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
@@ -737,7 +662,7 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PlcItemTypeDesc.Y:
|
case PlcItemTypeDesc.Y:
|
||||||
PlcItem item_Y = GlobalHelper.PlcItemMd_Y_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_Y = GlobalHelper.PlcItemMd_Y_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_Y == null)
|
if (item_Y == null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
@@ -756,7 +681,6 @@ namespace CleanMachineHMI
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return retObj;
|
return retObj;
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -764,67 +688,57 @@ namespace CleanMachineHMI
|
|||||||
LogHelper.WriteLog($"读取【{itemType.ToString()}】类型PLC变量【{plcItemCode}】时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"读取【{itemType.ToString()}】类型PLC变量【{plcItemCode}】时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool WritePlcItem(string plcItemCode, string writeValue, PlcItemTypeDesc itemType)
|
public bool WritePlcItem(string plcItemCode, string writeValue, PlcItemTypeDesc itemType)
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
switch (itemType)
|
switch (itemType)
|
||||||
{
|
{
|
||||||
case PlcItemTypeDesc.M:
|
case PlcItemTypeDesc.M:
|
||||||
PlcItem item_M = GlobalHelper.PlcItemMd_M_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_M = GlobalHelper.PlcItemMd_M_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_M == null)
|
if (item_M == null)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
master.WriteSingleCoil(slaveAddress, Convert.ToUInt16(item_M.PlcItemModbusAddress), bool.Parse(writeValue));
|
master.WriteSingleCoilAsync(1, Convert.ToUInt16(item_M.PlcItemModbusAddress), bool.Parse(writeValue));
|
||||||
return true;
|
return true;
|
||||||
case PlcItemTypeDesc.Y:
|
case PlcItemTypeDesc.Y:
|
||||||
PlcItem item_Y = GlobalHelper.PlcItemMd_Y_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_Y = GlobalHelper.PlcItemMd_Y_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_Y == null)
|
if (item_Y == null)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
master.WriteSingleCoil(slaveAddress, Convert.ToUInt16(item_Y.PlcItemModbusAddress), bool.Parse(writeValue));
|
master.WriteSingleCoilAsync(1, Convert.ToUInt16(item_Y.PlcItemModbusAddress), bool.Parse(writeValue));
|
||||||
return true;
|
return true;
|
||||||
case PlcItemTypeDesc.D:
|
case PlcItemTypeDesc.D:
|
||||||
PlcItem item_D = GlobalHelper.PlcItemMd_D_List.Find(x => x.PlcItemCode == plcItemCode);
|
BasPlcItemMd item_D = GlobalHelper.PlcItemMd_D_List.Find(x => x.PlcItemCode == plcItemCode);
|
||||||
if (item_D == null)
|
if (item_D == null)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
master.WriteSingleRegister(slaveAddress, Convert.ToUInt16(item_D.PlcItemModbusAddress), ushort.Parse(writeValue));
|
master.WriteSingleRegisterAsync(1, Convert.ToUInt16(item_D.PlcItemModbusAddress), ushort.Parse(writeValue));
|
||||||
return true;
|
return true;
|
||||||
case PlcItemTypeDesc.X:
|
case PlcItemTypeDesc.X:
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog($"写入【{itemType}】类型PLC变量【{plcItemCode}】的值【{writeValue}】时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
LogHelper.WriteLog($"写入【{itemType.ToString()}】类型PLC变量【{plcItemCode}】的值【{writeValue}】时发生异常:【{ex.Message}】", LogTypeEum.Err);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
private int wcsToPlcHeartDataNew = 0;
|
private int wcsToPlcHeartDataNew = 0;
|
||||||
private DateTime HeartbeatTime = new DateTime();
|
private DateTime HeartbeatTime = new DateTime();
|
||||||
private int ReConnNum = 1;
|
private int ReConnNum = 1;
|
||||||
/// <summary>
|
|
||||||
/// 心跳处理
|
|
||||||
/// </summary>
|
|
||||||
public void HeartbeatDetection()
|
public void HeartbeatDetection()
|
||||||
{
|
{
|
||||||
#if RELEASE
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
int wcsToPlcHeartData = Convert.ToInt32(ReadPlcItem("PlcHeartbeatWriteData", PlcItemTypeDesc.D) == null ? 0 : ReadPlcItem("PlcHeartbeatWriteData", PlcItemTypeDesc.D));
|
int wcsToPlcHeartData = Convert.ToInt32(ReadPlcItem("PlcHeartbeatWriteData", PlcItemTypeDesc.D) == null ? 0 : ReadPlcItem("PlcHeartbeatWriteData", PlcItemTypeDesc.D));
|
||||||
int plcToWcsHeartData = Convert.ToInt32(ReadPlcItem("PlcHeartbeatReadData", PlcItemTypeDesc.D) == null ? 0 : ReadPlcItem("PlcHeartbeatReadData", PlcItemTypeDesc.D));
|
int plcToWcsHeartData = Convert.ToInt32(ReadPlcItem("PlcHeartbeatReadData", PlcItemTypeDesc.D) == null ? 0 : ReadPlcItem("PlcHeartbeatReadData", PlcItemTypeDesc.D));
|
||||||
if (wcsToPlcHeartData == 0 && plcToWcsHeartData == 0)
|
if (wcsToPlcHeartData == 0 && plcToWcsHeartData == 0)
|
||||||
@@ -878,9 +792,6 @@ namespace CleanMachineHMI
|
|||||||
WritePlcItem("PlcHeartbeatWriteData", wcsToPlcHeartDataNew.ToString(), PlcItemTypeDesc.D);
|
WritePlcItem("PlcHeartbeatWriteData", wcsToPlcHeartDataNew.ToString(), PlcItemTypeDesc.D);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UseHeartbeat
|
|
||||||
|
|
||||||
|
|
||||||
if (DateTime.Now > HeartbeatTime.AddSeconds(5))//心跳超时
|
if (DateTime.Now > HeartbeatTime.AddSeconds(5))//心跳超时
|
||||||
{
|
{
|
||||||
isConn = false;
|
isConn = false;
|
||||||
@@ -893,15 +804,11 @@ namespace CleanMachineHMI
|
|||||||
}
|
}
|
||||||
ReConnNum++;
|
ReConnNum++;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#if RELEASE
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using Krypton.Navigator;
|
using ComponentFactory.Krypton.Navigator;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using NX_LogUtility;
|
using NX_LogUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
@@ -21,8 +19,6 @@ namespace CleanMachineHMI.Utils
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static class frmUtil
|
public static class frmUtil
|
||||||
{
|
{
|
||||||
public static List<ThemeLanguage> znCNLang = new List<ThemeLanguage>();
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 给一个字符串进行MD5加密
|
/// 给一个字符串进行MD5加密
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -120,25 +116,22 @@ namespace CleanMachineHMI.Utils
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 递归获取子控件
|
/// object 选择返回值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="control"></param>
|
/// <param name="obj"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static List<Control> GetAllControls(Control control)
|
public static string GetObjToString(this object obj)
|
||||||
{
|
{
|
||||||
var list = new List<Control>();
|
if (obj == null)
|
||||||
foreach (Control con in control.Controls)
|
|
||||||
{
|
{
|
||||||
list.Add(con);
|
return string.Empty;
|
||||||
if (con.Controls.Count > 0)
|
|
||||||
{
|
|
||||||
list.AddRange(GetAllControls(con));
|
|
||||||
}
|
}
|
||||||
|
if (obj.ToString() == "")
|
||||||
|
{
|
||||||
|
return string.Empty;
|
||||||
}
|
}
|
||||||
return list;
|
return obj.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -146,51 +139,56 @@ namespace CleanMachineHMI.Utils
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="form">窗体对象</param>
|
/// <param name="form">窗体对象</param>
|
||||||
/// <param name="languageCode">语言编码</param>
|
/// <param name="languageCode">语言编码</param>
|
||||||
public static void SetFormControlText(this Control form)
|
public static void SetFormControlText(this Form form,string languageCode)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var lstControls = GetAllControls(form);
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
lstControls.Add(form);
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
foreach (Control item in lstControls)
|
AND FORM_CODE='{form.Name}' AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE !='DataSource'";
|
||||||
{
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
var key = form.Name + "|" + item.Name;
|
ErgodicControlsText(form, dt);
|
||||||
if (!GlobalHelper.ThemeLanguage.ContainsKey(key))
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
AddzhCN(key, item.Text, "");
|
|
||||||
if (item is KryptonGroupBox)
|
|
||||||
{
|
|
||||||
((KryptonGroupBox)item).Values.Heading = GlobalHelper.ThemeLanguage[key];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
item.Text = GlobalHelper.ThemeLanguage[key];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public static void SetFormControlText(this UserControl form, string languageCode)
|
||||||
public static void SetSingleControlText(this Control form, Control control)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var key = form.Name + "|" + control.Name;
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
if (!GlobalHelper.ThemeLanguage.ContainsKey(key))
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
{
|
AND FORM_CODE='{form.Name}' AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE !='DataSource'";
|
||||||
control.Text = control.Name;
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
ErgodicControlsText(form, dt);
|
||||||
|
|
||||||
}
|
}
|
||||||
AddzhCN(key, control.Text, "");
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 设定数据视图列文本
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dataGrid"></param>
|
||||||
|
/// <param name="formName"></param>
|
||||||
|
/// <param name="languageCode"></param>
|
||||||
|
public static void SetDataViewColumnText(this DataGridView dataGrid ,string formName, string languageCode)
|
||||||
|
{
|
||||||
|
|
||||||
control.Text = GlobalHelper.ThemeLanguage[key];
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
|
AND FORM_CODE='{formName}' AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE ='DataSource'";
|
||||||
|
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
ErgodicColumnsText(dataGrid, dt);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -204,27 +202,119 @@ namespace CleanMachineHMI.Utils
|
|||||||
/// <param name="dataGrid"></param>
|
/// <param name="dataGrid"></param>
|
||||||
/// <param name="formName"></param>
|
/// <param name="formName"></param>
|
||||||
/// <param name="languageCode"></param>
|
/// <param name="languageCode"></param>
|
||||||
public static void SetDataViewColumnText(this DataGridView dataGrid, string formName)
|
public static DataTable GetInfoLanguageText(this Form form, string languageCode, string controlType = "Info")
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach (DataGridViewColumn item in dataGrid.Columns)
|
|
||||||
{
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
var key = formName + "|" + item.Name;
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
if (!GlobalHelper.ThemeLanguage.ContainsKey(key))
|
AND (FORM_CODE='{form.Name}' OR IFNULL(FORM_CODE,'')='') AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE = '{controlType}' ORDER BY LANGUAGE_CONTROL_ID";
|
||||||
{
|
return LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
continue;
|
|
||||||
}
|
|
||||||
AddzhCN(key, item.HeaderText, "");
|
|
||||||
item.HeaderText = GlobalHelper.ThemeLanguage[key];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static DataTable GetInfoLanguageText(this UserControl form, string languageCode, string controlType = "Info")
|
||||||
|
{
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
|
AND (FORM_CODE='{form.Name}' OR IFNULL(FORM_CODE,'')='') AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE = '{controlType}' ORDER BY LANGUAGE_CONTROL_ID";
|
||||||
|
return LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static DataTable GetInfoLanguageText_1(this Form form, string languageCode, string controlType = "Info")
|
||||||
|
{
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
|
AND (FORM_CODE='{form.Name}' OR IFNULL(FORM_CODE,'')='') AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE like '{controlType}' ORDER BY LANGUAGE_CONTROL_ID";
|
||||||
|
return LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static DataTable GetInfoLanguageText_1(this UserControl form, string languageCode, string controlType = "Info")
|
||||||
|
{
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var sql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL
|
||||||
|
WHERE USED_FLAG = 1 AND DEL_FLAG = 0
|
||||||
|
AND (FORM_CODE='{form.Name}' OR IFNULL(FORM_CODE,'')='') AND LANGUAGE_CODE='{languageCode}' AND CONTROL_TYPE like '{controlType}' ORDER BY LANGUAGE_CONTROL_ID";
|
||||||
|
return LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 获取等于查询行
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dataTable"></param>
|
||||||
|
/// <param name="key"></param>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static DataRow[] GetEqualSelectRow(this DataTable dataTable,string key,string value)
|
||||||
|
{
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var likeSql = $"`{key}` = '{value}'";
|
||||||
|
DataRow[] dataRow = dataTable.Select(likeSql);
|
||||||
|
return dataRow;
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取包含查询行
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dataTable"></param>
|
||||||
|
/// <param name="key"></param>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static DataRow[] GetContainSelectRow(this DataTable dataTable, string key, string value)
|
||||||
|
{
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
var likeSql = $"`{key}` like '%{value}%'";
|
||||||
|
DataRow[] dataRow = dataTable.Select(likeSql);
|
||||||
|
return dataRow;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取信息文本
|
/// 获取信息文本
|
||||||
@@ -232,19 +322,20 @@ namespace CleanMachineHMI.Utils
|
|||||||
/// <param name="dataTable"></param>
|
/// <param name="dataTable"></param>
|
||||||
/// <param name="key"></param>
|
/// <param name="key"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static string GetInfoText(this Control form, string defaultValue, string infoCode)
|
public static string GetInfoText(this DataTable dataTable,string defaultValue,string key)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var key = form.Name + "|" + infoCode;
|
var likeSql = $"`CONTROL_CODE` = '{key}' and `CONTROL_TYPE` = 'Info'";
|
||||||
if (!GlobalHelper.ThemeLanguage.ContainsKey(key))
|
DataRow[] dataRow = dataTable.Select(likeSql);
|
||||||
|
if (dataRow == null || !dataRow.Any())
|
||||||
{
|
{
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AddzhCN(key, defaultValue, "");
|
return dataRow[0]["CONTROL_NAME"].ToString();
|
||||||
return GlobalHelper.ThemeLanguage[key];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -253,28 +344,36 @@ namespace CleanMachineHMI.Utils
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public static string GetInfoText_1(this DataTable dataTable, string defaultValue, string key, string controlType)
|
||||||
public static List<string> GetComBoboxItemArr(this Control form, string controlCode)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var key = form.Name + "|" + controlCode;
|
var likeSql = $"`CONTROL_CODE` = '{key}' and `CONTROL_TYPE` = '{controlType}'";
|
||||||
if (!GlobalHelper.ThemeLanguage.ContainsKey(key))
|
DataRow[] dataRow = dataTable.Select(likeSql);
|
||||||
|
if (dataRow == null || !dataRow.Any())
|
||||||
{
|
{
|
||||||
return new List<string>();
|
return defaultValue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var control = (KryptonComboBox)form.Controls.Find(controlCode, true)[0];
|
return dataRow[0]["CONTROL_NAME"].ToString();
|
||||||
var str = "";
|
}
|
||||||
foreach (var item in control.Items)
|
}
|
||||||
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
str += $"{item},";
|
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
public static DataRow[] GetComBoboxItemArr(this DataTable dataTable, string key, string controlType)
|
||||||
|
{
|
||||||
|
|
||||||
AddzhCN(key, "", string.IsNullOrEmpty(str) ? GlobalHelper.ThemeLanguage[key] : str.TrimEnd(new char[] { ',' }));
|
try
|
||||||
return GlobalHelper.ThemeLanguage[key].Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
{
|
||||||
}
|
var likeSql = $"`CONTROL_CODE` = '{key}' and `CONTROL_TYPE` = '{controlType}'";
|
||||||
|
DataRow[] dataRow = dataTable.Select(likeSql);
|
||||||
|
return dataRow;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -283,106 +382,53 @@ namespace CleanMachineHMI.Utils
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 遍历控制界面
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="container"></param>
|
||||||
|
/// <param name="dataTable"></param>
|
||||||
|
private static void ErgodicControlsText(Control container,DataTable dataTable)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < dataTable.Rows.Count; i++)
|
||||||
|
{
|
||||||
|
Control[] tmpC = container.Controls.Find(dataTable.Rows[i]["CONTROL_CODE"].ToString(), true);
|
||||||
|
if (tmpC.Length>0)
|
||||||
|
{
|
||||||
|
if (tmpC[0] is KryptonGroupBox)
|
||||||
|
{
|
||||||
|
//Console.Write("模块名称"+ ((KryptonGroupBox)tmpC[0]).Values.Heading);
|
||||||
|
//Console.Write("\r\n");
|
||||||
|
((KryptonGroupBox)tmpC[0]).Values.Heading = dataTable.Rows[i]["CONTROL_NAME"].ToString();
|
||||||
|
|
||||||
public static void DB2Json()
|
continue;
|
||||||
{
|
}
|
||||||
var tmpThemeLanguage = new List<ThemeLanguage>();
|
|
||||||
var table = LeadDbHelperSQLite.Query("SELECT FORM_CODE,CONTROL_CODE,CONTROL_NAME FROM SYS_LANGUAGE_CONTROL WHERE FORM_CODE <> 'frmMain'").Tables[0];
|
//Console.Write("控件名称:"+ tmpC[0].Name+ ":控件中文名:" + tmpC[0].Text);
|
||||||
foreach (DataRow row in table.Rows)
|
//Console.Write("\r\n");
|
||||||
{
|
tmpC[0].Text = dataTable.Rows[i]["CONTROL_NAME"].ToString();
|
||||||
|
|
||||||
var part = tmpThemeLanguage.FirstOrDefault(x => x.formCode == row["FORM_CODE"].ToString() && x.controlCode == row["CONTROL_CODE"].ToString());
|
|
||||||
if (part == null)
|
|
||||||
{
|
|
||||||
tmpThemeLanguage.Add(new ThemeLanguage
|
|
||||||
{
|
|
||||||
formCode = row["FORM_CODE"].ToString(),
|
|
||||||
controlCode = row["CONTROL_CODE"].ToString(),
|
|
||||||
controlName = row["CONTROL_NAME"].ToString(),
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (part.options == null)
|
|
||||||
{
|
|
||||||
part.options = new List<string> { part.controlName, row["CONTROL_NAME"].ToString() };
|
|
||||||
part.controlName = null;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
part.options.Add(row["CONTROL_NAME"].ToString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var str1 = Newtonsoft.Json.JsonConvert.SerializeObject(tmpThemeLanguage);
|
|
||||||
WriteLangFile("en.json", str1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 写文本文件
|
/// 遍历数据视图控件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="fileName"></param>
|
/// <param name="dataGrid"></param>
|
||||||
/// <param name="txt"></param>
|
/// <param name="dataTable"></param>
|
||||||
private static void WriteLangFile(string fileName, string txt)
|
private static void ErgodicColumnsText(DataGridView dataGrid, DataTable dataTable)
|
||||||
{
|
{
|
||||||
// var fileDir = System.Windows.Forms.Application.StartupPath.Split(new string[] { @"bin\Debug" }, StringSplitOptions.RemoveEmptyEntries)[0] + "Lang\\";
|
for(int k = 0; k < dataGrid.Columns.Count; k++)
|
||||||
var fileDir = "Lang\\";
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
if (!Directory.Exists(fileDir))//如果文件夹不存在,就新建一个文件夹。
|
for (int i = 0; i < dataTable.Rows.Count; i++)
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(fileDir);
|
if (dataGrid.Columns[k].Name == dataTable.Rows[i]["CONTROL_CODE"].ToString())
|
||||||
}
|
|
||||||
File.WriteAllText(fileDir + fileName, txt);
|
|
||||||
}
|
|
||||||
catch (Exception)
|
|
||||||
{
|
{
|
||||||
|
dataGrid.Columns[k].HeaderText = dataTable.Rows[i]["CONTROL_NAME"].ToString();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void AddzhCN(string key, string name, string options)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(name) && string.IsNullOrEmpty(options))
|
|
||||||
{
|
|
||||||
Console.WriteLine(key + "空");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var codes = key.Split(new string[] { "|" }, StringSplitOptions.RemoveEmptyEntries);
|
|
||||||
|
|
||||||
if (znCNLang.Any(x => x.formCode == codes[0] && x.controlCode == codes[1]))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
znCNLang.Add(new ThemeLanguage
|
|
||||||
{
|
|
||||||
formCode = codes[0],
|
|
||||||
controlCode = codes[1],
|
|
||||||
controlName = string.IsNullOrEmpty(options) ? name : null,
|
|
||||||
options = string.IsNullOrEmpty(options) ? null : options.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList(),
|
|
||||||
});
|
|
||||||
var str1 = Newtonsoft.Json.JsonConvert.SerializeObject(znCNLang);
|
|
||||||
WriteLangFile("zh-CN.json", str1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ThemeLanguage
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 窗体编码
|
|
||||||
/// </summary>
|
|
||||||
public string formCode { get; set; }
|
|
||||||
/// <summary>
|
|
||||||
/// 控件编码
|
|
||||||
/// </summary>
|
|
||||||
public string controlCode { get; set; }
|
|
||||||
/// <summary>
|
|
||||||
/// 控件名称
|
|
||||||
/// </summary>
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
public string controlName { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
public List<string> options { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
CleanMachineHMI/desktop.ini
Normal file
4
CleanMachineHMI/desktop.ini
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[ViewState]
|
||||||
|
Mode=
|
||||||
|
Vid=
|
||||||
|
FolderType=Generic
|
||||||
72
CleanMachineHMI/forms/frmCleanMode.Designer.cs
generated
72
CleanMachineHMI/forms/frmCleanMode.Designer.cs
generated
@@ -28,25 +28,25 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_CleanModeCode = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_CleanModeCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_CleanModeName = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_CleanModeName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
||||||
this.kryptonGroupBox1.Panel.SuspendLayout();
|
this.kryptonGroupBox1.Panel.SuspendLayout();
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -295,7 +295,7 @@
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -334,24 +334,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_CleanModeName;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|||||||
@@ -28,27 +28,27 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ContaminationDtlMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ContaminationDtlMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_ContaminationType = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_ContaminationType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
|
||||||
this.kryptonGroupBox1.Panel.SuspendLayout();
|
this.kryptonGroupBox1.Panel.SuspendLayout();
|
||||||
@@ -282,7 +282,7 @@
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -303,7 +303,7 @@
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -365,26 +365,26 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,7 +11,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.forms
|
namespace CleanMachineHMI.forms
|
||||||
|
|||||||
@@ -28,27 +28,27 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
|
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.kbt_Add = new Krypton.Toolkit.KryptonButton();
|
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
|
||||||
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.ktb_ContaminationTypeMsg = new Krypton.Toolkit.KryptonTextBox();
|
this.ktb_ContaminationTypeMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
|
||||||
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
|
||||||
this.kcmb_CleanMode = new Krypton.Toolkit.KryptonComboBox();
|
this.kcmb_CleanMode = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
|
||||||
this.kryptonPanel3.SuspendLayout();
|
this.kryptonPanel3.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
//
|
//
|
||||||
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||||
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
this.kryptonGroupBox2.CaptionOverlap = 0D;
|
||||||
this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
|
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
|
||||||
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
|
||||||
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
this.kryptonGroupBox2.Name = "kryptonGroupBox2";
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||||
this.dataGridView.DataMember = "TestData";
|
this.dataGridView.DataMember = "TestData";
|
||||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
|
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dataGridView.MultiSelect = false;
|
this.dataGridView.MultiSelect = false;
|
||||||
this.dataGridView.Name = "dataGridView";
|
this.dataGridView.Name = "dataGridView";
|
||||||
@@ -365,26 +365,26 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
|
||||||
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
|
||||||
private Krypton.Toolkit.KryptonDataGridView dataGridView;
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Query;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Reset;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Add;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Edit;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit;
|
||||||
private Krypton.Toolkit.KryptonButton kbt_Delete;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
|
||||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||||
private Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg;
|
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
||||||
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
||||||
private Krypton.Toolkit.KryptonComboBox kcmb_CleanMode;
|
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_CleanMode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using CleanMachineHMI.Domain.Enums;
|
using CleanMachineHMI.Domain.Enums;
|
||||||
using CleanMachineHMI.frmChild;
|
using CleanMachineHMI.frmChild;
|
||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using LeadDataBaseUtility;
|
using LeadDataBaseUtility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,7 +11,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CleanMachineHMI.forms
|
namespace CleanMachineHMI.forms
|
||||||
|
|||||||
26
CleanMachineHMI/forms/frmDataSearch.Designer.cs
generated
26
CleanMachineHMI/forms/frmDataSearch.Designer.cs
generated
@@ -28,9 +28,9 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
|
||||||
this.btnWork = new Krypton.Toolkit.KryptonButton();
|
this.btnWork = new ComponentFactory.Krypton.Toolkit.KryptonButton();
|
||||||
this.navigatorMain = new Krypton.Navigator.KryptonNavigator();
|
this.navigatorMain = new ComponentFactory.Krypton.Navigator.KryptonNavigator();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
||||||
this.kryptonPanel1.SuspendLayout();
|
this.kryptonPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.navigatorMain)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.navigatorMain)).BeginInit();
|
||||||
@@ -59,16 +59,16 @@
|
|||||||
//
|
//
|
||||||
// navigatorMain
|
// navigatorMain
|
||||||
//
|
//
|
||||||
this.navigatorMain.Bar.ItemAlignment = Krypton.Toolkit.RelativePositionAlign.Center;
|
this.navigatorMain.Bar.ItemAlignment = ComponentFactory.Krypton.Toolkit.RelativePositionAlign.Center;
|
||||||
this.navigatorMain.Bar.ItemSizing = Krypton.Navigator.BarItemSizing.Individual;
|
this.navigatorMain.Bar.ItemSizing = ComponentFactory.Krypton.Navigator.BarItemSizing.Individual;
|
||||||
this.navigatorMain.Button.ButtonDisplayLogic = Krypton.Navigator.ButtonDisplayLogic.None;
|
this.navigatorMain.Button.ButtonDisplayLogic = ComponentFactory.Krypton.Navigator.ButtonDisplayLogic.None;
|
||||||
this.navigatorMain.Button.CloseButtonAction = Krypton.Navigator.CloseButtonAction.None;
|
this.navigatorMain.Button.CloseButtonAction = ComponentFactory.Krypton.Navigator.CloseButtonAction.None;
|
||||||
this.navigatorMain.Button.CloseButtonDisplay = Krypton.Navigator.ButtonDisplay.Hide;
|
this.navigatorMain.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide;
|
||||||
this.navigatorMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.navigatorMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.navigatorMain.Location = new System.Drawing.Point(321, 0);
|
this.navigatorMain.Location = new System.Drawing.Point(321, 0);
|
||||||
this.navigatorMain.Name = "navigatorMain";
|
this.navigatorMain.Name = "navigatorMain";
|
||||||
this.navigatorMain.NavigatorMode = Krypton.Navigator.NavigatorMode.Group;
|
this.navigatorMain.NavigatorMode = ComponentFactory.Krypton.Navigator.NavigatorMode.Group;
|
||||||
this.navigatorMain.PageBackStyle = Krypton.Toolkit.PaletteBackStyle.PanelClient;
|
this.navigatorMain.PageBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient;
|
||||||
this.navigatorMain.Size = new System.Drawing.Size(837, 715);
|
this.navigatorMain.Size = new System.Drawing.Size(837, 715);
|
||||||
this.navigatorMain.TabIndex = 6;
|
this.navigatorMain.TabIndex = 6;
|
||||||
this.navigatorMain.Text = "kryptonNavigator1";
|
this.navigatorMain.Text = "kryptonNavigator1";
|
||||||
@@ -93,8 +93,8 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||||||
private Krypton.Toolkit.KryptonButton btnWork;
|
private ComponentFactory.Krypton.Toolkit.KryptonButton btnWork;
|
||||||
public Krypton.Navigator.KryptonNavigator navigatorMain;
|
public ComponentFactory.Krypton.Navigator.KryptonNavigator navigatorMain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
using CleanMachineHMI.Utils;
|
using CleanMachineHMI.Utils;
|
||||||
using Krypton.Toolkit;
|
using ComponentFactory.Krypton.Toolkit;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user