Пример #1
0
 public Generator()
 {
     fieldGeneratorHomeAutomationSolution = new HomeAutomationSolutionJSON.HoldingGenerator("field \"HomeAutomationSolution\" of the HomeAutomationGroup class", false);
     fieldGeneratorName         = new JSONHoldingStringGenerator("field \"Name\" of the HomeAutomationGroup class");
     fieldGeneratorID           = new JSONHoldingStringGenerator("field \"ID\" of the HomeAutomationGroup class");
     fieldGeneratorSolutionData = new JSONHoldingValueGenerator("field \"SolutionData\" of the HomeAutomationGroup class");
     unknownFieldGenerator      = new UnknownFieldGenerator(false);
     set_what("the HomeAutomationGroup class");
     allow_incomplete = false;
     allow_unpolished = false;
 }
 public Generator(bool ignore_extras)
 {
     fieldGeneratorHomeAutomationSolution = new HomeAutomationSolutionJSON.HoldingGenerator("field \"HomeAutomationSolution\" of the HomeAutomationDevice class", ignore_extras);
     fieldGeneratorName         = new JSONHoldingStringGenerator("field \"Name\" of the HomeAutomationDevice class");
     fieldGeneratorID           = new JSONHoldingStringGenerator("field \"ID\" of the HomeAutomationDevice class");
     fieldGeneratorType         = new HomeAutomationDeviceTypeJSON.HoldingGenerator("field \"Type\" of the HomeAutomationDevice class", ignore_extras);
     fieldGeneratorCapabilities = new HomeAutomationOperationJSON.HoldingArrayGenerator("field \"Capabilities\" of the HomeAutomationDevice class", ignore_extras);
     fieldGeneratorProperties   = new HomeAutomationPropertyJSON.HoldingArrayGenerator("field \"Properties\" of the HomeAutomationDevice class", ignore_extras);
     fieldGeneratorSolutionData = new JSONHoldingValueGenerator("field \"SolutionData\" of the HomeAutomationDevice class");
     unknownFieldGenerator      = new UnknownFieldGenerator(ignore_extras);
     set_what("the HomeAutomationDevice class");
     allow_incomplete = false;
     allow_unpolished = false;
 }