项目逻辑添加

This commit is contained in:
2026-05-15 11:13:06 +08:00
parent 0b68413bf9
commit a050c307a8
5 changed files with 25 additions and 25 deletions

View File

@@ -6,6 +6,7 @@ namespace TabletTester2025.Services
{
Task ConnectAsync();
Task<float> ReadFloatAsync(ushort startAddress);
Task<int> ReadIntAsync(ushort startAddress);
Task WriteCoilAsync(ushort coilAddress, bool value);
Task<bool> ReadCoilAsync(ushort coilAddress);
Task WriteRegisterAsync(ushort registerAddress, ushort value);