mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
rename ConfigureComPort to RegisterAndConfigureComPort
This commit is contained in:
parent
671d506b45
commit
44fcbf98f2
2 changed files with 7 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
Port = postActivationFunc(config);
|
||||
|
||||
ConfigureComPort();
|
||||
RegisterAndConfigureComPort();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -47,16 +47,13 @@ namespace PepperDash.Essentials.Core
|
|||
Spec = spec;
|
||||
//IsConnected = new BoolFeedback(CommonBoolCue.IsConnected, () => true);
|
||||
|
||||
|
||||
ConfigureComPort();
|
||||
RegisterAndConfigureComPort();
|
||||
}
|
||||
|
||||
private void ConfigureComPort()
|
||||
private void RegisterAndConfigureComPort()
|
||||
{
|
||||
if (Port.Parent is CrestronControlSystem)
|
||||
{
|
||||
|
||||
|
||||
var result = Port.Register();
|
||||
if (result != eDeviceRegistrationUnRegistrationResponse.Success)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue