예제 #1
0
        bool _requestCameraUploadFW(Dut.IPCamera <U> camera, string fw_file)
        {
            bool   ret     = false;
            int    count   = 0;
            string req_str = string.Format(@"updatefirmware {0}//192.168.1.100/{1}", "http:", fw_file);

RE:
            count++;
            ret = camera.uploadFirmwareBusiness(req_str);
            if (!ret)
            {
                if (count < 3)
                {
                    goto RE;
                }
            }
            return(ret);
        }