This commit is contained in:
2019-04-09 16:34:59 +01:00
parent 3ef1475d63
commit ef02a3a6ad
46 changed files with 2122 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
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;
}
//-------------------------------------------------------------------
}
//=======================================================================
}