Beispiel #1
0
 public void appendProperties(string chars)
 {
     HomeAutomationPropertyJSON.TypeValueKnownValues known     = HomeAutomationPropertyJSON.stringToValue(chars);
     HomeAutomationPropertyJSON.TypeValue            new_value = new HomeAutomationPropertyJSON.TypeValue();
     if (known == HomeAutomationPropertyJSON.TypeValueKnownValues.Value__none)
     {
         new_value.in_known_list = false;
         new_value.string_value  = chars;
     }
     else
     {
         new_value.in_known_list = true;
         new_value.list_value    = known;
     }
     appendProperties(new_value);
 }
Beispiel #2
0
 public void appendProperties(HomeAutomationPropertyJSON.TypeValue new_value)
 {
     appendProperties(new HomeAutomationPropertyJSON(new_value));
 }