private void HandleRequestLastNormalizedReading(RequestLastNormalizedReadings message)
        {
            var lastReadings = _state.GetLastReadings(message.NumberOfReadings);
            var response     = new ReturnLastNormalizedReadings(lastReadings);

            Sender.Tell(response);
        }
        private void HandleRequestLastNormalizedReading(RequestLastNormalizedReadings message)
        {
            // 14. When another actor request data, we return it from our state.
            //     Since this does not change the state, this command doesn't need persisting.
            var lastReadings = _state.GetLastReadings(message.NumberOfReadings);
            var response     = new ReturnLastNormalizedReadings(lastReadings);

            Sender.Tell(response);
        }