|
@ -238,6 +238,7 @@ import { |
|
|
setSettingValJSON, |
|
|
setSettingValJSON, |
|
|
changeDisinfectionParameterJSON, |
|
|
changeDisinfectionParameterJSON, |
|
|
updateSettingInRunInfectionJSON, |
|
|
updateSettingInRunInfectionJSON, |
|
|
|
|
|
getAllSettingJSON, |
|
|
} from '@/mock/command' |
|
|
} from '@/mock/command' |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -812,45 +813,8 @@ async function actionDefaultSetting() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ( !props.runInfection ) { |
|
|
if ( !props.runInfection ) { |
|
|
// 注射蠕动泵速率(g/min) |
|
|
|
|
|
settingStore.changeSprayLiquidConfigVal(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'injection_pump_speed', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒停止过氧化氢浓度(ppm) |
|
|
|
|
|
settingStore.updateStopedGs(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'stoped_gs', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒继续过氧化氢浓度(ppm) |
|
|
|
|
|
settingStore.updateContinuedGs(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'continued_gs', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒停止相对湿度(%RH) |
|
|
|
|
|
settingStore.updateStopedHumi(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'stoped_humi', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒继续相对湿度(%RH) |
|
|
|
|
|
settingStore.updateContinuedHumi(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'continued_humi', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒停止过氧化氢相对饱和度(%RS) |
|
|
|
|
|
settingStore.updateStopedSatur(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'stoped_satur', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 消毒继续过氧化氢相对饱和度(%RS) |
|
|
|
|
|
settingStore.updateContinuedSatur(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'continued_satur', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 正负压默认开合比例 |
|
|
|
|
|
settingStore.updateProportionalValveDefaultValue(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'proportional_valve_default_value', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 允许消毒最大湿度(%RH) |
|
|
|
|
|
settingStore.updateMaxHumidity(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'max_humidity', settingVal:0}); |
|
|
|
|
|
|
|
|
|
|
|
// 预热时间(s) |
|
|
|
|
|
settingStore.updatePre_heat_time_s(0); |
|
|
|
|
|
await webSocketStore.call('setSettingVal',{settingName:'pre_heat_time_s', settingVal:0}); |
|
|
|
|
|
|
|
|
await webSocketStore.call('factoryResetSettings'); |
|
|
|
|
|
webSocketStore.sendCommandMsg(getAllSettingJSON); |
|
|
} |
|
|
} |
|
|
showSuccessToast('设置成功') |
|
|
showSuccessToast('设置成功') |
|
|
} |
|
|
} |
|
|