终端一体化运控平台
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

25 linhas
982 B

  1. using BPASmartClient.FoodStationTest.Model;
  2. using BPA.Helper;
  3. using System.Collections.ObjectModel;
  4. namespace BPASmartClient.FoodStationTest.ViewModel
  5. {
  6. public class HardwareStatusViewModel : NotifyBase
  7. {
  8. public HardwareStatusViewModel()
  9. {
  10. TopDeviceCurrentStatuses = DeviceInquire.GetInstance.TopDeviceCurrentStatuses;
  11. BottomDeviceCurrentStatuses = DeviceInquire.GetInstance.BottomDeviceCurrentStatuses;
  12. /*TopDeviceCurrentStatuses = new ObservableCollection<DeviceCurrentStatus>(TopDeviceCurrentStatuses.OrderByDescending(item => item.DeviceNum));
  13. BottomDeviceCurrentStatuses = new ObservableCollection<DeviceCurrentStatus>(BottomDeviceCurrentStatuses.OrderBy(item => item.DeviceNum));*/
  14. }
  15. public ObservableCollection<DeviceCurrentStatus> TopDeviceCurrentStatuses { get; set; }
  16. public ObservableCollection<DeviceCurrentStatus> BottomDeviceCurrentStatuses { get; set; }
  17. }
  18. }