mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
Move some activation steps to PostActivation
This commit is contained in:
parent
7c4222a598
commit
c7e6e0c250
1 changed files with 10 additions and 26 deletions
|
|
@ -167,13 +167,6 @@ namespace PepperDash.Essentials.Core.Fusion
|
||||||
ReadGuidFile(guidFilePath);
|
ReadGuidFile(guidFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateSymbolAndBasicSigs(IpId);
|
|
||||||
SetUpSources();
|
|
||||||
SetUpCommunitcationMonitors();
|
|
||||||
SetUpDisplay();
|
|
||||||
SetUpError();
|
|
||||||
ExecuteCustomSteps();
|
|
||||||
|
|
||||||
if (Room.RoomOccupancy != null)
|
if (Room.RoomOccupancy != null)
|
||||||
{
|
{
|
||||||
if (Room.OccupancyStatusProviderIsRemote)
|
if (Room.OccupancyStatusProviderIsRemote)
|
||||||
|
|
@ -184,6 +177,8 @@ namespace PepperDash.Essentials.Core.Fusion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CreateSymbolAndBasicSigs(IpId);
|
||||||
|
|
||||||
AddPostActivationAction(() =>
|
AddPostActivationAction(() =>
|
||||||
{
|
{
|
||||||
SetUpSources();
|
SetUpSources();
|
||||||
|
|
@ -192,17 +187,6 @@ namespace PepperDash.Essentials.Core.Fusion
|
||||||
SetUpError();
|
SetUpError();
|
||||||
ExecuteCustomSteps();
|
ExecuteCustomSteps();
|
||||||
|
|
||||||
if (Room.RoomOccupancy == null)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (Room.OccupancyStatusProviderIsRemote)
|
|
||||||
SetUpRemoteOccupancy();
|
|
||||||
else
|
|
||||||
{
|
|
||||||
SetUpLocalOccupancy();
|
|
||||||
}
|
|
||||||
|
|
||||||
FusionRVI.GenerateFileForAllFusionDevices();
|
FusionRVI.GenerateFileForAllFusionDevices();
|
||||||
|
|
||||||
GenerateGuidFile(guidFilePath);
|
GenerateGuidFile(guidFilePath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue