generated from PepperDash/EssentialsPluginTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from PepperDash/feature/socket-connection
Feature/socket connection
- Loading branch information
Showing
7 changed files
with
98 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@Echo ON | ||
nuget install .\packages.config -OutputDirectory .\packages -excludeVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
epi-display-panasonic-projectors/PanasonicIpStatusMonitor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using PepperDash.Core; | ||
using PepperDash.Essentials.Core; | ||
|
||
namespace PepperDash.Essentials | ||
{ | ||
public class PanasonicStatusMonitor : StatusMonitorBase | ||
{ | ||
public PanasonicStatusMonitor(IKeyed parent, ICommunicationReceiver coms, long warningTime, long errorTime) | ||
: base(parent, warningTime, errorTime) | ||
{ | ||
coms.TextReceived += (sender, args) => | ||
{ | ||
Status = MonitorStatus.IsOk; | ||
ResetErrorTimers(); | ||
}; | ||
} | ||
|
||
public override void Start() | ||
{ | ||
StartErrorTimers(); | ||
} | ||
|
||
public override void Stop() | ||
{ | ||
StopErrorTimers(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<packages> | ||
<package id="PepperDashEssentials" version="1.7.6" targetFramework="net35" allowedVersions="[1.0,2.0)"/> | ||
<package id="PepperDashEssentials" version="1.10.5" targetFramework="net35" allowedVersions="[1.0,2.0)"/> | ||
</packages> |