示例#1
0
        public int WrapperInstaller(int pid, int mid, int sid, string infostr)
        {
            param = new LISFileParams(pid, mid, sid);
            // Get filename by using function -- FileLocator
            int fileret = 1;

            for (int i = 0; i < FileIdxNumberGetter(mid); i++)
            {
                int    fileIdx = i;
                string fname   = FileLocator(fileIdx);
                // Import the file by using function -- ImportFile
                fileret = ImportFile(fname);
                if (fileret == -1)
                {
                    return(fileret);
                }
            }
            return(fileret);
        }
示例#2
0
 public LISFileReader()
 {
     ITEM_DICTIONARY = new Dictionary <int, LISFileItem>();
     param           = new LISFileParams();
     VAL_LIST_NUMBER = 1;
 }