public void NotifyDeviceStatus(FieldMax2DLLServer.IFM2DeviceEvents CallbackData, FieldMax2DLLServer.cFM2Devices DeviceList) { this.Devices = DeviceList; NewStatusMessage(this, new FMStatusEventArgs((StatusChangeNotifications)System.Enum.Parse(typeof(StatusChangeNotifications), CallbackData.CallbackEvent, true))); }
public void NotifyData(FieldMax2DLLServer.IFM2DeviceEvents CallbackData) { NewMessage(this, new FMDataEventArgs((DataNotifications)System.Enum.Parse(typeof(DataNotifications), CallbackData.CallbackEvent, true), CallbackData.DeviceIndex)); }