示例#1
0
        public override Result WriteOneRegister(string address, short value)
        {
            var op = modbus.WriteOneRegister(address, value);

            return(new Result {
                IsSuccess = op.IsSuccess, Msg = op.Message
            });
        }