using Bro.Common.Helper;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Bro.Common.Helper.EnumHelper;
namespace Bro.Common.Interface
{
public interface IStationProcess
{
//IStationProcess GetInstance();
#region 属性
//string StationCode { get; set; }
IStationConfig StationConfig { get; set; }
//SchneiderPLC_ModbusTcp_Driver PLC { get; set; }
//SchneiderRFIDDriver RFID { get; set; }
//HikCameraDriver Camera_Lookup { get; set; }
//HikCameraDriver Camera_Lookdown { get; set; }
#endregion
#region 方法
///
/// 打开
///
void Open();
void Pause();
void Resume();
///
/// 关闭
///
void Close();
///
/// 初始化Process
///
void InitialStationProcess();
///
/// 整理类中所有ProcessMethod特性修饰
///
///
List CollectProcessMethods();
void InitialProcessMethods();
#endregion
#region 事件
///
/// 图像输出事件
///
Action OnBitmapOutput { get; set; }
///
/// 对象输出事件
///
Action OnObjectOutput { get; set; }
///
/// 异常抛出事件
///
Action OnExceptionOccured { get; set; }
Action OnProcessStateChanged { get; set; }
#endregion
#region 数据库操作
void SaveStationConfig(IStationConfig config);
#endregion
#region Test
//void CSVOutput(int positionIndex, string data, string head, string fileName);
//void AddScrewPointSpec();
#endregion
}
}