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()
|
||||
{
|
||||
if(CrestronEnvironment.DevicePlatform == eDevicePlatform.Appliance)
|
||||
switch (CrestronEnvironment.DevicePlatform)
|
||||
{
|
||||
_appName = $"App {InitialParametersClass.ApplicationNumber}";
|
||||
return;
|
||||
}
|
||||
|
||||
if(CrestronEnvironment.DevicePlatform == eDevicePlatform.Server)
|
||||
{
|
||||
_appName = $"Room {InitialParametersClass.RoomId}";
|
||||
case eDevicePlatform.Appliance:
|
||||
_appName = $"App {InitialParametersClass.ApplicationNumber}";
|
||||
break;
|
||||
case eDevicePlatform.Server:
|
||||
_appName = $"{InitialParametersClass.RoomId}";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user