32 lines
657 B
C#
32 lines
657 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WindowsFormsApp1.mod
|
|
{
|
|
public enum mesresult
|
|
{
|
|
PASS,
|
|
FAIL,
|
|
NONE
|
|
};
|
|
|
|
public enum plcstatus
|
|
{
|
|
运行 = (short)1,
|
|
停机 = (short)2,
|
|
保养 = (short)3,
|
|
MESReset = (short)4,
|
|
准备或休息 = (short)5,
|
|
欠载具 = (short)6,
|
|
欠物料 = (short)7,
|
|
其他机台计划停机 = (short)8,
|
|
其他机台非计划停机 = (short)9,
|
|
点检 = (short)10,
|
|
换料 = (short)11,
|
|
未知 = (short)0,
|
|
};
|
|
}
|