Files
ASTM-D7896-19TransientHot-W…/appsettings.json
2026-05-27 19:06:19 +08:00

48 lines
1.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"PlcConnection": {
"IpAddress": "192.168.1.10",
"Port": 502,
"TimeoutMs": 5000,
"SlaveId": 1
},
"PlcRegisterAddresses": {
// 物理量寄存器(保持寄存器)
"Temperature": 1376, // 温度可能为0.1℃单位)
"Pressure": 1322, // 压力可能为0.1kPa单位)
"Resistance": 1422, // 铂丝电阻可能为0.001Ω单位)
// 设备计算结果寄存器浮点数占用2个寄存器
"ThermalConductivity": 40001,
"ThermalDiffusivity": 40003,
// 控制命令线圈0x线圈
"StartCommand": 4, // 启动测试(保持寄存器,非线圈,需特殊处理)
"ResetCommand": 4,
// 新增线圈地址Modbus 0x 地址,注意与保持寄存器区分)
"PressureCalibrationCoil": 1300, // M1300 压力校准
"ResistanceZeroCoil": 1301, // M1301 电阻归零
"InletValveCoil": 5, // M5 进气
"OutletValveCoil": 6 // M6 排气
},
"TestParameters": {
"MeasurementCount": 10,
"IntervalSeconds": 30,
"PlatinumWireLength": 0.056, //铂丝长度(单位:米)
"PlatinumWireDiameter": 0.00006,
"ReportOutputPath": "Reports\\",
"DefaultSampleVolume": 40.0,
"DefaultPressure": 0.0,
"UsePressure": false,
"ReferenceLiquid": "蒸馏水",
"ReferenceConductivity": 0.606,
"CalibrationCoefficients": {
"PressureCoefficient": 1328,
"PressureProtection": 1332,
"TemperatureCoefficient": 1378,
"ResistanceCoefficient": 1428
}
},
"AppSettings": {
"WindowWidth": 1024,
"WindowHeight": 768,
"ThemeColor": "Blue"
}
}