Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleValue Properties Entry Display Data Structure
    <valuePropertiesVariableId>MFDO_MainReport</valuePropertiesVariableId>
    <subLocationsStructure id="Locations_Level">
        <variableId>Level_MFDO_Peak</variableId>
        <matchingSubLocationAttributeId>MFDOArea</matchingSubLocationAttributeId>
        <templateFile>Forecast_Summary_Report_Level_Location_Template.html</templateFile>
    </subLocationsStructure>
    <subLocationsStructure id="Locations_Flow">
        <variableId>Flow_MFDO_Peak</variableId>
        <matchingSubLocationAttributeId>MFDOArea</matchingSubLocationAttributeId>
        <templateFile>Forecast_Summary_Report_Flow_Location_Template.html</templateFile>
    </subLocationsStructure>

...

Code Block
languagexml
titleValue Properties Entry Display Variable Definitions
	<variable>
		<variableId>MFDO_MainReport</variableId>
		<timeSeriesSet>
			<moduleInstanceId>Process_MFDO_Report</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationSetId>MFDO_Areas_Reports</locationSetId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<externalForecastMaxAge unit="day" multiplier="10"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>Level_MFDO_Peak</variableId>
		<timeSeriesSet>
			<moduleInstanceId>Process_MFDO_Report</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.fcast.merged</parameterId>
			<qualifierId>Peak</qualifierId>
			<locationSetId>UK_Forecast_Summary_Level</locationSetId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<externalForecastMaxAge unit="day" multiplier="10"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>Flow_MFDO_Peak</variableId>
		<timeSeriesSet>
			<moduleInstanceId>Process_MFDO_Report</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Q.fcast.merged</parameterId>
			<qualifierId>Peak</qualifierId>
			<locationSetId>UK_Forecast_Summary_Flow</locationSetId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<externalForecastMaxAge unit="day" multiplier="10"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
	</variable>

An example of  some freely configurable input elements can be found below. With different property types like String, int, date/time and a dropwdown with enueration values.

By default the input elements are placed on the same row in the display but with <newLine/> elements they can be placed below each other.

String elements also have the option to have the numberOfLines specified. When this is more than 1 the element will show on screen with a larger height and it will automatically increse in height when more lines of text are entered.

The width attribute determines how wide the element will show on the display.

Via the enabled attribute the element can also be made  not editable.

Code Block
languagexml
titleValue Properties Entry Display Elements
	<valueProperty id="fw_state" name="State" propertyType="string" enabled="false" forceUpperCase="false" width="60">
		<defaultValueAttributeFunction>@REGION@</defaultValueAttributeFunction>
	</valueProperty>
	<newLine/>
	<valueProperty id="fw_subtitle" name="Sub-title" propertyType="string" enabled="true" numberOfLines="1" width="805"/>
	<newLine/>
	<valueProperty id="fw_headline" name="Headline" propertyType="string" enabled="true" forceUpperCase="true" numberOfLines="2" width="800"/>>
	</variable>
	<valueProperty id="fw_nextissuetime" name="Next Issue Time" propertyType="dateTime" enabled="true" width="200"/>
	<valueProperty id="fw_nexthours" name="Hours from now" propertyType="int" enabled="true" width="50"/>
	<valueProperty id="fw_sews" name="Sews" propertyType="string" enabled="true" width="60">
		<enumerationValue label="Yes" code="Yes"/>
		<enumerationValue label="No" code="No"/>
	</valueProperty>