You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
965 B
34 lines
965 B
using SunlightCentralizedControlManagement_SCCM_.EX;
|
|
using SunlightCentralizedControlManagement_SCCM_.UserClass;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Data.SqlClient;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Threading;
|
|
using static SunlightCentralizedControlManagement_SCCM_.ViewModel.MainWindowViewModel;
|
|
|
|
namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
|
{
|
|
|
|
public class MonitorViewModel : ViewModelBase
|
|
{
|
|
public MonitorViewModel()
|
|
{
|
|
// DispatcherTimer timer1s = new DispatcherTimer(DispatcherPriority.Normal);//初始化循环,每1秒调用一次Tick
|
|
// timer1s.Interval = TimeSpan.FromMilliseconds(950);//秒
|
|
// timer1s.Tick += Tick_Main_1S;
|
|
// timer1s.Start();
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|