{ "Devices": { "MockMode": false, "Sspc": { "UseMock": false, "AutoConnect": true, "PortName": "COM1", "BaudRate": 9600, "DataBits": 8, "Parity": "None", "StopBits": "One", "ReadTimeoutMs": 500, "Retry": 2, "DeviceProfilePath": "Config/device-profile.json", "CloseAllRelaysOnDisconnect": false, "LogRawFrames": true, "ModuleAddresses": [ 1, 2, 3 ], "ChannelsPerModule": 8 }, "PowerSupply": { "UseMock": false, "AutoConnect": true, "PortName": "COM2", "BaudRate": 9600, "Host": "192.168.6.5", "Port": 5025, "TimeoutSeconds": 2, "RequirePingBeforeConnect": true, "Terminator": "\n", "IdnCommand": "*IDN?", "VoltageCommand": "MEASure:VOLTage?", "CurrentCommand": "MEASure:CURRent?", "SetVoltageCommand": "VOLT {0}", "SetCurrentLimitCommand": "CURR {0}", "OutputStateCommand": "OUTP?", "ErrorCommand": "SYST:ERR?" }, "Load": { "UseMock": false, "AutoConnect": true, "PortName": "COM3", "BaudRate": 9600, "Host": "192.168.200.100", "Port": 30000, "TimeoutSeconds": 3, "Terminator": "\n", "Channel": 1, "UseFetch": true, "QueryMode": "Combined", "SetModeCommand": "", "SetValueCommand": "{0} {1}", "ResetCommand": "*RST", "InputStateCommand": "INP?", "ErrorCommand": "SYST:ERR?" }, "Daq": { "UseMock": false, "AutoConnect": true, "LogicalDeviceId": 0, "ChannelCount": 1, "InputRange": "PlusMinus5V", "ClockDivider": 1000, "PreTriggerMs": 3, "PostTriggerMs": 100, "Channels": [ { "PhysicalChannel": 0, "Role": "OutputVoltage", "Name": "输出电压", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": true }, { "PhysicalChannel": 1, "Role": "Unconfigured", "Name": "CH1", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 2, "Role": "Unconfigured", "Name": "CH2", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 3, "Role": "Unconfigured", "Name": "CH3", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 4, "Role": "Unconfigured", "Name": "CH4", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 5, "Role": "Unconfigured", "Name": "CH5", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 6, "Role": "Unconfigured", "Name": "CH6", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false }, { "PhysicalChannel": 7, "Role": "Unconfigured", "Name": "CH7", "Scale": 1.0, "Offset": 0.0, "IsCalibrated": false } ] }, "Pci2312": { "Enabled": true, "UseMock": false, "AutoConnect": true, "DeviceId": 0, "EmergencyInputChannel": 0, "EmergencyInputActiveHigh": true, "AlarmOutputChannel": 0, "AlarmOutputActiveHigh": true, "PollIntervalMs": 100 } }, "Storage": { "ProjectsRoot": "%LOCALAPPDATA%\\SSPCTester\\Projects" }, "Report": { "SavePath": "%LOCALAPPDATA%\\SSPCTester\\Reports", "Format": "Pdf" }, "Serilog": { "MinimumLevel": { "Default": "Information" }, "WriteTo": [ { "Name": "Debug" }, { "Name": "File", "Args": { "path": "%LOCALAPPDATA%\\SSPCTester\\Logs\\app-.log", "rollingInterval": "Day", "retainedFileCountLimit": 7 } } ] } }