mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
refactor: remove room
This commit is contained in:
@@ -15,15 +15,14 @@ namespace PepperDash.Core.Logging
|
|||||||
|
|
||||||
static CrestronEnricher()
|
static CrestronEnricher()
|
||||||
{
|
{
|
||||||
if(CrestronEnvironment.DevicePlatform == eDevicePlatform.Appliance)
|
switch (CrestronEnvironment.DevicePlatform)
|
||||||
{
|
{
|
||||||
_appName = $"App {InitialParametersClass.ApplicationNumber}";
|
case eDevicePlatform.Appliance:
|
||||||
return;
|
_appName = $"App {InitialParametersClass.ApplicationNumber}";
|
||||||
}
|
break;
|
||||||
|
case eDevicePlatform.Server:
|
||||||
if(CrestronEnvironment.DevicePlatform == eDevicePlatform.Server)
|
_appName = $"{InitialParametersClass.RoomId}";
|
||||||
{
|
break;
|
||||||
_appName = $"Room {InitialParametersClass.RoomId}";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user