Skip to content

Commit

Permalink
feat: updated controller factory to remove redundant 'base' reference…
Browse files Browse the repository at this point in the history
…s, removed minimumFramework property from device class
  • Loading branch information
jkdevito committed May 9, 2022
1 parent 6f2270d commit e290caa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions epi-display-samsung-mdc/SamsungMdc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ public class SamsungMdcDisplayController : TwoWayDisplayBase, IBasicVolumeWithFe
IBridgeAdvanced, IDeviceInfoProvider
{
public const int InputPowerOn = 101;

public const int InputPowerOff = 102;
public static string MinimumEssentialsFrameworkVersion = "1.4.32";
public const int InputPowerOff = 102;
public static List<string> InputKeys = new List<string>();
private readonly SamsungMDCDisplayPropertiesConfig _config;
private readonly uint _coolingTimeMs;
Expand Down
2 changes: 1 addition & 1 deletion epi-display-samsung-mdc/SamsungMdcControllerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace PepperDash.Plugin.Display.SamsungMdc
{
public class SamsungMdcControllerFactory:EssentialsPluginDeviceFactory<SamsungMdcDisplayController>
{
public SamsungMdcControllerFactory():base()
public SamsungMdcControllerFactory()
{
MinimumEssentialsFrameworkVersion = "1.6.7";

Expand Down
4 changes: 2 additions & 2 deletions epi-display-samsung-mdc/epi-display-samsung-mdc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@
</Reference>
<Reference Include="SimplSharpCustomAttributesInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1099c178b3b54c3b, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\ProgramData\Crestron\SDK\SimplSharpCustomAttributesInterface.dll</HintPath>
<HintPath>..\..\..\..\ProgramData\Crestron\SDK\SimplSharpCustomAttributesInterface.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SimplSharpHelperInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1099c178b3b54c3b, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\ProgramData\Crestron\SDK\SimplSharpHelperInterface.dll</HintPath>
<HintPath>..\..\..\..\ProgramData\Crestron\SDK\SimplSharpHelperInterface.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SimplSharpNewtonsoft, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1099c178b3b54c3b, processorArchitecture=MSIL">
Expand Down

0 comments on commit e290caa

Please sign in to comment.