/** * Get the path to the persistence file. * * @param sysFlag If true, return the system path, otherwise the user path. * @return The path. */ public String getPersistenceFilePath(boolean sysFlag) { if (sysFlag) { return m_master.getSysTuneDir() + "/" + getMotorName(); } else { return m_master.getUsrTuneDir() + "/" + getMotorName(); } }