init
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event to inform app that it should mark itself busy or available
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
public class AppStatusEvent : CompositePresentationEvent<AppStatusArg> { }
|
||||
/// <summary>
|
||||
/// app status extended event
|
||||
/// app status event notification providing additional information
|
||||
/// 15648 Need busy cursor for view data tab
|
||||
/// </summary>
|
||||
public class AppStatusExEvent : CompositePresentationEvent<AppStatusExArg> { }
|
||||
|
||||
public class AppStatusExArg
|
||||
{
|
||||
/// <summary>
|
||||
/// status being notified
|
||||
/// </summary>
|
||||
public AppStatusArg Status { get; private set; }
|
||||
/// <summary>
|
||||
/// name of process notifying of status
|
||||
/// </summary>
|
||||
public string Name { get; private set; }
|
||||
|
||||
public AppStatusExArg(AppStatusArg status, string name)
|
||||
{
|
||||
Status = status;
|
||||
Name = name;
|
||||
}
|
||||
}
|
||||
public enum AppStatusArg
|
||||
{
|
||||
Busy,
|
||||
Available,
|
||||
Shutdown, //called when windows or the user session is ended (logged out)
|
||||
Close, //called when the application is closed
|
||||
UserLogout //called when a user is logged out
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IRealtimeSettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
Reference in New Issue
Block a user