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 />poinCflow_record <br /> <br />Point Flow OMI <br />Routines <br /> <br />Rows of type carryover are loaded by the two functions SQLLoadCsCarry- <br />overRow () and SQLLoadLastMonthsCsCarryoverRow () . Carryover <br />rows have a value carried over from the last day of the previous month; fetching this <br />value is the function SQLLoadLastMonthsCsCarryoverRow (). Rows of <br />types other than flow and carryover not retrieved from the database-they are either <br />calculated before display or left blank, depending on the row type. Loading the data <br />from the database completes the process of constructing the Checksheet, which can <br />then be displayed. <br /> <br />SaveChecksheet () archives the sheet by deleting old rows by calling <br />SQLDeleteCsRow () and inserting new rows by calling SQLlnsertC- <br />sRow() . <br /> <br />Point Flow File Generation <br /> <br />The point flow file construction for the UNIX version of SPWRMS works by creating <br />an internal representation of the point flow configuration file (as a poincflow_record) <br />and then processing this record to create the file. <br /> <br />The point flow record has a header portion and a pointcr to an array of rows. The rows <br />are stored as ifs_structs (the same data structure representing a row in an information <br />sheet). <br /> <br />j* re-use the info sheet row record! *j <br />typedef struct ifs_struct point_flaw_row; <br />typedef struct { <br />int <br /> <br />char <br />int <br /> <br />point_flaw_row * <br />point_flaw_record; <br /> <br />tag; <br />show_column[NUM_CONTROL_COLS+l]; <br /> <br />number_of-pf_rows; <br />data /* array of rows */ <br /> <br />Where: <br /> <br />tag: The ID of the reach this record represents. <br /> <br />show_column: A string defining the columns requested by the user in the point <br />flow configuration file. <br /> <br />number_of_pf_rows: The number of rows in this point flow record. <br /> <br />da ta: An array of rows (1 for each item requested in the point flow configuration <br />file). <br /> <br />The following routines are provided to create and manipulate a poincflow record. <br /> <br />Crea teEmptyPointFlowTable () creates and initializes a point flow record <br />for the specified tag. The function opens the file tag_N. pf in the point flow <br />configuration file subdirectory (where N is the supplied tag) and parses the file to <br />create the point flow record returned. This function will allocate the data portion of <br />the record (the array to hold the rows) and initialize the rows correctly. <br /> <br />38 <br />
The URL can be used to link to this page
Your browser does not support the video tag.