TODO 上传结果参数给MES
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Model.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户权限
|
||||
/// </summary>
|
||||
public enum EnumAutority
|
||||
{
|
||||
/// <summary>
|
||||
/// 管理员
|
||||
/// </summary>
|
||||
[Description("管理员")]
|
||||
Administrator = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 工程师
|
||||
/// </summary>
|
||||
[Description("工程师")]
|
||||
Engineer = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 操作员
|
||||
/// </summary>
|
||||
[Description("操作员")]
|
||||
Operator = 3,
|
||||
|
||||
None = 4
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Model.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 结果类型
|
||||
/// </summary>
|
||||
public enum EnumResultType
|
||||
{
|
||||
/// <summary>
|
||||
/// 全部
|
||||
/// </summary>
|
||||
[Description("全部")]
|
||||
All = 0,
|
||||
|
||||
/// <summary>
|
||||
/// OK
|
||||
/// </summary>
|
||||
[Description("OK")]
|
||||
OK = 1,
|
||||
|
||||
/// <summary>
|
||||
/// NG
|
||||
/// </summary>
|
||||
[Description("NG")]
|
||||
NG = 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Model.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询类型
|
||||
/// </summary>
|
||||
public enum EnumSearchType
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询进站数据
|
||||
/// </summary>
|
||||
[Description("查询进站数据")]
|
||||
ArrivalStation = 0,
|
||||
|
||||
[Description("查询出站数据")]
|
||||
ExitStation = 1,
|
||||
|
||||
//[Description("查询结果数据")]
|
||||
//ProductResult = 2,
|
||||
|
||||
//None = 3,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Model.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 上传MES状态
|
||||
/// </summary>
|
||||
public enum EnumUpMesStatus
|
||||
{
|
||||
[Description("全部")]
|
||||
All,
|
||||
|
||||
[Description("自动上传")]
|
||||
Auto,
|
||||
|
||||
[Description("手动上传")]
|
||||
Manual,
|
||||
|
||||
[Description("未上传")]
|
||||
None
|
||||
}
|
||||
}
|
||||
@@ -82,6 +82,10 @@
|
||||
<Compile Include="DB.Entity\SystemConfig.cs" />
|
||||
<Compile Include="DB.Entity\FeedingData.cs" />
|
||||
<Compile Include="DB.Entity\TrayTestEntry.cs" />
|
||||
<Compile Include="Enums\EnumAutority.cs" />
|
||||
<Compile Include="Enums\EnumResultType.cs" />
|
||||
<Compile Include="Enums\EnumSearchType.cs" />
|
||||
<Compile Include="Enums\EnumUpMesStatus.cs" />
|
||||
<Compile Include="Excel\CollectItemCfg.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user