示例#1
0
        public void WriteDefaultConfig(string fn)
        {
            ConfigClass cc = ConfigClass.Instance();

            cc.DokuPath          = "[ApplicationPath]\\Dokumentation\\DokuWikiStick\\";
            cc.DokuPort          = 8080;
            cc.MainPfad          = Application.StartupPath;
            cc.MessageConfigFile = "[ApplicationPath]\\Config\\" + Application.ProductName + "Config.xml";

            ResultDefinition itm = new ResultDefinition();

            itm.DataFormat  = "<DATASTAMP>,<VALUE>;";
            itm.Path        = "[ApplicationPath]\\Config\\MeasConfig\\";
            itm.FilePattern = "Results";
            itm.DataSource  = eDatasource.file;
            cc.ResultDefinitions.Clear();
            cc.ResultDefinitions.Add(itm);
        }