Add project files.

This commit is contained in:
Thomas Savine
2020-03-06 16:07:06 +00:00
parent e7b186c7e3
commit 70de9715ce
300 changed files with 43679 additions and 0 deletions
@@ -0,0 +1,28 @@
using Sarand.OperationsMgr.Core.App;
using Sarand.Win.Dbas.Base;
using Sarand.Win.Dbas.CodeTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnCodeTypeConsole_Dbas : SaCodeTypeConsole_Dbas
{
//-------------------------------------------------------------------
// Construction.
protected OpnCodeTypeConsole_Dbas(SacsDatabase database) : base(database)
{
}
//-------------------------------------------------------------------
// Properties.
public OpnUserContext UserContext { get; set; }
//-------------------------------------------------------------------
}
//=======================================================================
}
@@ -0,0 +1,115 @@
using Sarand.Core.Base;
using Sarand.Core.Bus;
using Sarand.Core.Interfaces;
using Sarand.Core.ItemOptions;
using Sarand.Core.UpdateLog;
using Sarand.OperationsMgr.Core.App;
using Sarand.Win.Dbas.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnInterfaceConsole_Dbas : SaInterfaceConsole_Dbas
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
protected OpnInterfaceConsole_Dbas (OpnUserContext userContext) : base(null)
{
UserContext = userContext;
}
//-------------------------------------------------------------------
// Properties.
public OpnUserContext UserContext { get; }
public OpnSessionContext SessionContext { get; }
public override short InterfaceDataType => throw new NotImplementedException();
public override SaItemOptionConsole ItemOptionConsole => throw new NotImplementedException();
public override SaUpdateLogConsole UpdateLogConsole => throw new NotImplementedException();
//---------------------------------------------------------------
// Utilities.
public override String GetItemTypeDesc (short itemType)
{
throw new NotImplementedException();
}
public override string GetItemCaption (ItemId itemId)
{
throw new NotImplementedException();
}
//-------------------------------------------------------------------
// R e g i s t e r I n t e r f a c e s
//-------------------------------------------------------------------
//-------------------------------------------------------------------
// I n t e r f a c e A c c e s s C o n t r o l
//-------------------------------------------------------------------
public override bool CanCreateInterfaces ()
{
throw new NotImplementedException();
}
public override bool CanCreateInterfaces (string context, SaInterfaceCategory interfaceCategory)
{
throw new NotImplementedException();
}
public override bool CanCreateInterface (string context, SaInterfaceCategory interfaceCategory, short interfaceType)
{
throw new NotImplementedException();
}
public override bool CanUpdateInterface (SaInterface interfaceObj)
{
throw new NotImplementedException();
}
public override bool CanCopyInterfaces ()
{
throw new NotImplementedException();
}
public override bool CanCopyInterfaces (string context, SaInterfaceCategory interfaceCategory)
{
throw new NotImplementedException();
}
public override bool CanCopyInterface (string context, SaInterfaceCategory interfaceCategory, short interfaceType)
{
throw new NotImplementedException();
}
public override bool CanCopyInterface (SaInterface interfaceObj)
{
throw new NotImplementedException();
}
public override bool IsCompatibleForInterfaceCopy (string context, SaInterfaceCategory interfaceCategory, int typeFrom, int typeTo)
{
throw new NotImplementedException();
}
public override bool CanRemoveInterface (SaInterface interfaceObj)
{
throw new NotImplementedException();
}
//---------------------------------------------------------------
// I n t e r f a c e E v e n t s
//---------------------------------------------------------------
public override void OnInterfaceCreated (SysId interfaceId)
{
throw new NotImplementedException();
}
public override void OnInterfaceUpdated (SysId interfaceId)
{
throw new NotImplementedException();
}
public override void OnInterfaceRemoved (SysId interfaceId)
{
throw new NotImplementedException();
}
//-------------------------------------------------------------------
}
//=======================================================================
}
@@ -0,0 +1,44 @@
using Sarand.Core.Bus;
using Sarand.Core.ItemOptions;
using Sarand.Core.UpdateLog;
using Sarand.OperationsMgr.Core.App;
using Sarand.Win.Dbas.Base;
using Sarand.Win.Dbas.ItemOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnItemOptionConsole_Dbas : SaItemOptionConsole_Dbas
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
protected OpnItemOptionConsole_Dbas (SacsDatabase database) : base(database)
{
}
//-------------------------------------------------------------------
// Properties.
public OpnUserContext UserContext {get;set;}
public override short ItemOptionDataType => throw new NotImplementedException();
public override SaUpdateLogConsole UpdateLogConsole => throw new NotImplementedException();
//-------------------------------------------------------------------
// I t e m O p t i o n D e f i n i t i o n s
//-------------------------------------------------------------------
public override List<SaItemOptionDfn> GetItemOptionDfnsForItem (ItemId itemId)
{
throw new NotImplementedException();
}
//-------------------------------------------------------------------
}
//=======================================================================
}
@@ -0,0 +1,38 @@
using Sarand.Core.UpdateLog;
using Sarand.OperationsMgr.Core.App;
using Sarand.Win.Dbas.Base;
using Sarand.Win.Dbas.ReferenceData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnReferenceDataConsole_Dbas : SaReferenceDataConsole_Dbas
{
//-------------------------------------------------------------------
// Construction.
protected OpnReferenceDataConsole_Dbas (OpnUserContext userContext ,SacsDatabase database) :
base(database)
{
UserContext = userContext;
}
//-------------------------------------------------------------------
// Properties.
public OpnUserContext UserContext { get; }
public override SaUpdateLogConsole UpdateLogConsole => throw new NotImplementedException();
// Item types.
public override short LanguageItemType => throw new NotImplementedException();
public override short RegionItemType => throw new NotImplementedException();
public override short CurrencyItemType => throw new NotImplementedException();
public override short TaxCodeItemType => throw new NotImplementedException();
public override short UnitMeasureItemType => throw new NotImplementedException();
//-------------------------------------------------------------------
}
//=======================================================================
}
@@ -0,0 +1,52 @@
using Sarand.Core.UpdateLog;
using Sarand.Win.Dbas.Base;
using Sarand.Win.Dbas.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnSecurityConsole_Dbas : SaSecurityConsole_Dbas
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
protected OpnSecurityConsole_Dbas (SacsDatabase database) : base(database)
{
}
//-------------------------------------------------------------------
// Properties.
public override short SecurityItemDataType => throw new NotImplementedException();
public override short SecurityLinkDataType => throw new NotImplementedException();
public override SaUpdateLogConsole UpdateLogConsole => throw new NotImplementedException();
//-------------------------------------------------------------------
// Utilities.
//-------------------------------------------------------------------
// S e c u r i t y R i g h t s
//-------------------------------------------------------------------
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// R e g i t e r S e c u r i t y R i g h t s
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Register Security Rights.
public override void RegisterSecurityRights ()
{
throw new NotImplementedException();
}
//---------------------------------------------------------------
// Register the security data item types.
//-------------------------------------------------------------------
}
//=======================================================================
}
@@ -0,0 +1,39 @@
using Sarand.Core.Bus;
using Sarand.Core.Security;
using Sarand.OperationsMgr.Core.App;
using Sarand.Win.Dbas.Base;
using Sarand.Win.Dbas.UpdateLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.App.Consoles
{
//=======================================================================
public abstract class OpnUpdateLogConsole_Dbas : SaUpdateLogConsole_Dbas
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
protected OpnUpdateLogConsole_Dbas (SacsDatabase database) : base(database)
{
}
//-------------------------------------------------------------------
// Properties.
//-------------------------------------------------------------------
// Get name for User Id.
public override Dictionary<SysId, String> GetNameForUserIds(List<SysId> userIds)
{
return null;
}
//-------------------------------------------------------------------
}
//=======================================================================
}