Rearrange LeafCharter files

This commit is contained in:
2015-12-02 12:40:00 -05:00
parent c0117c5d85
commit 4d46f206ac
15 changed files with 1582 additions and 70 deletions
+4 -4
View File
@@ -6,15 +6,15 @@ using System.IO;
using System.Web.UI;
using System.Web.UI.DataVisualization.Charting;
using System.Web.UI.WebControls;
using LeafWeb.Core.Models;
namespace LeafWeb.Web.Charter
{
public partial class LeafWebCharter : UserControl
{
protected void ReadFile(StreamReader sr, ref String errMsg)
{
var pisOut = new PiscalOutput();
var pisOut = new CntrlComparison();
if (!pisOut.ReadFromStream(sr, ref errMsg))
{
ErrorLBL.Text = errMsg;
@@ -22,7 +22,7 @@ namespace LeafWeb.Web.Charter
return;
}
Session["LeafChartData"] = pisOut;
var aCopy = (PiscalOutput) Session["LeafChartData"];
var aCopy = (CntrlComparison) Session["LeafChartData"];
// The data was successfully read from the file. We must now
// display the curveIDs from the file and prompt the user to pick
@@ -48,7 +48,7 @@ namespace LeafWeb.Web.Charter
// cntrlcomparison
public void ProduceCharts(PiscalOutput pisOut)
public void ProduceCharts(CntrlComparison pisOut)
{
// If the session has timed out, use the selected index from the GridView
// to determine which job to chart.