예제 #1
0
        private async Task LoadSpecialEquipmentsList()
        {
            List <SpecialEquipment> specialequipments = await NAV.GetSpecialEquipmentList(1, int.MaxValue, ACD.Default).ConfigureAwait(true);

            if (NotDisposed)
            {
                NewModel.BinsViewModel.SpecialEquipments.Clear();
                foreach (SpecialEquipment se in specialequipments)
                {
                    NewModel.BinsViewModel.SpecialEquipments.Add(se.Code);
                }
                NewModel.BinsViewModel.SpecialEquipmentsIsEnabled = specialequipments.Count > 0;
            }
        }