private void  fromJSONGroups(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        HomeAutomationGroupListJSON convert_classy = HomeAutomationGroupListJSON.from_json(json_value, ignore_extras, true);

        setGroups(convert_classy);
    }
 public void setGroups(HomeAutomationGroupListJSON new_value)
 {
     if (flagHasGroups)
     {
     }
     flagHasGroups = true;
     storeGroups   = new_value;
 }
Beispiel #3
0
 public void setUnambiguousGroups(HomeAutomationGroupListJSON new_value)
 {
     if (flagHasUnambiguousGroups)
     {
     }
     flagHasUnambiguousGroups = true;
     storeUnambiguousGroups   = new_value;
 }
Beispiel #4
0
        protected void finish()
        {
            Debug.Assert(have_value);
            HomeAutomationGroupListJSON result = new HomeAutomationGroupListJSON();

            result.initValue();
            int count = value.Count;

            for (int num = 0; num < count; ++num)
            {
                result.appendValue(value[num]);
            }
            handle_result(result);
        }
Beispiel #5
0
 protected override void handle_result(HomeAutomationGroupListJSON result)
 {
     top.value.Add(result);
 }
Beispiel #6
0
        protected override void handle_result(HomeAutomationGroupListJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
Beispiel #7
0
 protected abstract void handle_result(HomeAutomationGroupListJSON new_result);