private Color getStatusColor(TrainingEnd value) { if (value == TrainingEnd.Break) { return(Color.Red); } else if (value == TrainingEnd.Complete) { return(Color.Green); } return(Color.Blue); }
public virtual void SetData(DateTime startDate, DateTime?endDate, TrainingEnd trainingEnd) { this.StartDate = startDate; this.EndDate = endDate; this.TrainingEnd = trainingEnd; }
/// <summary> /// Called when [training end]. /// </summary> /// <param name="history">The history.</param> /// <param name="duration">The duration.</param> protected void OnTrainingEnd(History history, long duration) { TrainingEnd?.Invoke(this, new TrainingEndEventArgs(history, duration)); }
protected void OnTrainigEnd(float[] inputs, float answer, float guess, float error) { TrainingEnd?.Invoke(inputs, answer, guess, error); }