Skip to content

StateDMI / Command / SetParcelSurfaceWaterSupply


Overview

The SetParcelSurfaceWaterSupply command (for StateCU and StateMod) edits a single surface water supply for a parcel. The parcel must exist. See also the SetParcel and SetParcelGroundWaterSupply commands.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

SetParcelSurfaceWaterSupply command editor

SetParcelSurfaceWaterSupply Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

SetParcelSurfaceWaterSupply(Parameter="Value",...)

Command Parameters

Parameter                 Description Default                    
Year
required
Year for the parcel. None - must be specified.
ParcelID
required
Parcel identifier. None - must be specified.
WDID Water district identifier (WDID) for the diversion (ditch) supply. None - must be specified.
IfNotFound Action taken if Year, ParcelID, and WDID are not matched:
  • Add - add a new supply
  • Fail – generate a failure message
  • Ignore – ignore (don’t edit and don’t generate a message)
  • Warn – generate a warning message
Add
IfFound Action taken if Year and ParcelID, and WDID are matched:
  • Set - set the supply data
  • Remove - remove the supply
  • Fail – generate a failure message
  • Ignore – ignore (don’t edit and don’t generate a message)
  • Warn – generate a warning message
Set

Examples

See the automated tests.

Troubleshooting

See the main troubleshooting documentation

See Also