Add project files.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Sarand.Win.Dbas.Base;
|
||||
using Sarand.Win.Dbas.CodeTypes;
|
||||
|
||||
namespace Sarand.OperationsMgr.App.Consoles
|
||||
{
|
||||
//=======================================================================
|
||||
public class OpnCodeTypeConsole_App : OpnCodeTypeConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnCodeTypeConsole_App(SacsDatabase database) : base(database)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Method to display Code Types dialog.
|
||||
protected override MaintainCodeTypesFunction MaintainCodeTypesFn => throw new NotImplementedException();
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
using Sarand.Core.Base;
|
||||
using Sarand.Core.Bus;
|
||||
using Sarand.Core.Dbas.Base;
|
||||
using Sarand.Core.Interfaces;
|
||||
using Sarand.Core.ItemOptions;
|
||||
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 class OpnInterfaceConsole_App : OpnInterfaceConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Data members.
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnInterfaceConsole_App (OpnUserContext userContext) : base(userContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Method to display Interfaces dialog.
|
||||
protected override MaintainInterfacesFunction MaintainInterfacesFn => throw new NotImplementedException();
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Interface item option definitions.
|
||||
public override List<SaItemOptionDfn> GetInterfaceItemOptionDfns (SaInterfaceCategory interfaceCategory, short interfaceType)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public override List<SaItemOptionDfn> GetInterfaceItemOptionDfns (SysId interfaceId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool AreMultipleInterfaceInstancesAllowed (string context, SaInterfaceCategory interfaceCategory, short interfaceType)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public override bool AreMultipleActiveInterfacesAllowed (string context, SaInterfaceCategory interfaceCategory)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// P r o c e s s i n g O p t i o n s
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// P r o c e s s I n t e r f a c e
|
||||
//-------------------------------------------------------------------
|
||||
public override bool CanProcessInterface (SaInterface interfaceObj)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public override bool ProcessInterface (SaInterface interfaceObj, DbUpdateInfo dbUpdateInfo)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
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 class OpnItemOptionConsole_App : OpnItemOptionConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnItemOptionConsole_App(SacsDatabase database) : base(database)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Method to display Security management dialog.
|
||||
protected override ShowItemOptionsDialogFunction ShowItemOptionsDialogFn => throw new NotImplementedException();
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
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 class OpnReferenceDataConsole_App : OpnReferenceDataConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnReferenceDataConsole_App(OpnUserContext userContext, SacsDatabase database) : base (userContext, database)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Method to display Reference Data dialog.
|
||||
protected override MaintainReferenceDataFunction MaintainReferenceDataFn => throw new NotImplementedException();
|
||||
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Sarand.Core.Bus;
|
||||
using Sarand.Win.Dbas.Base;
|
||||
using Sarand.Win.Dbas.Security;
|
||||
|
||||
namespace Sarand.OperationsMgr.App.Consoles
|
||||
{
|
||||
//=======================================================================
|
||||
public class OpnSecurityConsole_App : OpnSecurityConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Data members.
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnSecurityConsole_App(SacsDatabase database) :
|
||||
base(database)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Security events.
|
||||
protected override bool OnLogin (SysId userId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
protected override void OnLogout ()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Method to display Security management form.
|
||||
protected override ShowManageSecurityDialogFunction ShowManageSecurityDialogFn => throw new NotImplementedException();
|
||||
// Method to display User Login form.
|
||||
protected override ShowUserLoginFormFunction ShowUserLoginFormFn => throw new NotImplementedException();
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
public override bool OnUserModified (SysId userId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public override bool OnSecurityGroupModified (SysId userId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
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 class OpnUpdateLogConsole_App : OpnUpdateLogConsole_Dbas
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnUpdateLogConsole_App(SacsDatabase database) : base(database)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Method to display Security management dialog.
|
||||
protected override ShowUpdateLogDialogFunction ShowUpdateLogDialogFn => throw new NotImplementedException();
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using Sarand.OperationsMgr.Core.App;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sarand.OperationsMgr.App
|
||||
{
|
||||
//=======================================================================
|
||||
public class OpnSessionContext_Desktop : OpnSessionContext
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public OpnSessionContext_Desktop (ushort index) :
|
||||
base(index)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SaOperationsMgr
|
||||
{
|
||||
//=======================================================================
|
||||
static class Program
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main ()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using Sarand.Core.Base;
|
||||
using Sarand.OperationsMgr.Core.App;
|
||||
using Sarand.Win.Dbas.Base;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sarand.OperationsMgr.App
|
||||
{
|
||||
//=======================================================================
|
||||
public class SaOperationsMgrApp : SacsStateItem, IDisposable
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Data members.
|
||||
private static SaOperationsMgrApp app = null;
|
||||
private readonly PropertySet properties;
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public SaOperationsMgrApp(String initialLogMessage)
|
||||
{
|
||||
}
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Properties.
|
||||
public OpnSessionContext SessionContext { get; private set; }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// I n s t a n c e
|
||||
//-------------------------------------------------------------------
|
||||
public static SaOperationsMgrApp getInstance ()
|
||||
{
|
||||
return app;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// R e f r e s h
|
||||
//-------------------------------------------------------------------
|
||||
public void RefreshFrontEnd()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// G l o b a l s
|
||||
//-------------------------------------------------------------------
|
||||
private void InitGlobals ()
|
||||
{
|
||||
}
|
||||
private SacsDatabase OpenDatabase ()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
private void DeinitGlobals()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
Reference in New Issue
Block a user