..
This commit is contained in:
@@ -14,6 +14,36 @@ using System.Windows.Forms;
|
||||
|
||||
namespace Project.Device
|
||||
{
|
||||
public enum eDocStep : byte
|
||||
{
|
||||
NotSet = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 투입준비됨
|
||||
/// </summary>
|
||||
InReady = 10,
|
||||
|
||||
/// <summary>
|
||||
/// 투입완료
|
||||
/// </summary>
|
||||
InComplete = 11,
|
||||
|
||||
/// <summary>
|
||||
/// 투입(진행중)
|
||||
/// </summary>
|
||||
InIng = 12,
|
||||
|
||||
/// <summary>
|
||||
/// 진출완료
|
||||
/// </summary>
|
||||
OutComplete = 21,
|
||||
|
||||
/// <summary>
|
||||
/// 진출중
|
||||
/// </summary>
|
||||
OutIng = 22,
|
||||
}
|
||||
|
||||
public class Xbee : SerialPort, arDev.ISerialComm
|
||||
{
|
||||
public string buffer = string.Empty;
|
||||
@@ -166,17 +196,10 @@ namespace Project.Device
|
||||
Send(packet);
|
||||
}
|
||||
|
||||
public bool BufferInReady { get; set; }
|
||||
public bool BufferInComplete { get; set; }
|
||||
public bool BufferOutComplete { get; set; }
|
||||
public bool BufferReadyError { get; set; }
|
||||
|
||||
public bool LoaderInComplete { get; set; }
|
||||
public bool LoaderOutComplete { get; set; }
|
||||
public bool UnloaderInComplete { get; set; }
|
||||
public bool UnloaderOutComplete { get; set; }
|
||||
public bool CleanerInComplete { get; set; }
|
||||
public bool CleanerOutComplete { get; set; }
|
||||
public eDocStep StepBuffer { get; set; } = eDocStep.NotSet;
|
||||
public eDocStep StepUnloader { get; set; } = eDocStep.NotSet;
|
||||
public eDocStep StepLoader { get; set; } = eDocStep.NotSet;
|
||||
public eDocStep StepCleaner { get; set; } = eDocStep.NotSet;
|
||||
|
||||
ManualResetEvent sendlock = new ManualResetEvent(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user