59 lines
2.1 KiB
C#
59 lines
2.1 KiB
C#
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
|
using Sarand.BusinessMgr.Net.Standard.Base.Core;
|
|
using Sarand.Net.Standard.Base.App;
|
|
using Sarand.Net.Standard.Base.Bus;
|
|
using Sarand.Net.Standard.Base.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sarand.BusinessMgr.Net.Standard.Base.Mgr
|
|
{
|
|
//=======================================================================
|
|
public class SbmItemMgr : SacsItemMgr
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
|
|
//-------------------------------------------------------------------
|
|
// Static initialisation.
|
|
static SbmItemMgr()
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SbmItemMgr()
|
|
{
|
|
ElapsedLogger = new ElapsedTimeLogger(GetType().Name);
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
protected bool DebugMode { get; } = SacsSystem.DebugMode;
|
|
protected ElapsedTimeLogger ElapsedLogger { get; }
|
|
// Status.
|
|
protected String StatusActive { get; } = SacsSystem.GetStatusCode(SaStatus.Active);
|
|
protected String StatusProvisional { get; } = SacsSystem.GetStatusCode(SaStatus.Provisional);
|
|
protected String StatusAwaiting { get; } = SacsSystem.GetStatusCode(SaStatus.Awaiting);
|
|
protected String StatusCurrent { get; } = SacsSystem.GetStatusCode(SaStatus.Current);
|
|
protected String StatusCompleted { get; } = SacsSystem.GetStatusCode(SaStatus.Completed);
|
|
protected String StatusCancelled { get; } = SacsSystem.GetStatusCode(SaStatus.Cancelled);
|
|
protected String StatusDisabled { get; } = SacsSystem.GetStatusCode(SaStatus.Disabled);
|
|
protected String StatusDeleted { get; } = SacsSystem.GetStatusCode(SaStatus.Deleted);
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|