| 文件名从 代码管理/WCS/WCSServers/WIDESEAWCS_Tasks/SocketServer/TcpSocketServer.cs 修改 |
| | |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | using WIDESEAWCS_QuartzJob; |
| | | using WIDESEAWCS_Tasks.StackerCraneJob; |
| | | |
| | | namespace WIDESEAWCS_Tasks.SocketServer |
| | | { |
| | |
| | | |
| | | public bool IsRunning { get; private set; } |
| | | |
| | | public event Func<string, bool, TcpClient, StackerSocketState, Task<string?>>? MessageReceived; |
| | | public event Func<string, bool, TcpClient, StackerSocketState_BTI, Task<string?>>? MessageReceivedBTI; |
| | | |
| | | public event Func<string, Task<string?>>? RobotReceived; |
| | | public event Func<string, bool, TcpClient, StackerSocketState_CP01, Task<string?>>? MessageReceivedCP01; |
| | | |
| | | public event Func<string, bool, TcpClient, StackerSocketState_CP02, Task<string?>>? MessageReceivedCP02; |
| | | |
| | | public event Func<string, Task<string?>>? StackerReceivedBTI; |
| | | public event Func<string, Task<string?>>? StackerReceivedCP01; |
| | | public event Func<string, Task<string?>>? StackerReceivedCP02; |
| | | |
| | | private void Log(string message) |
| | | { |