The GUI Design Review

    of WMO Product on the Text Workstation

 
Author: Xiangbao Jing

1.1 Basic Capabilities

1.2 Display Processing

      (See F-1)


 

1.3 Display GUI


Entry bar and browsers
 

Entry Bar (See F-2)
browser

1.4 Editing GUI

 
 

1.5 Interface With Text DB (WMO part)

 
Query and Read
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
 
Write
WriteTextt DB -remote datafilename

1.6 Implement Issues

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 n

Product 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                 AFOScmd

AWIPScmd              AWIPS:NNNXXX                                AWIPS:full-ID

WMOcmd                WMO:TTAAii CCCC                           WMO:full-ID