This commit is contained in:
luosheng
2023-05-17 11:25:38 +08:00
parent 0918724225
commit d65b6537b9

View File

@@ -113,7 +113,7 @@ namespace Modbus.Net.OPC
return new OpcParamOut
{
Success = true,
Value = BigEndianValueHelper.Instance.GetBytes(result, result.GetType())
Value = BigEndianValueHelper.Instance.GetBytes(result.Value, result.Value.GetType())
};
}
return new OpcParamOut