tested
This commit is contained in:
parent
a8ad6e4f03
commit
0cac52369d
1 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ namespace eDosStation
|
|||
bool ok = true;
|
||||
string errMsg = string.Empty;
|
||||
bgTimer = new DispatcherTimer(DispatcherPriority.Background);
|
||||
bgTimer.Interval = TimeSpan.FromSeconds(1);
|
||||
bgTimer.Interval = TimeSpan.FromSeconds(60);
|
||||
bgTimer.Tick += BgTimer_Tick;
|
||||
bgTimer.IsEnabled = true;
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ namespace eDosStation
|
|||
private void BgTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
setLocalStatus();
|
||||
tbTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
tbTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm");
|
||||
}
|
||||
|
||||
private void MEnc_Click(object sender, RoutedEventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue