1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Wayne.FDCPOSLibrary;
- namespace Edge.Core.IndustryStandardInterface.ATG
- {
- public enum AtgState
- {
- Idle,
- Offline,
-
-
-
- Inoperative_MissingConfig,
-
-
-
-
-
- TanksReloaded,
- }
- public enum TankState
- {
- Unknown,
- Idle,
- Delivering,
- }
- public class AtgStateChangeEventArg : EventArgs
- {
- public AtgStateChangeEventArg(AtgState state, string description)
- {
- this.State = state;
- this.Description = description;
- }
- public AtgStateChangeEventArg(Tank targetTank, AtgState state, string description)
- {
- this.TargetTank = targetTank;
- this.State = state;
- this.Description = description;
- }
- public AtgState State { get; }
- public Tank? TargetTank { get; }
- public string Description { get; }
- }
- }
|