![Crestron 3 Series Скачать руководство пользователя страница 56](http://html.mh-extra.com/html/crestron/3-series/3-series_reference-manual_2683607056.webp)
52
•
3-Series Control Systems
Reference Guide – DOC. 7150B
UserPrograms
This parameter indicates that a user program should be updated. The following
keywords are defined for this parameter:
•
"programNumber"
: Valid ranges are 1-10 or 1 only, and the range depends
on the controller to be updated. The Program ID tag is intended for
interactive systems only. The default value is "1".
•
"programLocation"
: Indicates whether the program needs to be loaded
onto internal or external memory. The default value is "internal". For
external memory, the controller loops through RM and RM2.
Sample Manifest File
The following shows a complete example of a JSON-encoded manifest file for a
control system with multiple components. Note that actions are performed in the
order that they appear on the file.
[
{
"deviceHostname": "Room101-panel",
"deviceModel": "TSW-760",
"deviceId": "QA",
"controlSystemHostname"": "192.186.1.1",
"logFolder": "sftp://xxabet-xx2/html/Office-TouchPanel/results",
"fileToUpdate": [
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.puf",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/firmwareHash.txt",
"fileType": "firmware",
"whenToDownload": "Friday 23:00",
"whenToApplyUpdate": "now",
}
]
}
{
"deviceHostname": "Room101-panel",
"deviceModel": "TSW-760",
"logFolder": "sftp://xxabet-xx2/html/Office-TouchPanel/results",
"fileToUpdate": [
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.ini",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/configHash.txt",
"fileType": "config",
"whenToDownload": "Sunday 2:00",
}
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.vtz",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/projectHash.txt",
"fileType": "project",
"whenToDownload": "Sunday 2:00",
}
]
}
{
"ControllerHostName": "Crestron-PRO3",
"deviceModel": "PRO3",
"logFolder": "sftp://xxabet-xx2/html/Office-PRO3/results",
"fileToUpdate": [
{
"fileUrl": "sftp://xxabet-xx2/html/Office-PRO3/program1.lpz",