云平台int大小调整

zw
CZ 3 months ago
parent 95e73fcbe1
commit 36ca29a042

@ -140,7 +140,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)
@ -153,7 +153,7 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
}
return Int32.Parse(s+_incrementId);
return Int32.Parse(s)+_incrementId;
}
public void InitHandler()

Loading…
Cancel
Save