初始化上传

This commit is contained in:
2025-08-26 08:37:44 +08:00
commit 31d81b91b6
448 changed files with 80981 additions and 0 deletions

View File

@@ -0,0 +1,18 @@

using System;
namespace SharpModbus
{
public interface IModbusCommand
{
byte Code { get; }
byte Slave { get; }
ushort Address { get; }
int RequestLength { get; }
int ResponseLength { get; }
void FillRequest(byte[] request, int offset);
object ParseResponse(byte[] response, int offset);
object ApplyTo(IModbusModel model);
void FillResponse(byte[] response, int offset, object value);
}
}