/// <summary> /// Exports Markdown /// </summary> /// <param name="Output">Output</param> public override async Task ExportMarkdown(StreamWriter Output) { await base.ExportMarkdown(Output); Output.WriteLine("General"); Output.WriteLine("=========="); Output.WriteLine(); Output.WriteLine("| Time units ||"); Output.WriteLine("|:-----|:-----|"); Output.Write("| Simulation Duration: | "); Duration.ExportText(this.Model.Duration, Output); Output.WriteLine(" |"); Output.Write("| Time Base: | "); switch (this.Model.TimeBase) { case TimeBase.ComputerClock: Output.Write("Computer Clock"); break; case TimeBase.StartOfSimulation: Output.Write("Start of Simulation"); break; default: Output.Write(this.Model.TimeBase.ToString()); break; } Output.WriteLine(" |"); Output.Write("| Time Unit: | "); Duration.ExportText(this.Model.TimeUnit, Output); Output.WriteLine(" |"); Output.Write("| Time Cycle: | "); Duration.ExportText(this.Model.TimeCycle, Output); Output.WriteLine(" |"); Output.Write("| Bucket Time: | "); Duration.ExportText(this.Model.BucketTime, Output); Output.WriteLine(" |"); Output.Write("| Start Date: | "); Output.Write(this.Model.StartTime.ToString("d")); Output.WriteLine(" |"); Output.Write("| Start Time: | "); Output.Write(this.Model.StartTime.ToString("T")); Output.WriteLine(" |"); Output.Write("| End Date: | "); Output.Write(this.Model.EndTime.ToString("d")); Output.WriteLine(" |"); Output.Write("| End Time: | "); Output.Write(this.Model.EndTime.ToString("T")); Output.WriteLine(" |"); Output.WriteLine(); }