Core
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using Sarand.PatientMgr.Core.App;
|
||||
using Sarand.PatientMgr.Core.Mgr;
|
||||
using Sarand.Core.Base;
|
||||
using Sarand.Core.IO;
|
||||
using Sarand.PatientMgr.Win.Dbas.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Sarand.PatientMgr.Win.Dbas.Mgr;
|
||||
|
||||
namespace Sarand.PatientMgr.Win.Dbas.App
|
||||
{
|
||||
//=======================================================================
|
||||
public class SpmSystem_WinDbas : SpmSystem
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Static initialisation.
|
||||
public static void InitStatics ()
|
||||
{
|
||||
// Initialise static environment values.
|
||||
ComputerName = System.Environment.MachineName;
|
||||
UserName = Environment.UserName;
|
||||
ApplicationPath = System.Reflection.Assembly.GetEntryAssembly().Location;
|
||||
ApplicationFolder = Path.GetDirectoryName(ApplicationPath);
|
||||
AssemblyBuildAt = FileUtil.GetFileLastWriteTime(ApplicationPath);
|
||||
|
||||
// Initialise other statics.
|
||||
SpmFileUtil.InitStatics();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public SpmSystem_WinDbas (PropertySet properties) : base(properties)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// D a t a M a n a g e r s
|
||||
//-------------------------------------------------------------------
|
||||
public override SpmAdmissionMgr CreateAdmissionMgr (SpmUserContext userContext)
|
||||
{
|
||||
return new SpmAdmissionMgr_Dbas(userContext);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
Reference in New Issue
Block a user