1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- using System.Collections.Generic;
- namespace Aitex.RT.FactoryAutomation
- {
- public interface IFaHost
- {
- /// <summary>
- /// Disabled = 0,
- /// Enabled = 1,
- /// EnabledNotCommunicating = 2,
- /// EnabledCommunicating = 3,
- /// WaitCRA = 4,
- /// WaitDelay = 5,
- /// WaitCRFromHost = 6,
- /// </summary>
- /// <returns></returns>
- string FaCommunicationState { get; }
- /// <summary>
- /// Unknown = 0,
- /// EquipmentOffline = 1,
- /// AttemptOnline = 2,
- /// HostOffline = 3,
- /// OnlineLocal = 4,
- /// OnlineRemote = 5,
- /// </summary>
- /// <returns></returns>
- string FaControlState { get; }
- string FaControlSubState { get; }
- /// <summary>
- /// 是否连接上Host
- /// </summary>
- bool IsConnected { get; }
- int SpoolingState { get; }
- string SpoolingActual { get; }
- string SpoolingTotal { get; }
- string SpoolingFullTime { get; }
- string SpoolingStartTime { get; }
- bool IsSpoolingEnable { get; }
- void Initialize(IHostCallback equipment, string modelFile);
- void Terminate();
- void Enable();
- void Disable();
- void SetLocalControl();
- void SetRemoteControl();
- //void Invoke(string method, object[] args);
- /// <summary>
- ///
- /// </summary>
- /// <param name="eventName"></param>
- void NotifyEvent(string eventName, Dictionary<string,string> dvid);
- /// <summary>
- ///
- /// </summary>
- /// <param name="alarmName"></param>
- /// <param name="dvid"></param>
- void NotifyAlarm(string alarmName, Dictionary<string, string> dvid, string text);
- }
- }
|