alielie
7 天以前 e57938fbda9bff702004038f76d009422968bff5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace DeviceService.Core.Api
{
    public interface IModbusDriver
    {
        bool Open(out string msg);
        bool Close(out string msg);
 
        bool ReadBytes(string address, int length, out byte[] data, out string msg);
        bool WriteBytes(string address, byte[] data, out string msg);
    }
}