Exemple #1
0
        public byte[] GetOriginalImage(int thumbnailID)
        {
            object[] args = new object[1];
            args[0] = thumbnailID;
            object re = CallWebService.InvokeWebService(Global.A_URL, Global.A_Func_GetOriginal, args);

            return((byte[])re);
        }
Exemple #2
0
        public int DeleteImage(int[] idList)
        {
            object[] args = new object[1];
            args[0] = idList;
            object re = CallWebService.InvokeWebService(Global.A_URL, Global.A_Func_Remove, args);

            return((int)re);
        }
Exemple #3
0
        public DataTable GetCarImages(string carID, string shopCode)
        {
            string[] args = new string[2];
            args[0] = carID;
            args[1] = shopCode;
            object re = CallWebService.InvokeWebService(Global.A_URL, Global.A_Func_GetCarImages, args);

            return((DataTable)re);
        }
Exemple #4
0
        public string KeepUpload(Byte[] fileBytes, string carID, long allSize, string md5, string tempPath, long PerLength, string shopCode)
        {
            object[] args = new object[7];
            args[0] = fileBytes;
            args[1] = carID;
            args[2] = allSize;
            args[3] = md5;
            args[4] = tempPath;
            args[5] = PerLength;
            args[6] = shopCode;


            object re = CallWebService.InvokeWebService(Global.A_URL, Global.A_Func_Upload, args);

            return((string)re);
        }