Ejemplo n.º 1
0
 public DeviceParamViewModel()
 {
     JiaRe         = "10";
     ShaoJi        = "20";
     PaiFeng       = "30";
     BaoJing       = "40";
     LHSXViewModel = new LHSXViewModel();
 }
Ejemplo n.º 2
0
        public override void Loaded()
        {
            base.Loaded();

            LHSXViewModel.Loaded();

            var dictImpl = new DictonaryService();
            var list     = dictImpl.QueryDictionary("TDBL");

            TDBLCollection    = new ObservableCollection <Dictonary>(list);
            list              = dictImpl.QueryDictionary("CSMS");
            CSMSCollection    = new ObservableCollection <Dictonary>(list);
            ChannelCollection = new ObservableCollection <ChannelInfo>();
        }