DeviceServerStartSerialSlave 方法 (ActionSerialPort) |
启动串口的从机服务,使用自定义的初始化方法初始化串口的参数
Start the slave service of serial and initialize the parameters of the serial port using a custom initialization method
命名空间:
HslCommunication.Core.Device
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法public OperateResult StartSerialSlave(
Action<SerialPort> inni
)
Public Function StartSerialSlave (
inni As Action(Of SerialPort)
) As OperateResult
public:
OperateResult^ StartSerialSlave(
Action<SerialPort^>^ inni
)
member StartSerialSlave :
inni : Action<SerialPort> -> OperateResult
参数
- inni
- 类型:SystemActionSerialPort
初始化信息的委托
返回值
类型:
OperateResult[缺少 "M:HslCommunication.Core.Device.DeviceServer.StartSerialSlave(System.Action{System.IO.Ports.SerialPort})" 的 <returns> 文档]
参见