|
|
|
@ -139,7 +139,7 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
|
|
|
|
|
|
|
|
|
|
private static int GetIncrementId()
|
|
|
|
|
{
|
|
|
|
|
string s = DateTime.Now.ToString("yyMMddHHmmss");
|
|
|
|
|
string s = DateTime.Now.ToString("MMddHHmmss");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (_incrementId < 999)
|
|
|
|
@ -151,8 +151,8 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
|
|
|
|
|
_incrementId = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return Int32.Parse(s+_incrementId);
|
|
|
|
|
|
|
|
|
|
return Int32.Parse(s) + _incrementId;
|
|
|
|
|
}
|
|
|
|
|
public void InitHandler()
|
|
|
|
|
{
|
|
|
|
|