Azavea.NijPredictivePolicing.AcsAlchemistGui.FormController.NewDefaultJobInstance C# (CSharp) Method

NewDefaultJobInstance() private method

There is no structure ensuring these defaults are the same that will show up when the form loads, This function is meant to reflect whatever the form defaults are.
private NewDefaultJobInstance ( ) : void
return void
        internal void NewDefaultJobInstance()
        {
            FormController.Instance.JobInstance = new ImportJob();

            //we need to set some defaults here, to keep things happy
            FormController.Instance.JobInstance.PreserveJam = "true";
            FormController.Instance.JobInstance.AddStrippedGEOIDcolumn = "true";
            FormController.Instance.JobInstance.AddGeometryAttributesToOutput = "true";
            FormController.Instance.JobInstance.IncludeEmptyGridCells = "true";
            FormController.Instance.JobInstance.Year = string.Empty;
            FormController.Instance.JobInstance.State = AcsState.None;
            FormController.Instance.JobInstance.SummaryLevel = BoundaryLevels.None.ToString();
            FormController.Instance.JobInstance.WorkingFolder = Settings.AppDataDirectory;
        }