public void FillTest1() { string message = File.ReadAllText("..\\..\\..\\TestFiles\\Client_v7_1\\heartbeat.txt"); var heartbeat = new Heartbeat(); heartbeat.Fill(JsonMessageConnection.GetNextJsonMessage(ref message)); Assert.AreEqual(12, heartbeat.Value); }
public void SetHeartbeat(Heartbeat heartbeat) { _lastHeartbeat = heartbeat; }
public void Reset() { _lastHeartbeat = null; _unitCollection = null; _unitCollectionUpdated = false; _slotCollection = null; _slotOptions.Clear(); _receivedMessages.Clear(); }