89 lines
5.0 KiB
C#
89 lines
5.0 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 static String StatusCurrent { get; } = SacsSystem.GetStatusCode(SaStatus.Current);
|
|
protected static String StatusRedundant { get; } = SacsSystem.GetStatusCode(SaStatus.Redundant);
|
|
protected static String StatusSuperseded { get; } = SacsSystem.GetStatusCode(SaStatus.Superseded);
|
|
protected static String StatusDiscontinued { get; } = SacsSystem.GetStatusCode(SaStatus.Discontinued);
|
|
protected static String StatusProvisional { get; } = SacsSystem.GetStatusCode(SaStatus.Provisional);
|
|
protected static String StatusConfirmed { get; } = SacsSystem.GetStatusCode(SaStatus.Confirmed);
|
|
protected static String StatusEnabled { get; } = SacsSystem.GetStatusCode(SaStatus.Enabled);
|
|
protected static String StatusDisabled { get; } = SacsSystem.GetStatusCode(SaStatus.Disabled);
|
|
protected static String StatusCreated { get; } = SacsSystem.GetStatusCode(SaStatus.Created);
|
|
protected static String StatusUpdated { get; } = SacsSystem.GetStatusCode(SaStatus.Updated);
|
|
protected static String StatusReinstated { get; } = SacsSystem.GetStatusCode(SaStatus.Reinstated);
|
|
protected static String StatusDeleted { get; } = SacsSystem.GetStatusCode(SaStatus.Deleted);
|
|
protected static String StatusRequired { get; } = SacsSystem.GetStatusCode(SaStatus.Required);
|
|
protected static String StatusAwaiting { get; } = SacsSystem.GetStatusCode(SaStatus.Awaiting);
|
|
protected static String StatusPreparation { get; } = SacsSystem.GetStatusCode(SaStatus.Preparation);
|
|
protected static String StatusRaised { get; } = SacsSystem.GetStatusCode(SaStatus.Raised);
|
|
protected static String StatusInProgress { get; } = SacsSystem.GetStatusCode(SaStatus.InProgress);
|
|
protected static String StatusActive { get; } = SacsSystem.GetStatusCode(SaStatus.Active);
|
|
protected static String StatusInactive { get; } = SacsSystem.GetStatusCode(SaStatus.Inactive);
|
|
protected static String StatusOnHold { get; } = SacsSystem.GetStatusCode(SaStatus.OnHold);
|
|
protected static String StatusImported { get; } = SacsSystem.GetStatusCode(SaStatus.Imported);
|
|
protected static String StatusExported { get; } = SacsSystem.GetStatusCode(SaStatus.Exported);
|
|
protected static String StatusOpen { get; } = SacsSystem.GetStatusCode(SaStatus.Open);
|
|
protected static String StatusClosed { get; } = SacsSystem.GetStatusCode(SaStatus.Closed);
|
|
protected static String StatusCompleted { get; } = SacsSystem.GetStatusCode(SaStatus.Completed);
|
|
protected static String StatusInvoiced { get; } = SacsSystem.GetStatusCode(SaStatus.Invoiced);
|
|
protected static String StatusCancelled { get; } = SacsSystem.GetStatusCode(SaStatus.Cancelled);
|
|
protected static String StatusSuccessful { get; } = SacsSystem.GetStatusCode(SaStatus.Successful);
|
|
protected static String StatusFailed { get; } = SacsSystem.GetStatusCode(SaStatus.Failed);
|
|
protected static String StatusActioned { get; } = SacsSystem.GetStatusCode(SaStatus.Actioned);
|
|
protected static String StatusAuthorised { get; } = SacsSystem.GetStatusCode(SaStatus.Authorised);
|
|
protected static String StatusAccepted { get; } = SacsSystem.GetStatusCode(SaStatus.Accepted);
|
|
protected static String StatusRejected { get; } = SacsSystem.GetStatusCode(SaStatus.Rejected);
|
|
protected static String StatusSubmitted { get; } = SacsSystem.GetStatusCode(SaStatus.Submitted);
|
|
protected static String StatusQueried { get; } = SacsSystem.GetStatusCode(SaStatus.Queried);
|
|
protected static String StatusGranted { get; } = SacsSystem.GetStatusCode(SaStatus.Granted);
|
|
protected static String StatusDenied { get; } = SacsSystem.GetStatusCode(SaStatus.Denied);
|
|
protected static String StatusLogged { get; } = SacsSystem.GetStatusCode(SaStatus.Logged);
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|