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
@@ -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);
}
//-------------------------------------------------------------------
}
//=======================================================================
}