using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.Operation;
namespace Tango.PPC.Common.Connection
{
/// <summary>
/// Represents the <see cref="IMachineProvider.MachineOperatorChanged"/> event arguments.
/// </summary>
/// <seealso cref="System.EventArgs" />
public class MachineOperatorChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the old machine operator.
/// </summary>
public IMachineOperator OldMachineOperator { get; private set; }
/// <summary>
/// Gets the new machine operator.
/// </summary>
public IMachineOperator MachineOperator { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="MachineOperatorChangedEventArgs"/> class.
/// </summary>
/// <param name="oldOperator">The old operator.</param>
/// <param name="newOperator">The new operator.</param>
public MachineOperatorChangedEventArgs(IMachineOperator oldOperator, IMachineOperator newOperator)
{
OldMachineOperator = oldOperator;
MachineOperator = newOperator;
}
}
}