forked from IoTSharp/IoTSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
定时检查活动状态, 如果超过 Timeout 设置的时间, 则认为非活动状态。
- Loading branch information
Showing
3 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace IoTSharp.Contracts | ||
{ | ||
public static class Constants | ||
{ | ||
public const string _Active = "Active"; | ||
public const string _LastActivityDateTime = "LastActivityDateTime"; | ||
public const string _InactivityAlarmDateTime = "InactivityAlarmDateTime "; | ||
public const string _LastConnectDateTime = "LastConnectDateTime"; | ||
public const string _LastDisconnectDateTime = "LastDisconnectDateTime"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters