页面数据需要区分厕所房间时,默认只订阅厕所级别 #99
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#99
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://smartoilets.net/simplepage/KWH/GF?profile=cleaner
目前的情况是一个厕所数据需要将对应的房间数据分别显示, 因此实际上数据都是同一个厕所下的。
根据房间分别订阅数据是不必要的,只需要订阅当前厕所的数据,然后根据命名获取对应房间的数据就可以了。
例如 svg 中有
STS__PTAQ:kwh:gf:male
和STS__PTAQ:kwh:gf:female
, 默认只订阅一次 这个厕所的数据,并且根据数据属于male
还是female
去处理。添加一个属性去支持房间级别的数据订阅, 例如
DATALEVEL=room
, 这时候才去订阅房间级别的数据页面需要区分厕所时,默认订阅厕所级别to 页面数据需要区分厕所房间时,默认只订阅厕所级别