Skip to content

Commit

Permalink
feat: cleans up code, adds versiport comment, changes ShowEmergencyMe…
Browse files Browse the repository at this point in the history
…ssage arg name to "url"
  • Loading branch information
aknous committed Nov 19, 2024
1 parent cd81b8a commit f68b1e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
{
public interface IEmergencyOSD
{
void ShowEmergencyMessage(string roomKey);
void ShowEmergencyMessage(string url);
void HideEmergencyMessage();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class EssentialsRoomEmergencyConfig
public class EssentialsRoomEmergencyTriggerConfig
{
/// <summary>
/// contact,
/// contact,versiport
/// </summary>
public string Type { get; set; }
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public EssentialsRoomEmergencyContactClosure(string key, EssentialsRoomEmergency
cs.VersiPorts[portNum].Register();
cs.VersiPorts[portNum].SetVersiportConfiguration(eVersiportConfiguration.DigitalInput);
cs.VersiPorts[portNum].DisablePullUpResistor = true;
cs.VersiPorts[portNum].VersiportChange += EssentialsRoomEmergencyContactClosure_VersiportChange; ;
cs.VersiPorts[portNum].VersiportChange += EssentialsRoomEmergencyContactClosure_VersiportChange;
}
}
Behavior = config.Behavior;
Expand Down

0 comments on commit f68b1e9

Please sign in to comment.