|
|
@ -51,7 +51,7 @@ namespace RfidWeb
|
|
|
|
|
|
|
|
|
|
|
|
private void Init()
|
|
|
|
private void Init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_timer = new TimerX(TimeState, null, 10, 1000);
|
|
|
|
_timer = new TimerX(TimeState, null, 2000, 1000);
|
|
|
|
// 如果所有的日志在记录之前需要在控制台显示出来
|
|
|
|
// 如果所有的日志在记录之前需要在控制台显示出来
|
|
|
|
logNet.BeforeSaveToFile += (object sender, HslEventArgs e) =>
|
|
|
|
logNet.BeforeSaveToFile += (object sender, HslEventArgs e) =>
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -128,8 +128,6 @@ namespace RfidWeb
|
|
|
|
updateLogService.AddOrUpdateLog(userDto, se, res.Content);
|
|
|
|
updateLogService.AddOrUpdateLog(userDto, se, res.Content);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache.Remove(CacheKeyManager.UpdateLog);
|
|
|
|
cache.Remove(CacheKeyManager.UpdateLog);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -150,13 +148,6 @@ namespace RfidWeb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void btnMain_Click(object sender, EventArgs e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
panContent.Controls.Clear();
|
|
|
|
|
|
|
|
panContent.Controls.Add(new UserMain());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void btnArgument_Click(object sender, EventArgs e)
|
|
|
|
private void btnArgument_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|