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(
":Dec(");
62 Output.WriteLine(
");");
Root node of a simulation model
void DecrementCounter(string CounterName)
Decrements a counter.
Abstract base class for counter activity nodes.
StringAttribute counter
Counter attribute
Task< string > GetCounterAsync(Variables Variables)
Counter name
Dec(ISimulationNode Parent, Model Model)
Decrements a counter.
override async Task< LinkedListNode< IActivityNode > > Execute(Variables Variables)
Executes a node.
override string LocalName
Local name of XML element defining contents of class.
override void ExportPlantUml(StreamWriter Output, int Indentation, char QuoteChar)
Exports PlantUML
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the 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.