Initial commit
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Xylem.Common.Hardware.WaterMeter.WaterMeterCore
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for <see cref="IMeter"/> Events
|
||||
/// you can use <see cref="IMeterEvents"/> without events (so with out <see cref="IMeter"/>)
|
||||
/// </summary>
|
||||
[Guid("205F5E52-8929-4C69-B270-1B57FC3F5A92"), ComVisible(true)
|
||||
, InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
|
||||
|
||||
public interface IMeterEvents
|
||||
{
|
||||
#region events
|
||||
|
||||
/// <summary>
|
||||
/// occurs when ProcessState has changed
|
||||
/// </summary>
|
||||
event EventHandler OnProcessStatusChanged;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when ErrorState has changed
|
||||
/// </summary>
|
||||
event EventHandler OnErrorStatusChanged;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when Init is completed
|
||||
/// </summary>
|
||||
event EventHandler OnInitCompleted;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when the initializations for Measurement is completed
|
||||
/// </summary>
|
||||
event EventHandler OnMeasurementInitCompleted;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when the Measurement is completed
|
||||
/// </summary>
|
||||
event EventHandler OnMeasurementCompleted;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when the initializations for calibration is completed
|
||||
/// </summary>
|
||||
event EventHandler OnCalibInitCompleted;
|
||||
|
||||
/// <summary>
|
||||
/// occurs when the calibration is completed
|
||||
/// </summary>
|
||||
event EventHandler OnCalibCompleted;
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user