You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
849 B
50 lines
849 B
using EasyModbus;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CommClient.Client
|
|
{
|
|
class ModbusMaster : ICommClient
|
|
{
|
|
private ModbusClient client;
|
|
private int UINIT_IDENTIFIER = 1;
|
|
|
|
public ModbusMaster()
|
|
{
|
|
client = new ModbusClient();
|
|
}
|
|
|
|
public void Connect()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void Disconnect()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public bool GetStatus()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public string ReadValue(string name)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void SetServer(string ip, int port)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void WriteValue(string name, string value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|