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.

25 lines
546 B

8 months ago
  1. namespace Mirle.Component.MPLC.Interfaces
  2. {
  3. /// <summary>
  4. /// MIRLE PLC 連線介面
  5. /// </summary>
  6. public interface IConnectable
  7. {
  8. /// <summary>
  9. /// 關閉連線
  10. /// </summary>
  11. void Close();
  12. /// <summary>
  13. /// 開啟連線
  14. /// </summary>
  15. bool Connect();
  16. /// <summary>
  17. /// 重新連線
  18. /// </summary>
  19. bool ReConnect();
  20. /// <summary>
  21. /// 測試連線
  22. /// </summary>
  23. bool TestConnection();
  24. }
  25. }