Files
ASTM-D7896-19TransientHot-W…/appsettings.json

48 lines
1.5 KiB
JSON
Raw Normal View History

2026-04-18 19:00:34 +08:00
{
"PlcConnection": {
2026-05-15 20:39:11 +08:00
"IpAddress": "127.0.0.1",
2026-04-18 19:00:34 +08:00
"Port": 502,
2026-05-15 21:10:42 +08:00
"TimeoutMs": 5000,
"SlaveId": 1
2026-04-18 19:00:34 +08:00
},
"PlcRegisterAddresses": {
2026-05-15 21:10:42 +08:00
// 物理量寄存器(保持寄存器)
"Temperature": 1376, // 温度可能为0.1℃单位)
"Pressure": 1322, // 压力可能为0.1kPa单位)
"Resistance": 1422, // 铂丝电阻可能为0.001Ω单位)
// 设备计算结果寄存器浮点数占用2个寄存器
2026-04-18 19:00:34 +08:00
"ThermalConductivity": 40001,
"ThermalDiffusivity": 40003,
2026-05-15 21:10:42 +08:00
// 控制命令线圈0x线圈
"StartCommand": 40010, // 启动测试(保持寄存器,非线圈,需特殊处理)
"ResetCommand": 40011,
// 新增线圈地址Modbus 0x 地址,注意与保持寄存器区分)
"PressureCalibrationCoil": 1300, // M1300 压力校准
"ResistanceZeroCoil": 1301, // M1301 电阻归零
"InletValveCoil": 5, // M5 进气
"OutletValveCoil": 6 // M6 排气
2026-04-18 19:00:34 +08:00
},
"TestParameters": {
"MeasurementCount": 10,
"IntervalSeconds": 30,
"PlatinumWireLength": 0.04,
"PlatinumWireDiameter": 0.00006,
"ReportOutputPath": "Reports\\",
"DefaultSampleVolume": 40.0,
"DefaultPressure": 0.0,
"UsePressure": false,
"ReferenceLiquid": "蒸馏水",
2026-05-15 20:39:11 +08:00
"ReferenceConductivity": 0.606,
"CalibrationCoefficients": {
"PressureCoefficient": 1328,
"PressureProtection": 1332,
"TemperatureCoefficient": 1378,
"ResistanceCoefficient": 1428
}
2026-04-18 19:00:34 +08:00
},
"AppSettings": {
"WindowWidth": 1024,
"WindowHeight": 768,
"ThemeColor": "Blue"
}
}