Sources
Several sources can be added and it's data made available for binding. Thse sources include HTTP GET of JSON file and also TCP/IP or UDP sources.
Sources can be defined in the Sources Tab of the ScreensPro window.
Binding
A source can be accessed inside a layout by using bindings, e.g. {Binding Sources.RaceResult.Value[0].BackgroundColor}, where RaceResult is the Name of a source and Value[0] the first element of the returned array.
Properties
The following properties are available, when using a HTTP REST (GET) source. They can be used by using {Binding Sources.NameOfSource.Property} where Property is of the following:
IsSuccess
bool
True if source could be loaded
ErrorText
string
Text of the error happened when loading the source
Exception
Exception
Exception when loading the source
UpdatedAt
DateTime
Timestamp when source was updated
Duration
TimeSpan
Duration the source took to load
ValueText
string
Value of the source
StatusText
string
Either ErrorText or ValueText
Last updated