Beispiel #1
0
        public string[] RequestServer_AGV(string agvURI)
        {
            string[] responseResult = new string[3];

            RESTClinet rClient = new RESTClinet();

            rClient.agvAddress = agvURI;

            responseResult = rClient.MakeAGVRequest();

            return(responseResult);
        }
Beispiel #2
0
        public List <string[]> RequestServer_RTLS_pos(string rtlsURI, string username, string password, int requiringNumofPoints)
        {
            List <string[]> responseResult = new List <string[]>(requiringNumofPoints);

            RESTClinet rClient = new RESTClinet();

            rClient.rtlsAddress  = rtlsURI;
            rClient.userName     = username;
            rClient.userPassword = password;

            responseResult = rClient.MakeRTLSposRequest(requiringNumofPoints); //requiringNumofPoints

            return(responseResult);
        }
Beispiel #3
0
        public string[] RequestServer_RTLS_pos(string rtlsURI, string username, string password)
        {
            string[] responseResult;

            RESTClinet rClient = new RESTClinet();

            rClient.rtlsAddress  = rtlsURI;
            rClient.userName     = username;
            rClient.userPassword = password;

            responseResult = rClient.MakeRTLSposRequest();

            return(responseResult);
        }
Beispiel #4
0
        public string GetID(string rtlsURI, string userName, string password)
        {
            string result_IDs = "";

            RESTClinet rClient = new RESTClinet();

            rClient.rtlsAddress  = rtlsURI;
            rClient.userName     = userName;
            rClient.userPassword = password;

            string[] responseResult = rClient.GetIDs();

            for (int i = 0; i < responseResult.Count(); i++)
            {
                result_IDs = result_IDs + responseResult[i] + "\n";
            }

            return(result_IDs);
        }