|
@@ -99,6 +99,7 @@ namespace LogoForceTestApp.Modules.MainModule.ViewModels
|
|
|
public string FirstName { get; set; }
|
|
|
public string SecondName { get; set; }
|
|
|
public string ThirdName { get; set; }
|
|
|
+ public string Fix { get; set; }
|
|
|
#endregion
|
|
|
|
|
|
public KBWindowViewModel(IRepository repository, IEventAggregator eventAggregator, IMapper mapper)
|
|
@@ -171,6 +172,11 @@ namespace LogoForceTestApp.Modules.MainModule.ViewModels
|
|
|
private void _timer_Elapsed(object sender, ElapsedEventArgs e)
|
|
|
{
|
|
|
TimeNow = DateTime.Now.ToString();
|
|
|
+ DateTime currentDate = DateTime.Now;
|
|
|
+ if (currentDate.Day == 25)
|
|
|
+ {
|
|
|
+ Fix = "保养提醒:整线需要保养";
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|