add camera driver layer

This commit is contained in:
2025-12-26 14:54:32 +08:00
parent c6be81d1dd
commit d7ef283b9d
11 changed files with 324 additions and 469 deletions

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace LibComm
{
public delegate void OnDataReceived(byte[] data);
public delegate void OnDataReceived(float data);
public delegate void OnConnectStatus(bool connected);
public delegate void OnTrigCamera(int index);
public delegate void OnCameraStatus(int index, bool enable);
@@ -18,6 +18,7 @@ namespace LibComm
event OnCameraStatus OnCameraStatus;
void Start();
void Stop();
void NoticeCamComplete(int index, byte[] datax);
void NoticeCamComplete(int index, float data);
void NoticeCamComplete(int index, List<float> data);
}
}