我的应用程序有一个在线/离线状态按钮。单击此按钮后,将在设置状态时一起提交设置离线/在线的原因。此状态需要像跟踪历史一样进行跟踪。
示例:
Event 1: Region A goes offline due to power outage at 12 am. Set offline by operator.
Event 2: Region A goes online because power is restored at 12:15 am. Set online by technician.
Total offline time: 15 minutes
在糟糕的一天,每个区域每天可能有