You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

42 lines
1.1 KiB

namespace Mirle.Component.MPLC.Interfaces
{
/// <summary>
/// 控制器介面
/// </summary>
public interface IPLCHost
{
/// <summary>
/// 啟動自動重新連線
/// </summary>
bool EnableAutoReconnect { get; set; }
/// <summary>
/// 啟動寫入資料
/// </summary>
bool EnableWriteRawData { get; set; }
/// <summary>
/// 時間間隔
/// </summary>
int Interval { get; set; }
/// <summary>
/// 控制器逾時
/// </summary>
int MPLCTimeout { get; set; }
/// <summary>
/// 記錄檔資料夾
/// </summary>
string LogBaseDirectory { get; set; }
/// <summary>
/// 取得控制器資料提供介面
/// </summary>
/// <returns></returns>
IMPLCProvider GetMPLCProvider();
/// <summary>
/// 開始
/// </summary>
void Start();
/// <summary>
/// 暫停
/// </summary>
void Stop();
}
}