mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
Merge branch 'main' into release/1.6.0
This commit is contained in:
@@ -165,29 +165,34 @@ namespace PepperDash.Essentials.Core.Fusion
|
|||||||
{
|
{
|
||||||
// Exists. Read GUIDs
|
// Exists. Read GUIDs
|
||||||
ReadGuidFile(guidFilePath);
|
ReadGuidFile(guidFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Room.RoomOccupancy != null)
|
||||||
|
{
|
||||||
|
if (Room.OccupancyStatusProviderIsRemote)
|
||||||
|
SetUpRemoteOccupancy();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetUpLocalOccupancy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateSymbolAndBasicSigs(IpId);
|
|
||||||
SetUpSources();
|
|
||||||
SetUpCommunitcationMonitors();
|
|
||||||
SetUpDisplay();
|
|
||||||
SetUpError();
|
|
||||||
ExecuteCustomSteps();
|
|
||||||
|
|
||||||
if (Room.RoomOccupancy != null)
|
AddPostActivationAction(() =>
|
||||||
{
|
{
|
||||||
if (Room.OccupancyStatusProviderIsRemote)
|
CreateSymbolAndBasicSigs(IpId);
|
||||||
SetUpRemoteOccupancy();
|
SetUpSources();
|
||||||
else
|
SetUpCommunitcationMonitors();
|
||||||
{
|
SetUpDisplay();
|
||||||
SetUpLocalOccupancy();
|
SetUpError();
|
||||||
}
|
ExecuteCustomSteps();
|
||||||
}
|
|
||||||
|
FusionRVI.GenerateFileForAllFusionDevices();
|
||||||
|
|
||||||
|
GenerateGuidFile(guidFilePath);
|
||||||
|
});
|
||||||
|
|
||||||
// Make it so!
|
|
||||||
FusionRVI.GenerateFileForAllFusionDevices();
|
|
||||||
|
|
||||||
GenerateGuidFile(guidFilePath);
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user