25 lines
545 B
C#
25 lines
545 B
C#
using Common.Attributes;
|
|
using DeviceCommand.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DeviceCommand.Device
|
|
{
|
|
[BOBCommand]
|
|
public class ZXKS:ModbusTcp
|
|
{
|
|
public ZXKS(string IpAddress, int port, int SendTimeout, int ReceiveTimeout)
|
|
{
|
|
ConfigureDevice(IpAddress, port, SendTimeout, ReceiveTimeout);
|
|
ConnectAsync();
|
|
}
|
|
public ZXKS()
|
|
{
|
|
ConnectAsync();
|
|
}
|
|
}
|
|
}
|