Feature #889
Web版本,一键清闪,人工置位,挂摘牌,复归,定值投入,属性页面查看等UI刷新逻辑整理
Start date:
09/29/2020
Due date:
09/30/2020
% Done:
100%
Estimated time:
20.00 h
Defect version:
Description
将EHMI里面怎么实现一键清闪,人工置位,挂摘牌,复归,定值投入,属性页面的刷新逻辑整理出来,供Web版参考.
Files
History
Updated by shixun yan about 4 years ago
- File se_typedef.h se_typedef.h added
通过接口获取实时库点的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);
}
Updated by shixun yan almost 4 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100