add
zongzhibin
2024-11-24 59575fe77af455478e81dff65e2e5e6979fdf7f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace iWareSda
{
    public interface IDevice
    {
        /// <summary>
        /// 读PLC的属性写值
        /// </summary>
        void SetPropertyValueForRead();
 
        /// <summary>
        /// 写PLC的属性写值
        /// </summary>
        void SetPropertyValueForWrite();
 
        ///// <summary>
        ///// 检查是否连通
        ///// </summary>
        ///// <returns></returns>
        //bool CheckConnection();
 
        ///// <summary>
        ///// 检查是否在线
        ///// </summary>
        ///// <returns></returns>
        //bool CheckIsOnline();
 
        /// <summary>
        /// 是否有心跳
        /// </summary>
        /// <returns></returns>
        bool IsHaveHeatBeat();
 
 
    }
}