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()
|
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}";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue