Пример #1
0
 public override PetriNet CreateOutput(FSM.FiniteStateMachine input, ITransformationContext context)
 {
     var coloredNet = new ColoredPetriNet();
     var defaultColor = new Color();
     coloredNet.Colors.Add(defaultColor);
     context.Bag.DefaultColor = defaultColor;
     return coloredNet;
 }
Пример #2
0
            public override PetriNet CreateOutput(FSM.FiniteStateMachine input, ITransformationContext context)
            {
                var coloredNet   = new ColoredPetriNet();
                var defaultColor = new Color();

                coloredNet.Colors.Add(defaultColor);
                context.Bag.DefaultColor = defaultColor;
                return(coloredNet);
            }