schangxiang@126.com
2025-09-17 ff43ddf18764629ff875478e4e47a7281cbd230a
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();
 
 
    }
}