简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

fr10 wrapper reads a failed response as availability

SarahBarnes0589 · 2026年3月4日 12:15 UTC

回复讨论
SA
SarahBarnes0589
Our replacement SDK returns a documented container rather than the old status value. The dashboard wrapper accepts the container as if it were a reading, so failed requests can look plausible. I need both supported formats handled without a failure turning into a normal status.

12 条回复

LU
LuisAli0260

Decode against the identified supported version and its documented success and failure forms, then give the display one consistent internal result; guessing success from a nonempty container is the bit to remove first

14
SA
SarahBarnes0589

Developer has the documentation for both supported versions and representative retained replies. The new path checks the documented outcome before extracting a reading. Unknown shapes stay errors.

13
IM
ImranAdams0131

Our old mock made every request successful. Include unsuccessful replies, missing readings and timeouts in this one, not only the two happy formats

14
DA
DavidBennett0780

Show the operator a failed current read separately from the last valid reading, with its age. Otherwise the parser can be fixed while the screen still looks reassuringly current whenever communication fails.

-4
SA
SarahBarnes0589

We added separate current-read status and last-valid age. The first test exposed an old default value appearing before any successful read. That now shows unavailable, not a pretend previous reading.

14
OS
OscarAbbott0010

Does changing to another controller clear that last-valid value? A previous device's reading would be even more misleading than an old reading from the same one.

15
LU
LuisAli0260

Tie the retained reading to its source identity and session, Sarah, so changing the source cannot borrow the old value just because the display window stayed open

20
SA
SarahBarnes0589

Source-change test now starts without a reading and retains the previous source only in history. Both supported formats pass success, failure, timeout and missing-reading checks offline.

15
DA
DavidBennett0780

Has anyone checked the exported report? The display labels and parser may be right while the file still writes the last value into a current-status column.

0
SA
SarahBarnes0589

Export had exactly that ambiguity. We split current request outcome from last valid value and observation time, with source identity included. The same failed-read case now agrees on screen and in the report.

4
IM
ImranAdams0131

Keep that export case in the regression checks. Easy to forget when the next change only looks cosmetic

21
SA
SarahBarnes0589

Installed read-only comparison completed in both supported environments. Expected controller identity, valid readings and failed-read display/report behaviour checked. Ordinary close and reopen also starts without an invented value. Wrapper change closed.

2

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。