init
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDBExportView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDBImportView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDBViewModel : IBaseViewModel
|
||||
{
|
||||
IDBImportView ImportView { get; set; }
|
||||
IDBExportView ExportView { get; set; }
|
||||
/// <summary>
|
||||
/// file name to import from
|
||||
/// we may not need this in the viewmodel if the viewmodel is capable of doing all the operations it needs to do
|
||||
/// but for now I leave it here so it can be initialized
|
||||
/// </summary>
|
||||
string ImportFileName { get; set; }
|
||||
string ImportStatusText { get; set; }
|
||||
/// <summary>
|
||||
/// file name to export to
|
||||
/// same caveat as above
|
||||
/// </summary>
|
||||
string ExportFileName { get; set; }
|
||||
/// <summary>
|
||||
/// for now this is formatted xml string to write to the file
|
||||
/// </summary>
|
||||
string ExportData { get; set; }
|
||||
/// <summary>
|
||||
/// for now this is the formatted xml string read from the file
|
||||
/// </summary>
|
||||
string ImportData { get; set; }
|
||||
/// <summary>
|
||||
/// Exports ExportData to ExportFileName
|
||||
/// </summary>
|
||||
void Export();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IISOSettingsData : IBaseClass
|
||||
{
|
||||
bool UniqueISOCodesRequired { get; set; }
|
||||
IsoViewMode ISOViewMode {get;set;}
|
||||
bool ShowISOStringBuilder { get; set; }
|
||||
bool ShowChannelCodeLookupHelper { get; set; }
|
||||
bool UseISOCodeFilterMapping { get; set; }
|
||||
bool ShowISOCodes { get; }
|
||||
bool ShowUserCodes { get; }
|
||||
bool ChannelNamesOnly { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IISOSettingsModel : IBaseModel
|
||||
{
|
||||
void SaveData(IISOSettingsData data);
|
||||
IISOSettingsData LoadData();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IISOSettingsViewModel : IBaseViewModel
|
||||
{
|
||||
IISOSettingsView View { get; set; }
|
||||
IISOSettingsData ISOData { get; set; }
|
||||
IISOSettingsModel Model { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IISOSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ISystemSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ISystemSettingsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
ISystemSettingsView View { get; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
Object ContextMenuRegion { get; set; }
|
||||
Object ContextMainRegion { get; set; }
|
||||
Object ContextNavigationRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPowerAndBatteryView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPowerAndBatteryViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IQASettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IQASettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IRealtimeSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IRealtimeSettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITablesSettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITablesSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestSettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IUISettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IUISettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
Reference in New Issue
Block a user