Beispiel #1
0
        /// <summary>
        /// Get IotApi
        /// </summary>
        /// <returns></returns>
        private IotApi getIotApi()
        {
            var api = new IotApi();

            api.UsePhilpsQueueRest(m_Input.GatewayUrl, m_Input.UserName);
            api.Open();
            return(api);
        }
Beispiel #2
0
        /// <summary>
        /// Used by all tests to create instance of IotApi.
        /// </summary>
        /// <returns></returns>
        private IotApi getApi()
        {
            IotApi api = new IotApi();

            api.UsePhilpsQueueRest(m_GtwUri, m_UsrName);

            api.Open();

            return(api);
        }