mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
refactor: remove room
This commit is contained in:
parent
e581eede56
commit
e9be8c98a2
1 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue