예제 #1
0
        static TelemetryData GenerateMessage(int seq, string message)
        {
            TelemetryData msg = new TelemetryData();

            msg.Random(deviceId, string.Format("{0}{1}", DateTime.UtcNow.ToString("yyyymmdd"), seq.ToString("0000000")), message, min, max);
            return(msg);
        }
예제 #2
0
 static TelemetryData GenerateMessage(int seq, string message)
 {
     TelemetryData msg = new TelemetryData();
     msg.Random(deviceId, string.Format("{0}{1}", DateTime.UtcNow.ToString("yyyymmdd"), seq.ToString("0000000")), message, min, max);
     return msg;
 }