private void OnTestEventHanler(object sender, RobotTestEventArguments e) { var robotId = e.Robot.RobotId; var item = RobotMonitoringItems.FirstOrDefault(robotMonitoringItem => robotMonitoringItem.Guid == robotId); if (item != null) { } }
protected virtual void OnTestOperationEvent(RobotTestEventArguments e) { TestEvent?.Invoke(this, e); }