![Crestron 3 Series Скачать руководство пользователя страница 60](http://html.mh-extra.com/html/crestron/3-series/3-series_reference-manual_2683607060.webp)
56
•
3-Series Control Systems
Reference Guide – DOC. 7150B
o
result
: The result of the action, which is one of the following:
success
: The action succeeded.
error
: The action failed. See "Error Handling" on page 57.
o
estActionDuration
: The estimated time to complete the action (in
seconds) where applicable
o
errorCode
: The error code number (if applicable)
o
errorText
: Any text that is associated with the error condition (if
applicable)
The following parameters are dependent on the type of action taken:
•
numberOfSubActions
: The number of sub actions that are associated
with the main action taken by the client.
•
subActions
: A sequence of sub action results that are associated with
the main action taken by the client.
o
command
: The console command executed by the client
o
commandResult
: The result text returned to the console when
executing a console command
Sample Results File
The following is an example of a results file for a 3-Series Control System (PRO3)
.puf file automatic update:
{
"ControllerHostName": "Crestron-PRO3",
"deviceModel": "PRO3",
"updateAction": "firmware",
"updateLog": [
{
"fileName": "xx.txt",
"fileHash": "HASHCODE",
"whenWasDownloaded": "2014-08-29T23:05:10Z",
"whenWasApplied": "2014-08-29T23:15:10Z",
"whenWasCompleted": "2014-08-29T23:25:10Z",
"numberOfSubActions": "2",
"subActions": [
{
"component": "eboot",
"result": "success",
"PreviousVersion": "1.001.0033",
"CurrentVersion": "1.001.0034",
}
{
"component": "updater",
"result": "success",
"PreviousVersion": "1.02.35",
"CurrentVersion": "2.001.0034",
}
]
}
}