fix: 精简优化代码
This commit is contained in:
@@ -161,14 +161,6 @@ namespace TimerApp
|
||||
}
|
||||
}
|
||||
|
||||
// 用于强制重置或测试
|
||||
public void ForceRest()
|
||||
{
|
||||
_restElapsedSeconds = 0; // 重置休息计数器
|
||||
ChangeState(MonitorState.Resting);
|
||||
RestStarted?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
public void RefreshStatus()
|
||||
{
|
||||
if (CurrentState == MonitorState.Working)
|
||||
|
||||
Reference in New Issue
Block a user