public override Control view() { Control v = new Excel_standardParaView(); v.DataContext = this; return(v); }
// -> underlyingCalcInfoVM 으로 옮겼음 ( 2014-12-02 ) //public override string historyUnderData(DateTime startDate, bool bodyOnly = false) //{ // //Dictionary<string, QLNet.TimeSeries<string>> dataList = new Dictionary<string, QLNet.TimeSeries<string>>(); // StringBuilder sb = new StringBuilder(); // XmlWriterSettings setting = new XmlWriterSettings(); // setting.Indent = true; // //setting.Encoding = Encoding.UTF8; // if (bodyOnly == true) // setting.OmitXmlDeclaration = true; // XmlWriter xmlWriter = XmlWriter.Create(sb, setting); // xmlWriter.WriteProcessingInstruction("xml", "version='1.0' encoding='UTF-8'"); // xmlWriter.WriteStartElement("hisoryData"); // this.excel_underlyingCalcInfo_paraViewModel_ // .historyUnderData(xmlWriter, startDate, this.ReferenceDate_); // xmlWriter.WriteEndElement(); // xmlWriter.Close(); // return sb.ToString(); //} public override Control view() { Control v = new Excel_standardParaView(); //this.referenceDate_ = DateTime.Now; //this.simulationNum_ = "10000"; v.DataContext = this; return(v); }
public override Control view() { Control v = new Excel_standardParaView(); v.DataContext = this; return v; }
// -> underlyingCalcInfoVM 으로 옮겼음 ( 2014-12-02 ) //public override string historyUnderData(DateTime startDate, bool bodyOnly = false) //{ // //Dictionary<string, QLNet.TimeSeries<string>> dataList = new Dictionary<string, QLNet.TimeSeries<string>>(); // StringBuilder sb = new StringBuilder(); // XmlWriterSettings setting = new XmlWriterSettings(); // setting.Indent = true; // //setting.Encoding = Encoding.UTF8; // if (bodyOnly == true) // setting.OmitXmlDeclaration = true; // XmlWriter xmlWriter = XmlWriter.Create(sb, setting); // xmlWriter.WriteProcessingInstruction("xml", "version='1.0' encoding='UTF-8'"); // xmlWriter.WriteStartElement("hisoryData"); // this.excel_underlyingCalcInfo_paraViewModel_ // .historyUnderData(xmlWriter, startDate, this.ReferenceDate_); // xmlWriter.WriteEndElement(); // xmlWriter.Close(); // return sb.ToString(); //} public override Control view() { Control v = new Excel_standardParaView(); //this.referenceDate_ = DateTime.Now; //this.simulationNum_ = "10000"; v.DataContext = this; return v; }