My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
WSPC05429
CWCB
>
Water Supply Protection
>
Backfile
>
18000-18999
>
WSPC05429
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
7/29/2009 11:10:30 AM
Creation date
10/9/2006 5:13:20 AM
Metadata
Fields
Template:
Water Supply Protection
File Number
8283.200
Description
Colorado River Basin-Colorado River Computer Models-Colorado River Decision Support System-Ray
State
CO
Water Division
5
Date
1/1/1996
Author
CADSWES
Title
South Platte Water Rights Management System-Programmers Manual
Water Supply Pro - Doc Type
Report/Study
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
51
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
<br />Paekets <br /> <br />The PC application, which allows Water Commissioners to enter and retrieve data <br />from the system, sends requests for data to the UNIX server application, receives the <br />data, and displays the data for the user. The PC application does not contain an in- <br />memory directed graph, but relies on tbe grapb managed by the UNIX server applica- <br />tion to perform operations that require knowledge of upstream-downstream relation- <br />ships. <br /> <br />UNIX Server Application <br /> <br />The UNIX server application is primarily a communications package, with the <br />SPWRMS DMIlibrary linked in to provide the functionality of the in-memory graph <br />and database queries. <br /> <br />The main {} loop of the UNIX server application contains an initialization <br />sequence, which builds the in-memory graph through queries to the database, and an <br />iterative loop, which waits for commands from the PC application. When a PC user <br />dials in to the UNIX workstation, an instance of the UNIX server application is initi- <br />ated, which idles waiting for commands from the Pc. <br /> <br />When the UNIX server application receives a command from the PC, it perfonns the <br />requested function and sends a reply. For example, if the command for loading a <br />Water Information Sheet is received, the application loads a sheet from the database <br />for the specified date and water district. The application then sends the contents of the <br />sheet to the Pc. <br /> <br />PC Application <br /> <br />The PC application is primarily a communications package attached to a set of <br />dialogs that manage user operations. The PC application looks much like the main <br />UNIX application and provides almost the same functionality. The PC application <br />retrieves data from SPWRMS via requests to the UNIX server application. <br /> <br />Communications <br /> <br />SPWRMS communicates via ASCII characters. A custom protocol ensures that data <br />is sent and received without missing characters. <br /> <br />After the UNIX server has completed its initialization sequence, all data sent between <br />the PC application and the UNIX workstation is encapsulated into packets and blocks. <br /> <br />A packet is a group of data that contains a single request or data that comprises the <br />response for a single request. For example, a packet would contain the command from <br />the PC to load a Water Information Sheet for a particular water district and date. The <br />sheet transmitted back to the PC would all be in a single packet. <br /> <br />A packet consists of a header and one or more blocks. The header describes the <br />command with which the packet is associated, indicates the number of bytes of data <br />to be transmitted in the packet, and contains a counter which is used when a number <br />of similar pieces of data are contained in the packet. When the receiving end of the <br />communicating pair has received the number of bytes specified in the packet header, a <br />verification string is sent indicating that all data was received successfully. Otherwise, <br /> <br />40 <br />
The URL can be used to link to this page
Your browser does not support the video tag.