using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace iWareSda { public interface IDevice { /// /// 读PLC的属性写值 /// void SetPropertyValueForRead(); /// /// 写PLC的属性写值 /// void SetPropertyValueForWrite(); ///// ///// 检查是否连通 ///// ///// //bool CheckConnection(); ///// ///// 检查是否在线 ///// ///// //bool CheckIsOnline(); /// /// 是否有心跳 /// /// bool IsHaveHeatBeat(); } }