コード例 #1
0
 public Generator() : base(false)
 {
     fieldGeneratorDirection    = new FieldHoldingGeneratorDirection("field \"Direction\" of the RobotMoveCommand class");
     fieldGeneratorDistance     = new JSONHoldingNumberTextGenerator("field \"Distance\" of the RobotMoveCommand class");
     fieldGeneratorDistanceUnit = new FieldHoldingGeneratorDistanceUnit("field \"DistanceUnit\" of the RobotMoveCommand class");
     unknownFieldGenerator      = new UnknownFieldGenerator(false);
     set_what("the RobotMoveCommand class");
 }
コード例 #2
0
 public Generator(bool ignore_extras) : base(ignore_extras)
 {
     fieldGeneratorDirection    = new FieldHoldingGeneratorDirection("field \"Direction\" of the RobotMoveCommandIntent class");
     fieldGeneratorDistance     = new JSONHoldingNumberTextGenerator("field \"Distance\" of the RobotMoveCommandIntent class");
     fieldGeneratorDistanceUnit = new FieldHoldingGeneratorDistanceUnit("field \"DistanceUnit\" of the RobotMoveCommandIntent class");
     unknownFieldGenerator      = new UnknownFieldGenerator(ignore_extras);
     set_what("the RobotMoveCommandIntent class");
 }