init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using DTS.Common.Events;
|
||||
using DTS.Common.Interface.ISO.ExtraProperties;
|
||||
|
||||
namespace DTS.Common.ISO.ExtraProperties
|
||||
{
|
||||
public class TextPastedArgs : ITextPastedEventArgs
|
||||
{
|
||||
public string Text { get; }
|
||||
public object Sender { get; }
|
||||
public string Id { get; }
|
||||
public object Tag { get; }
|
||||
|
||||
public TextPastedArgs(string text, IExtraProperty extraProperty, string id, object tag)
|
||||
{
|
||||
Text = text;
|
||||
Sender = extraProperty;
|
||||
Id = id;
|
||||
Tag = tag;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event to inform app that it should mark itself busy or available
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
public class UserEvent : PubSubEvent<UserEventArg> { }
|
||||
|
||||
public class UserEventArg
|
||||
{
|
||||
public enum Events
|
||||
{
|
||||
ViewingUserChanged
|
||||
}
|
||||
|
||||
public Events EventType { get; private set; }
|
||||
public object Argument { get; private set; }
|
||||
|
||||
public UserEventArg(Events eventType, object argument)
|
||||
{
|
||||
EventType = eventType;
|
||||
Argument = argument;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class GalleryItemData : ControlData
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using DTS.Common.Base;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
/// <summary>
|
||||
/// Main View Model for PSD Report view. This is going to resemble a lot of Viewer
|
||||
/// </summary>
|
||||
|
||||
public interface IPSDReportMainViewModel : IBaseViewModel, ISelectedDataViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
|
||||
//bool Standalone { get; set; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextGraphRegion { get; set; }
|
||||
object ContextTestsRegion { get; set; }
|
||||
object ContextGraphsRegion { get; set; }
|
||||
object ContextLegendRegion { get; set; }
|
||||
object ContextPropertyRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
string ConfigPath { get; set; }
|
||||
bool DoesUserHaveEditPermission { get; set; }
|
||||
void ZoomReset();
|
||||
//inform left arrow key was pressed
|
||||
void LeftKeyPress();
|
||||
//inform right arrow key was pressed
|
||||
void RightKeyPress();
|
||||
Common.Enums.IsoViewMode ChannelCodeViewMode { get; set; }
|
||||
Common.Enums.Sensors.CalibrationBehaviors CalibrationBehaviorSetting { get; set; }
|
||||
bool CalibrationBehaviorSettableInViewer { get; set; }
|
||||
Visibility SettingsVisibility { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface IInitialOffsets
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace DTS.Common.Interface.DASFactory
|
||||
{
|
||||
public interface IRangeBandwidthLimited
|
||||
{
|
||||
bool RangeBandwidthLimited { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user