Author: Xiangbao Jing

Entry bar and browsers
WMO Command line:
textdb [-ri AwipsID] [-rt ddhhmm] [-rw TTAAii] [-rs CCCC] [-rb BBB]
textdb -rv TTAAii CCCC BBB [NNNXXX]
Returned ID format:
TTAAii CCCC DDHHMM BBB NNNXXX CCCNNNXXX\n
WriteTextt DB -remote datafilename
In 4.2, we only used AFOS-ID, everything in the text WS code is based on it. But we are changing the text WS to support the AFOS-ID, AWIPS-ID and WMO-ID at same time. There will be mixed kind of IDs in such as load history list, product command lists... How to display these lists in GUI? And how to express the different IDs internally?
My design is that to use special prefix solution and express these IDs in memory as full-ID. Here is the definition,
Product Command List::= Product Command 1, Product Command 2,
... Product Command nProduct Command ::= AFOS Command | AWIPS command | WMO command
AFOS Command ::= AFOS-prefix: AFOS-ID
AFOS-prefix ::= [E | M | [ [-] [A | ALL | n]]]
AFOS-ID ::= CCCNNNXXX
AWIPS command ::= AWIPS-prefix : full-ID
AWIPS-prefix ::= AWIPS
full-ID ::= TTAAii CCCC DDHHMM bbb AWIPS-ID AFOS-ID
AWIPS-ID ::= NNNXXX
WMO command ::= WMO-prefix : full-ID
WMO-prefix ::= WMO
Solution for displaying, internal expression is,
Cmd type in GUI Display in Memory
AFOScmd AFOS-prefix:CCCNNNXX AFOScmdAWIPScmd AWIPS:NNNXXX AWIPS:full-ID
WMOcmd WMO:TTAAii CCCC WMO:full-ID
