mirror of
https://github.com/PepperDash/EssentialsPluginTemplate.git
synced 2026-07-02 08:38:14 +00:00
Adds Essentials Devices Common to the references
Adds reflection to the EssentialsPluginTemplateBridgeJoinMap OffsetJoinNumbers method
This commit is contained in:
parent
279a89149f
commit
9b056884c9
14 changed files with 37 additions and 4 deletions
|
|
@ -5,6 +5,7 @@ using System.Text;
|
||||||
|
|
||||||
using Crestron.SimplSharp;
|
using Crestron.SimplSharp;
|
||||||
using Crestron.SimplSharpPro.DeviceSupport;
|
using Crestron.SimplSharpPro.DeviceSupport;
|
||||||
|
using Crestron.SimplSharp.Reflection;
|
||||||
|
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
using PepperDash.Essentials.Core;
|
using PepperDash.Essentials.Core;
|
||||||
|
|
@ -51,7 +52,12 @@ namespace EssentialsPluginTemplateEPI
|
||||||
|
|
||||||
public override void OffsetJoinNumbers(uint joinStart)
|
public override void OffsetJoinNumbers(uint joinStart)
|
||||||
{
|
{
|
||||||
// Offset the joins from joinStart as applicable
|
GetType()
|
||||||
|
.GetCType()
|
||||||
|
.GetProperties()
|
||||||
|
.Where(x => x.PropertyType == typeof(uint))
|
||||||
|
.ToList()
|
||||||
|
.ForEach(prop => prop.SetValue(this, (uint)prop.GetValue(this, null) + joinStart - 1, null));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -46,6 +46,10 @@
|
||||||
<GenerateSerializationAssemblies>off</GenerateSerializationAssemblies>
|
<GenerateSerializationAssemblies>off</GenerateSerializationAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="Essentials Devices Common, Version=1.4.7335.30139, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\EssentialsBuilds\Essentials Devices Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="mscorlib" />
|
<Reference Include="mscorlib" />
|
||||||
<Reference Include="PepperDashEssentials, Version=1.4.19.29953, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="PepperDashEssentials, Version=1.4.19.29953, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -10,8 +10,8 @@
|
||||||
<ArchiveName />
|
<ArchiveName />
|
||||||
</RequiredInfo>
|
</RequiredInfo>
|
||||||
<OptionalInfo>
|
<OptionalInfo>
|
||||||
<CompiledOn>2020-02-13 3:58:57 PM</CompiledOn>
|
<CompiledOn>3/2/2020 5:19:54 PM</CompiledOn>
|
||||||
<CompilerRev>1.0.0.28767</CompilerRev>
|
<CompilerRev>1.0.0.31196</CompilerRev>
|
||||||
</OptionalInfo>
|
</OptionalInfo>
|
||||||
<Plugin>
|
<Plugin>
|
||||||
<Version>Crestron.SIMPLSharp, Version=2.0.58.0, Culture=neutral, PublicKeyToken=812d080f93e2de10</Version>
|
<Version>Crestron.SIMPLSharp, Version=2.0.58.0, Culture=neutral, PublicKeyToken=812d080f93e2de10</Version>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
||||||
MainAssembly=PDT.EssentialsPluginTemplate.EPI.dll:6808b45c8c5d7c4d3852fe284ea334cf
|
MainAssembly=PDT.EssentialsPluginTemplate.EPI.dll:74fe3a77423531efb46a87f7f60b7e0d
|
||||||
MainAssemblyMinFirmwareVersion=1.009.0029
|
MainAssemblyMinFirmwareVersion=1.009.0029
|
||||||
MainAssemblyResource=SimplSharpData.dat:820b61c48c8a2cace82957eed4cc377c
|
MainAssemblyResource=SimplSharpData.dat:820b61c48c8a2cace82957eed4cc377c
|
||||||
MainAssemblyResource=SimplSharpData.dat.der:bf862965c00f3e6ec535e4e00e82d30c
|
MainAssemblyResource=SimplSharpData.dat.der:bf862965c00f3e6ec535e4e00e82d30c
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -44,3 +44,26 @@ C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.
|
||||||
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Essentials Devices Common.dll
|
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Essentials Devices Common.dll
|
||||||
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.GeneralIO.dll
|
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.GeneralIO.dll
|
||||||
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.DM.dll
|
C:\Working Directories\PD\EssentialsPluginTemplate\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.DM.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PDT.EssentialsPluginTemplate.EPI.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PDT.EssentialsPluginTemplate.EPI.pdb
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PepperDash_Core.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PepperDash_Essentials_Core.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PepperDash_Essentials_DM.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\PepperDashEssentials.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\SimplSharpNewtonsoft.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\SimplSharpReflectionInterface.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.Lighting.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.Gateways.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\SimplSharpSQLHelperInterface.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.Fusion.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.Shades.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.EthernetCommunications.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.DeviceSupport.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.UI.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\SimplSharpTimerEventInterface.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Essentials Devices Common.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.GeneralIO.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\bin\Debug\Crestron.SimplSharpPro.DM.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\obj\Debug\ResolveAssemblyReference.cache
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\obj\Debug\PDT.EssentialsPluginTemplate.EPI.dll
|
||||||
|
C:\Users\JTA\Documents\Stash Folder\Frameworks\GithubTemplates\template-essentials_plugin-public\PDT.EssentialsPluginTemplate.EPI\obj\Debug\PDT.EssentialsPluginTemplate.EPI.pdb
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue