Beispiel #1
0
        public object Get()
        {
            var result = _client.ConnectAndSend(_atMessages.GetInitMsg());
            var parser = new MessageResponseParser();
            var at     = parser.Parse(result);

            var response = System.Text.Json.JsonSerializer.Serialize <AirTouchSystem>(at, _serializeOptions);

            Log.ForContext <VzduchDotekController>().Verbose("{@AirTouchSystem}", at);

            return(Content(response, "application/json"));
        }