Пример #1
0
        internal LMGridPooler(LISpMiner lispMiner, ODBC.ConnectionString connectionString, string lmPrivatePath, PCGridSettings gridSettings)
            : base()
        {
            this.LISpMiner = lispMiner;
            this.LMExecutablesPath = this.LISpMiner.LMExecutablesPath;
            this.LMPrivatePath = lmPrivatePath;
            this.OdbcConnectionString = connectionString.Value;

            this.GridSettings = gridSettings;
            this.GridDataPath = Path.GetFullPath(string.Format(@"{0}\PCGrid", this.LMPrivatePath));

            this.ApplicationName = "LMGridPooler.exe";
            this.AppLog = String.Format("{0}-{1}.dat", "_AppLog_LMGridPooler", Guid.NewGuid());
            this.CancelAll = false;
            // this.TimeOut = 10;

            InitializePCGrid();
        }
Пример #2
0
        internal LMGridPooler(LISpMiner lispMiner, ODBC.ConnectionString connectionString, string lmPrivatePath, PCGridSettings gridSettings)
            : base()
        {
            this.LISpMiner            = lispMiner;
            this.LMExecutablesPath    = this.LISpMiner.LMExecutablesPath;
            this.LMPrivatePath        = lmPrivatePath;
            this.OdbcConnectionString = connectionString.Value;

            this.GridSettings = gridSettings;
            this.GridDataPath = Path.GetFullPath(string.Format(@"{0}\PCGrid", this.LMPrivatePath));

            this.ApplicationName = "LMGridPooler.exe";
            this.AppLog          = String.Format("{0}-{1}.dat", "_AppLog_LMGridPooler", Guid.NewGuid());
            this.CancelAll       = false;
            // this.TimeOut = 10;

            InitializePCGrid();
        }