优化配置文件格式
This commit is contained in:
parent
384c882d4d
commit
cb0f9611d2
@ -23,7 +23,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -495,10 +495,10 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>99.900000000000006</double>
|
<double>100.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_5">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_5">
|
||||||
@ -521,7 +521,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_5">
|
<widget class="QComboBox" name="comboBox_5">
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,72 +0,0 @@
|
|||||||
{
|
|
||||||
"channel":1,
|
|
||||||
"slot":1,
|
|
||||||
"channel_name":"通道1",
|
|
||||||
"standby":true,
|
|
||||||
"active":true,
|
|
||||||
"rack_type":"TMR",
|
|
||||||
"tmr_group":"1-3",
|
|
||||||
"channel_type":"acceleration",
|
|
||||||
"transducer_name":"3300-8mm Proximitor",
|
|
||||||
"scale_factor":100.0,
|
|
||||||
"sample_rate":32000,
|
|
||||||
"normal_voltage_range": [-21.3, 21.0],
|
|
||||||
"filter":[
|
|
||||||
{
|
|
||||||
"type":"high_pass",
|
|
||||||
"low":5,
|
|
||||||
"high":1000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"low_pass",
|
|
||||||
"low":5,
|
|
||||||
"high":1000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"band_pass",
|
|
||||||
"low":5,
|
|
||||||
"high":1000
|
|
||||||
}
|
|
||||||
]
|
|
||||||
"rms_active":true,
|
|
||||||
"integrate_active":true,
|
|
||||||
"variables":[
|
|
||||||
{
|
|
||||||
"type":"direct",
|
|
||||||
"full_sacle_range":"0-20",
|
|
||||||
"clamp_value":1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"bias_volt",
|
|
||||||
"full_sacle_range":"0-20",
|
|
||||||
"clamp_value":1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"1x_ampl",
|
|
||||||
"full_sacle_range":"0-2",
|
|
||||||
"clamp_value":1.25,
|
|
||||||
"phase_lag":180,
|
|
||||||
"checked":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"2x_ampl",
|
|
||||||
"full_sacle_range":"0-2",
|
|
||||||
"clamp_value":1.25,
|
|
||||||
"phase_lag":180,
|
|
||||||
"checked":true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
"delay":{
|
|
||||||
"alert":30,
|
|
||||||
"danger":30.0,
|
|
||||||
"100ms":true
|
|
||||||
}
|
|
||||||
"alert_latching":true,
|
|
||||||
"danger_latching":true,
|
|
||||||
"timed_ok":true,
|
|
||||||
"recorder_output":"direct",
|
|
||||||
"two_ma_clamp":true,
|
|
||||||
"trip_mutiply":1.00,
|
|
||||||
"comparision":"direct",
|
|
||||||
"comparision_percentage":5,
|
|
||||||
}
|
|
@ -1,39 +1,39 @@
|
|||||||
{
|
{
|
||||||
"slot":1,
|
"slot":1,
|
||||||
"id":1,
|
"id":1,
|
||||||
"rack_type":"TMR",
|
"rms_active":true,
|
||||||
"active":true,
|
"integrate_active":true,
|
||||||
"variables":[
|
"variables":[
|
||||||
{
|
{
|
||||||
"type":"direct",
|
"type":"direct",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 m/s^2 pk",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"bias_volt",
|
"type":"bias_volt",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 m/s^2 pk",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"1x_ampl",
|
"type":"1x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 m/s^2 pk",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"2x_ampl",
|
"type":"2x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 m/s^2 pk",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
"delay":{
|
"delay":{
|
||||||
"alert":30,
|
"alert":30,
|
||||||
"danger":30.0,
|
"danger":30.0,
|
||||||
"100ms":true
|
"100ms":true
|
||||||
}
|
},
|
||||||
"alert_latching":true,
|
"alert_latching":true,
|
||||||
"danger_latching":true,
|
"danger_latching":true,
|
||||||
"timed_ok":true,
|
"timed_ok":true,
|
||||||
|
@ -1,23 +1,24 @@
|
|||||||
{
|
{
|
||||||
"slot":1,
|
"slot":1,
|
||||||
"id":1,
|
"id":1,
|
||||||
"rack_type":"TMR",
|
|
||||||
"active":true,
|
|
||||||
"filter":[
|
"filter":[
|
||||||
{
|
{
|
||||||
"type":"high_pass",
|
"type":"high_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"low_pass",
|
"type":"low_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"band_pass",
|
"type":"band_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,52 +1,52 @@
|
|||||||
{
|
{
|
||||||
"slot":1,
|
"slot":1,
|
||||||
"id":1,
|
"id":1,
|
||||||
"rack_type":"TMR",
|
"rms_active":true,
|
||||||
"active":true,
|
"integrate_active":true,
|
||||||
"variables":[
|
"variables":[
|
||||||
{
|
{
|
||||||
"type":"direct",
|
"type":"direct",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 um pp",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"bias_volt",
|
"type":"bias_volt",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 um pp",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"1x_ampl",
|
"type":"1x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 um pp",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"2x_ampl",
|
"type":"2x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 um pp",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"not_1x_ampl",
|
"type":"not_1x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 um pp",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"checked":true
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"smax_ampl",
|
"type":"smax_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 um",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"checked":true
|
"checked":true
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
],
|
||||||
"delay":{
|
"delay":{
|
||||||
"alert":30,
|
"alert":30,
|
||||||
"danger":30.0,
|
"danger":30.0,
|
||||||
"100ms":true
|
"100ms":true
|
||||||
}
|
},
|
||||||
"alert_latching":true,
|
"alert_latching":true,
|
||||||
"danger_latching":true,
|
"danger_latching":true,
|
||||||
"not_ok_latching":true,
|
"not_ok_latching":true,
|
||||||
|
@ -1,50 +1,50 @@
|
|||||||
{
|
{
|
||||||
"slot":1
|
"slot":1,
|
||||||
"chan":[
|
"chan":[
|
||||||
{
|
{
|
||||||
"id":1,
|
"id":1,
|
||||||
"channel_name":"通道1",
|
"channel_name":"通道1",
|
||||||
"standby":1,
|
"standby":true,
|
||||||
"active":true,
|
"active":true,
|
||||||
"rack_type":"TMR",
|
"rack_type":"TMR",
|
||||||
"tmr_group":"1-3",
|
"tmr_group":"1-3",
|
||||||
"channel_type":"acceleration",
|
"channel_type":"acceleration",
|
||||||
"transducer_name":"3300-8mm Proximitor",
|
"transducer_name":"3300-8mm Proximitor",
|
||||||
"sample_rate":32000,
|
"sample_rate":32000,
|
||||||
"normal_voltage_range": [-21.3, 21.0],
|
"normal_voltage_range": [-21.3, 21.0]
|
||||||
},{
|
},{
|
||||||
"id":2,
|
"id":2,
|
||||||
"channel_name":"通道2",
|
"channel_name":"通道2",
|
||||||
"standby":1,
|
"standby":true,
|
||||||
"active":true,
|
"active":true,
|
||||||
"rack_type":"TMR",
|
"rack_type":"TMR",
|
||||||
"tmr_group":"1-3",
|
"tmr_group":"1-3",
|
||||||
"channel_type":"acceleration",
|
"channel_type":"acceleration",
|
||||||
"transducer_name":"3300-8mm Proximitor",
|
"transducer_name":"3300-8mm Proximitor",
|
||||||
"sample_rate":32000,
|
"sample_rate":32000,
|
||||||
"normal_voltage_range": [-21.3, 21.0],
|
"normal_voltage_range": [-21.3, 21.0]
|
||||||
},{
|
},{
|
||||||
"id":3,
|
"id":3,
|
||||||
"channel_name":"通道3",
|
"channel_name":"通道3",
|
||||||
"standby":1,
|
"standby":true,
|
||||||
"active":true,
|
"active":true,
|
||||||
"rack_type":"TMR",
|
"rack_type":"TMR",
|
||||||
"tmr_group":"1-3",
|
"tmr_group":"3-5",
|
||||||
"channel_type":"acceleration",
|
"channel_type":"acceleration",
|
||||||
"transducer_name":"3300-8mm Proximitor",
|
"transducer_name":"3300-8mm Proximitor",
|
||||||
"sample_rate":32000,
|
"sample_rate":32000,
|
||||||
"normal_voltage_range": [-21.3, 21.0],
|
"normal_voltage_range": [-21.3, 21.0]
|
||||||
},{
|
},{
|
||||||
"id":4,
|
"id":4,
|
||||||
"channel_name":"通道4",
|
"channel_name":"通道4",
|
||||||
"standby":1,
|
"standby":true,
|
||||||
"active":true,
|
"active":true,
|
||||||
"rack_type":"TMR",
|
"rack_type":"TMR",
|
||||||
"tmr_group":"1-3",
|
"tmr_group":"3-5",
|
||||||
"channel_type":"acceleration",
|
"channel_type":"acceleration",
|
||||||
"transducer_name":"3300-8mm Proximitor",
|
"transducer_name":"3300-8mm Proximitor",
|
||||||
"sample_rate":32000,
|
"sample_rate":32000,
|
||||||
"normal_voltage_range": [-21.3, 21.0],
|
"normal_voltage_range": [-21.3, 21.0]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,39 +1,39 @@
|
|||||||
{
|
{
|
||||||
"slot":1,
|
"slot":1,
|
||||||
"id":1,
|
"id":1,
|
||||||
"rack_type":"TMR",
|
"rms_active":true,
|
||||||
"active":true,
|
"integrate_active":true,
|
||||||
"variables":[
|
"variables":[
|
||||||
{
|
{
|
||||||
"type":"direct",
|
"type":"direct",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 mm/s pk",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"bias_volt",
|
"type":"bias_volt",
|
||||||
"full_sacle_range":"0-20",
|
"full_sacle_range":"0-20 mm/s pk",
|
||||||
"clamp_value":1.25
|
"clamp_value":1.25
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"1x_ampl",
|
"type":"1x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 mm/s pk",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"2x_ampl",
|
"type":"2x_ampl",
|
||||||
"full_sacle_range":"0-2",
|
"full_sacle_range":"0-2 mm/s pk",
|
||||||
"clamp_value":1.25,
|
"clamp_value":1.25,
|
||||||
"phase_lag":180,
|
"phase_lag":180,
|
||||||
"checked":true
|
"checked":true
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
"delay":{
|
"delay":{
|
||||||
"alert":30,
|
"alert":30,
|
||||||
"danger":30.0,
|
"danger":30.0,
|
||||||
"100ms":true
|
"100ms":true
|
||||||
}
|
},
|
||||||
"alert_latching":true,
|
"alert_latching":true,
|
||||||
"danger_latching":true,
|
"danger_latching":true,
|
||||||
"not_ok_latching":true,
|
"not_ok_latching":true,
|
||||||
|
@ -1,25 +1,26 @@
|
|||||||
{
|
{
|
||||||
"slot":1,
|
"slot":1,
|
||||||
"id":1,
|
"id":1,
|
||||||
"rack_type":"TMR",
|
|
||||||
"active":true,
|
|
||||||
"filter":[
|
"filter":[
|
||||||
{
|
{
|
||||||
"type":"high_pass",
|
"type":"high_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"low_pass",
|
"type":"low_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type":"band_pass",
|
"type":"band_pass",
|
||||||
"low":5,
|
"low":5,
|
||||||
"high":1000
|
"high":1000,
|
||||||
|
"checked":true
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
"transducer_orientation":90,
|
"transducer_orientation":90,
|
||||||
"direction":"left"
|
"direction":"left"
|
||||||
}
|
}
|
@ -23,7 +23,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab_5">
|
<widget class="QWidget" name="tab_5">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -541,10 +541,10 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>99.900000000000006</double>
|
<double>100.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_21">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_21">
|
||||||
@ -567,10 +567,10 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>99.900000000000006</double>
|
<double>100.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_17">
|
<widget class="QComboBox" name="comboBox_17">
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -582,7 +582,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_21">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_21">
|
||||||
@ -605,7 +605,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_17">
|
<widget class="QComboBox" name="comboBox_17">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user