public async Task Load()
        {
            if (NotNetOrConnection)
            {
                return;
            }

            try
            {
                State     = ModelState.Loading;
                PlanWidth = await NAV.GetPlanWidth(ACD.Default).ConfigureAwait(true);

                PlanHeight = await NAV.GetPlanHeight(ACD.Default).ConfigureAwait(true);

                CheckPlanSizes();
                List <Location> list = await NAV.GetLocationList("", true, 1, int.MaxValue, ACD.Default).ConfigureAwait(true);

                if ((list is List <Location>) && (!IsDisposed))
                {
                    FillModel(list);
                }
            }
            catch (OperationCanceledException e)
            {
                System.Diagnostics.Debug.WriteLine(e.Message);
                ErrorText = e.Message;
            }
            catch (NAVErrorException e)
            {
                System.Diagnostics.Debug.WriteLine(e.Message);
                State     = ModelState.Error;
                ErrorText = AppResources.Error_LoadLocation + Environment.NewLine + e.Message;
            }
            catch (Exception e)
            {
                System.Diagnostics.Debug.WriteLine(e.Message);
                State     = ModelState.Error;
                ErrorText = AppResources.Error_LoadLocation + Environment.NewLine + e.Message;
            }
        }