Custom Application
The TVA Weather Reader is a custom application built to meet the needs of our client. It follows a similar interface design as our other weather reader applications.
First Time Launch
The first time you start the TVA Weather Reader after installing it you will need to configure it. You will be prompted to enter a Instance Name.
The instance name is arbitrary - it can be any name you like such as Live, Production, Test, Jose, GoJaysGo. It is simply a label to associate with a specific set of configuration values. This is helpful in situations where you have multiple tickers that you want to update. This enables you to do so without running multiple copies of the reader.
Configuration
The reader requires some information about the data source and the target Tick-It database before it can begin running.
Instance name is an arbitrary name
The Super Ticker MySQL section Default user id is Updater
The data source is is your
You can specify the server as an IP
| |
When the day name abbreviated The Case list offers the following: |
Running
Once launched and running - it will count down to the next update displaying the time remaining.
You can force an immediate update by pressing the Start Now button when enabled.
In this example the reader was started by pressing the start now button and the status text box has been updated with a message to reflect this.
Locations
This tab of the application provides a list of the locations that it is working with.
It is populated during the first execution and updated each time it runs.
This list is not editable. You cannot manually add or delete or edit any of the location details.
French (français)
The application includes an option to force the use of French (français) in the UI.
NOTE: French text has been provided using a best-guess translation and may not be perfectly correct for all texts.
Select the Français option from the Help menu item.
Some of the UI elements will automatically convert to français while others will only convert when you restart the reader.
NOTE: that the application may automatically use French if that is the default language of the machine it is installed on.
Database Code Connections
The data for the TVA weather app comes from a custom Microsoft SQL Server database created and maintained by TVA.
TVA Field | ST Field | |
---|---|---|
SA_Station | Unique location ID | |
current | ||
SA_Icon | Current - Weather Id | ^Graphic |
SA_Temp_Time | Current - Day of Week | ^Day |
SA_Temp | Current - temp | ^Temp |
day1 | (today) | |
WeatherToday | Today - Short text | ^Condition[D1] |
Jour_Hi | Today - High temperature | ^High[D1] |
Nuit_lo | Today - Low temperature | ^Low[D1] |
Jour_Icon | Today - Weather Id | ^Graphic[D1] |
POPToday | Today - p.o.p. | ^POP |
day1 night | (tonight) | |
Nuit_Icon | Tonight - Weather Id | |
WeatherTonight | Tonight - Short text | |
Nuit_lo | Tonight - Temperature 1 | |
POPTonight | Tonight - p.o.p. | |
day2 - day7 | (day2 = tomorrow) | |
(no field) | Day of Week (calculated assuming today is day 1) | ^Day[D2] - [D7] |
WeatherDay1 | Day2 - 7: Short text | ^Condition[D2] - [D7] |
Icon_1 | Day2 - 7: Weather Id | ^Graphic[D2] - [D7] |
Hi_1 | Day2 - 7: High temperature | ^High[D2] - [D7] |
Lo_1 | Day2 - 7: Low temperature | ^Low[D2] - [D7] |
POPDay1 | Day2 - 7: p.o.p | ^POP[D2] - [D7] |