2using System.Collections.Generic;
4using System.Threading.Tasks;
57 public override void ExportPlantUml(StreamWriter Output,
int Indentation,
char QuoteChar)
59 Indent(Output, Indentation);
60 Output.Write(
":Inc(");
62 Output.WriteLine(
");");
Root node of a simulation model
void IncrementCounter(string CounterName)
Increments a counter.
Abstract base class for counter activity nodes.
StringAttribute counter
Counter attribute
Task< string > GetCounterAsync(Variables Variables)
Counter name
override string LocalName
Local name of XML element defining contents of class.
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
override void ExportPlantUml(StreamWriter Output, int Indentation, char QuoteChar)
Exports PlantUML
Inc(ISimulationNode Parent, Model Model)
Increments a counter.
override async Task< LinkedListNode< IActivityNode > > Execute(Variables Variables)
Executes a node.
static void Indent(StreamWriter Output, int Indentation)
Adds indentation to the current row.
string Value
String value, from definition
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
ISimulationNode Parent
Parent node in the simulation model.