38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using Sarand.Core.CodeTypes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.PatientMgr.Core.App
|
|
{
|
|
//=======================================================================
|
|
public static class SpmGlobals
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// System.
|
|
public static SpmSystem System { get; set; } = null;
|
|
|
|
//-------------------------------------------------------------------
|
|
// Application.
|
|
public static SpmApplication Application { get; set; }
|
|
|
|
//-------------------------------------------------------------------
|
|
// Consoles.
|
|
public static SaCodeTypeConsole GetCodeTypeConsole (SpmUserContext userContext)
|
|
{
|
|
return Application.GetCodeTypeConsole(userContext);
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Clear globals.
|
|
public static void clear ()
|
|
{
|
|
System = null;
|
|
Application = null;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|