1.PLC点位管理中 “点位所属动作” 下拉添加 维护(Maintain)
2.将 故障(Fault) 改为 报警(Alarm)
main
liuhr 2 years ago
parent a5f22a4ec1
commit 7d361591fc

@ -446,15 +446,18 @@ export default class helper {
return textStatus; return textStatus;
}; };
// 点位所属动作,启动停止:start_stop故障fault // 点位所属动作,启动停止:StartStop 维护Maintain 报警Alarm
static getActionType = (val: any) => { static getActionType = (val: any) => {
let textStatus = ''; let textStatus = '';
switch (val) { switch (val) {
case 'StartStop': case 'StartStop':
textStatus = '启动停止'; textStatus = '启动停止';
break; break;
case 'Fault': case 'Maintain':
textStatus = '故障'; textStatus = '维护';
break;
case 'Alarm':
textStatus = '报警';
break; break;
} }
return textStatus; return textStatus;

@ -106,7 +106,8 @@ const activatedList = ref([
const actionTypeList = ref([ const actionTypeList = ref([
{ label: '启动停止', value: 'StartStop' }, { label: '启动停止', value: 'StartStop' },
{ label: '故障', value: 'Fault' } { label: '维护', value: 'Maintain' },
{ label: '报警', value: 'Alarm' }
]) ])
// //

Loading…
Cancel
Save