add libcomm for plc layer
This commit is contained in:
22
LibComm/ICommPLC.cs
Normal file
22
LibComm/ICommPLC.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibComm
|
||||
{
|
||||
public delegate void OnDataReceived(byte[] data);
|
||||
public delegate void OnConnectStatus(bool connected);
|
||||
public delegate void OnTrigCamera(int index);
|
||||
public delegate void OnCameraStatus(int index, bool enable);
|
||||
public interface ICommPLC
|
||||
{
|
||||
event OnDataReceived OnDataReceived;
|
||||
event OnConnectStatus OnConnectStatus;
|
||||
event OnTrigCamera OnTrigCamera;
|
||||
void Initialize();
|
||||
void Stop();
|
||||
void NoticeCamComplete(int index, byte[] datax);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user