添加项目文件。
This commit is contained in:
11
Services/IPlcCommunicationService.cs
Normal file
11
Services/IPlcCommunicationService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace ASTM_D7896_Tester.Services;
|
||||
|
||||
public interface IPlcCommunicationService
|
||||
{
|
||||
Task<bool> ConnectAsync();
|
||||
Task DisconnectAsync();
|
||||
Task<bool> IsConnectedAsync();
|
||||
Task<float> ReadFloatAsync(int address);
|
||||
Task WriteSingleCoilAsync(int address, bool value);
|
||||
Task WriteSingleRegisterAsync(int address, short value);
|
||||
}
|
||||
Reference in New Issue
Block a user