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

        setDevices(convert_classy);
    }
 public void setDevices(HomeAutomationDeviceListJSON new_value)
 {
     if (flagHasDevices)
     {
     }
     flagHasDevices = true;
     storeDevices   = new_value;
 }
Example #3
0
 public void setUnambiguousDevices(HomeAutomationDeviceListJSON new_value)
 {
     if (flagHasUnambiguousDevices)
     {
     }
     flagHasUnambiguousDevices = true;
     storeUnambiguousDevices   = new_value;
 }
        protected void finish()
        {
            Debug.Assert(have_value);
            HomeAutomationDeviceListJSON result = new HomeAutomationDeviceListJSON();

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

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