终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

25 行
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. }