Project

General

Profile

Feature #889

Web版本,一键清闪,人工置位,挂摘牌,复归,定值投入,属性页面查看等UI刷新逻辑整理

Added by shixun yan about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
shixun yan
Target version:
Start date:
09/29/2020
Due date:
09/30/2020
% Done:

100%

Estimated time:
20.00 h
Defect version:

Description

将EHMI里面怎么实现一键清闪,人工置位,挂摘牌,复归,定值投入,属性页面的刷新逻辑整理出来,供Web版参考.


Files

se_typedef.h (64.9 KB) se_typedef.h shixun yan, 10/22/2020 11:48 AM

History

#1

Updated by shixun yan about 4 years ago

  • Status changed from New to In Progress
#2

Updated by shixun yan about 4 years ago

通过接口获取实时库点的status以后,可以通过以下方法来判断这个点是否是闪烁的,是否是人工置入的.
这些判断可以在前端直接完成.
// 故障闪烁
#define SE_M_PT_FLASHING 0x00002000

// 点值为人工置入
#define SE_M_PT_MAN_VAL 0x00000020

详细的的定义参考附件

// 故障闪烁
bool PT_IS_FLASHING(unsigned int PtStatus) {
return ((PtStatus & SE_M_PT_FLASHING) SE_M_PT_FLASHING);
}

// 点值为人工置入
bool PT_IS_MAN_VAL(unsigned int PtStatus) {
return ((PtStatus & SE_M_PT_MAN_VAL) SE_M_PT_MAN_VAL);
}

#3

Updated by shixun yan about 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF