Laserfiche WebLink
<br />Retrieving the Denver <br />Checksheet <br /> <br />Exchanges are managed primarily through the Water Information Sheet. Since every <br />exchange implies a diversion from the structure to which the exchange is performed, <br />exchanges belong to the Water Information Sheet which manages diversion data. See <br />the "Water Information Sheet" section on page 19 for a description of how exchanges <br />are handled in the Water Information Sheet. <br /> <br />The application contains a tool-the QuerylExchanges dialog-for viewing <br />exchanges, which posts a list of the exchanges in place over the time interval and <br />districts specified in the Preferences dialog. This dialog is populated using the DMI <br />routines GetAIIExhangesFromTolnit and GetAIIExhangesFrom~ <br />ToNext. <br /> <br />Denver Checksheet <br /> <br />The Denver Checksheet is an interface for input and viewing of data from water oper- <br />ations in the Denver area. The design of the checksheet is very similar to the Water <br />Information Sheet. However, there are a few significant differences: <br /> <br />. Each Checksheet represents a month's worth of data. The date associated with <br />each Checksheet is a month and year. <br /> <br />. Columns on the checksheet represent days of the month. Each checksheet displays <br />an entire month's worth of data, with each day displayed in a separate column. On <br />the. Water Information Sheet, columns represent flows or different uses for diverted <br />water. <br /> <br />. Values for a day are carried over from previous days and used in calculations. On <br />the Water Information Sheet, there is no way to include values from a previous day <br />in another sheet. <br /> <br />. When a user edits the checksheet s/he operates on a day's (or column's) worth of <br />data. On the Water Information Sheet, users edit rows of data. <br /> <br />The Denver Checksheet is created dynamically as the user requests to edit it though <br />the EditlDenver Checksheet menu item. SPWRMS reads a format file and creates <br />the new checksheet based on the contents of that file. The application then searches <br />the database for a saved sheet for that month. If a saved checksheet is found, it is <br />retrieved. Otherwise, the application loads a blank checksheet. <br /> <br />When the user chooses Edit/Checksheet from the main menu, the application creates <br />a new sheet and initializes it with values. This section discusses the process of <br />creating and loading the Denver Checksheet. <br /> <br />SPWRMS uses the end_date of the Preferences dialog to determine the month for <br />which to load the Checksheet. If the user has selected a time interval of some number <br />of hours up to the present. the current month's sheet is loaded. Otherwise, the sheet <br />for the month corresponding to the end_date of the time interval is loaded. The <br />function LoadChecksheet (char * da te) returns the newly-created sheet. <br /> <br />The Checksheet status bar indicates the state of the sheet-whether it has been saved <br />to the database or not. The two flags new and dirty are the main source of infor- <br />mation for the status bar. <br /> <br />22 <br />