Beispiel #1
0
        /// <summary>
        /// Retrieves metadata information associated with an analytic such as a description or units.
        /// </summary>
        /// <param name="emsSystem">
        /// The unique identifier of the EMS system.
        /// </param>
        /// <param name="flightId">
        /// The integer ID of the flight record to use when retrieving the analytic information.
        /// </param>
        /// <param name="analyticId">
        /// The analytic ID for which data is retrieved. These identifiers are typically obtained from nodes in an analytic group tree.
        /// </param>
        public virtual Task <AnalyticInfo> GetInfoAsync(int flightId, string analyticId, int emsSystem = NoEmsServerSpecified)
        {
            int ems           = GetEmsSystemForMethodCall(emsSystem);
            var analyticIdObj = new AnalyticId {
                Id = analyticId
            };

            return(CallApiTask(api => api.GetAnalyticInfoWithFlight(ems, flightId, analyticIdObj)));
        }
Beispiel #2
0
        /// <summary>
        /// Retrieves metadata information associated with an analytic such as a description or units.
        /// </summary>
        /// <param name="emsSystem">
        /// The unique identifier of the EMS system.
        /// </param>
        /// <param name="analyticId">
        /// The analytic ID for which data is retrieved. These identifiers are typically obtained from nodes in an analytic group tree.
        /// </param>
        public Task <AnalyticInfo> GetInfoAsync(string analyticId, int emsSystem = NoEmsServerSpecified)
        {
            int ems           = GetEmsSystemForMethodCall(emsSystem);
            var analyticIdObj = new AnalyticId {
                Id = analyticId
            };

            return(CallApiTask(api => api.GetAnalyticInfo(ems, analyticIdObj)));
        }