using Prism.Events;
namespace DTS.Common.Events
{
///
/// Event to inform app that page navigation has been requested
/// 15125 Navigate to selected sensor from run test diagnostics
///
///
///
///
public class PageNavigationRequestEvent : PubSubEvent { }
///
/// a page navigation request, specifies who requested, and where they requested to go
///
public class PageNavigationRequest
{
///
/// places to go
///
public enum Destinations
{
Sensor,
//16056 Default landing page after login should be Test Setup
TestSetups
}
///
/// where to go
///
public Destinations Destination { get; private set; }
///
/// any information needed to navigate to the destination
///
public object DestinationArg { get; private set; }
///
/// who requested the navigation
///
public object Caller { get; private set; }
public PageNavigationRequest(Destinations destination, object destinationArg, object caller)
{
Destination = destination;
DestinationArg = destinationArg;
Caller = caller;
}
}
}