public void Offline(WebClient agent)
        {
            Dictionary <object, object> parameters = new Dictionary <object, object>
            {
                { CloudServer.PARAM_STATION_ID, this.Id },
                { CloudServer.PARAM_SESSION_TOKEN, this.Token },
                { CloudServer.PARAM_API_KEY, CloudServer.APIKey }
            };

            StationHeartbeatResponse res =
                CloudServer.requestPath <StationHeartbeatResponse>(agent, "stations/offline", parameters);
        }
        public void Heartbeat(WebClient agent, StationDetail detail)
        {
            Dictionary <object, object> parameters = new Dictionary <object, object>
            {
                { CloudServer.PARAM_SESSION_TOKEN, this.Token },
                { CloudServer.PARAM_STATION_ID, this.Id },
                { CloudServer.PARAM_API_KEY, CloudServer.APIKey },
                { CloudServer.PARAM_DETAIL, detail.ToFastJSON() }
            };

            StationHeartbeatResponse res =
                CloudServer.requestPath <StationHeartbeatResponse>(agent, "stations/heartbeat", parameters);
        }