├── README.md ├── en-US.json ├── Settings_Data.cs ├── UiDefinition.xml ├── Device_Name.json ├── Device_Name_Transport.cs ├── Device_Name_Protocol.cs └── Device_Name.cs /README.md: -------------------------------------------------------------------------------- 1 | # Crestron-Home-Extension-Driver-Template 2 | 3 | These files make up a template I've created for writing extension drivers for Crestron Home. Typically I include a zip file of my VS solution folder 4 | so anyone can simply download the entire soluion and start using it. However, because of the size of the solution folder for a Crestron Home project, 5 | that isn't possible as the file is larger than allowed by Github. 6 | -------------------------------------------------------------------------------- /en-US.json: -------------------------------------------------------------------------------- 1 | { 2 | "MainPageTitle": "Home_Extension_Template", 3 | "DisplayTextLabel": "Display Text", 4 | 5 | "SettingsPageTitle": "Settings", 6 | "SubheaderLabel": "Subheader", 7 | "ChecboxLabel": "Checkbox Label", 8 | "CheckboxSecondaryLabel": "Checkbox Secondary Label", 9 | "TextEntryLabel": "Text Entry Field Label", 10 | 11 | "ButtonSettingsLabel": "Settings", 12 | "SaveButtonName": "Save", 13 | 14 | "SequenceTriggeredMethodLabel": "Template Sequence Trigger" 15 | 16 | } -------------------------------------------------------------------------------- /Settings_Data.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Home_Extension_Template 8 | { 9 | public class Settings_Data 10 | { 11 | #region Declarations 12 | public bool Checkbox_Setting; 13 | public int Text_Entry_Setting; 14 | #endregion Declarations 15 | 16 | //**************************************************************************************** 17 | // 18 | // Settings_Data - Constructor 19 | // 20 | //**************************************************************************************** 21 | public Settings_Data() 22 | { 23 | Checkbox_Setting = false; 24 | Text_Entry_Setting = 0; 25 | } 26 | //**************************************************************************************** 27 | // 28 | // Save - 29 | // 30 | //**************************************************************************************** 31 | public void Save(bool Checkbox_Setting, int Text_Entry_Setting) 32 | { 33 | this.Checkbox_Setting = Checkbox_Setting; 34 | this.Text_Entry_Setting = Text_Entry_Setting; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /UiDefinition.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |