Exemple #1
0
        public void OpenDatFile(string path)
        {
            if (!DatHelper.TestFile(path) || dispatcher.Ecu.IsStarted)
            {
                return;
            }

            var oldDatFile = dispatcher.DatFile;

            if (!dispatcher.OpenDatFile(path))
            {
                return;
            }
            var newDatFile = dispatcher.DatFile;

            PrepareOpenedDatFile(oldDatFile, newDatFile);
        }
Exemple #2
0
        public bool OpenDatFile(string path)
        {
            if (!DatHelper.TestFile(path))
            {
                return(false);
            }


            DatFile = new DatFile(path);

            if (calibrLogger != null)
            {
                calibrLogger.Close();
            }

            calibrLogger = new CalibrLogger(DatFile, Ecu);

            return(true);
        }