private void CtrlViewReport_Load(object sender, EventArgs e) { sheetTags = new WorksheetTagCollection(reportSheet.Document); sheetTags.SetWorkSheetVisible("Raw Data", false); sheetTags.Clear(); calorieTags = new List <string>(); calorieTags.Add("324"); calorieTags.Add("325"); calorieTags.Add("326"); calorieTags.Add("327"); calorieTags.Add("328"); calorieTags.Add("329"); calorieTags.Add("330"); calorieTags.Add("331"); calorieTags.Add("332"); calorieTags.Add("333"); calorieTags.Add("334"); calorieTags.Add("335"); calorieTags.Add("336"); calorieTags.Add("337"); calorieTags.Add("338"); calorieTags.Add("339"); calorieTags.Add("341"); calorieTags.Add("394"); calorieTags.Add("342"); calorieTags.Add("343"); calorieTags.Add("344"); calorieTags.Add("345"); calorieTags.Add("346"); calorieTags.Add("347"); calorieTags.Add("348"); calorieTags.Add("349"); calorieTags.Add("350"); calorieTags.Add("351"); calorieTags.Add("352"); calorieTags.Add("353"); calorieTags.Add("354"); calorieTags.Add("355"); calorieTags.Add("356"); calorieTags.Add("357"); calorieTags.Add("358"); calorieTags.Add("359"); calorieTags.Add("360"); calorieTags.Add("361"); calorieTags.Add("362"); calorieTags.Add("363"); calorieTags.Add("365"); calorieTags.Add("366"); calorieTags.Add("367"); calorieTags.Add("368"); calorieTags.Add("369"); thermoTags = new List <string>(); for (int i = 0; i < 60; i++) { thermoTags.Add($"{525 + i}"); } }
private void Initialize() { InitGrid(); CreateBufferedSeries(); CreateGraph(); reportSheet.LoadDocument(Resource.csExcelOriginReport); sheetTags = null; }
private void Initialize() { reportSheet.LoadDocument(Resource.csExcelOriginReport); db = Resource.ViewDB; calorieTags = null; thermoTags = null; sheetTags = null; }
private void CtrlTestMeas_Enter(object sender, EventArgs e) { OnActivated(this, null); if (sheetTags == null) { sheetTags = new WorksheetTagCollection(reportSheet.Document); } context.Initialize(); if (context.TestThread != null) { context.TestThread.InvalidContext = true; } }