Esempio n. 1
0
        public override void SaveAs(string filename)
        {
            StreamWriter sw = new StreamWriter(filename);

            WriteDefaultComment(sw, "HFB");

            string line = string.Format("{0}\t{1}\t{2}\t# Data set 1: NPHFB MXFB NHFBNP", Parameters["NPHFB"].IntValue, Parameters["MXFB"].IntValue,
                                        Parameters["NHFBNP"].IntValue);

            sw.WriteLine(line);

            MatrixExtension <float> .Save(CellLocation, sw);

            line = string.Format("{0}\t# Data Set 5: NACTHFB", Parameters["NACTHFB"].IntValue);
            sw.WriteLine(line);
            sw.Close();
        }