All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bidib.wizard.common.model.settings.GlobalSettingsInterface Maven / Gradle / Ivy

package org.bidib.wizard.common.model.settings;

import java.time.DayOfWeek;
import java.time.LocalTime;
import java.util.List;

import org.bidib.wizard.api.model.bean.ObservableBean;
import org.bidib.wizard.api.model.common.PreferencesPortType;

public interface GlobalSettingsInterface extends ObservableBean, ConnectionConfigurationProvider {

    /**
     * @param connectionConfiguration
     *            the connection configuration
     */
    void addConnectionConfiguration(ConnectionConfiguration connectionConfiguration);

    /**
     * @param connectionConfigurations
     *            the connection configurations
     */
    void setConnectionConfigurations(List connectionConfigurations);

    /**
     * Get the selected port type of the main connection.
     * 
     * @return the selected port type of the main connection
     */
    PreferencesPortType getSelectedPortType();

    /**
     * @return the serialPortsEnabled
     */
    boolean isSerialPortsEnabled();

    /**
     * @param serialPortsEnabled
     *            the serialPortsEnabled to set
     */
    void setSerialPortsEnabled(boolean serialPortsEnabled);

    /**
     * @return the previousSelectedComPort
     */
    String getPreviousSelectedComPort();

    /**
     * @param previousSelectedComPort
     *            the previousSelectedComPort to set
     */
    void setPreviousSelectedComPort(String previousSelectedComPort);

    /**
     * @return the speedometerEnabled flag
     */
    boolean isSpeedometerEnabled();

    /**
     * @param speedometerEnabled
     *            the speedometerEnabled flag to set
     */
    void setSpeedometerEnabled(boolean speedometerEnabled);

    /**
     * @return the netBidibEnabled flag
     */
    boolean isNetBidibEnabled();

    /**
     * @param netBidibEnabled
     *            the netBidibEnabled flag to set
     */
    void setNetBidibEnabled(boolean netBidibEnabled);

    /**
     * @return the serialOverTcpEnabled flag
     */
    boolean isSerialOverTcpEnabled();

    /**
     * @param serialOverTcpEnabled
     *            the serialOverTcpEnabled flag to set
     */
    void setSerialOverTcpEnabled(boolean serialOverTcpEnabled);

    /**
     * @return the previousSelectedSerialSymLink
     */
    String getPreviousSelectedSerialSymLink();

    /**
     * @param previousSelectedSerialSymLink
     *            the previousSelectedSerialSymLink to set
     */
    void setPreviousSelectedSerialSymLink(String previousSelectedSerialSymLink);

    /**
     * @return the previousSelectedNetBidibHost
     */
    String getPreviousSelectedNetBidibHost();

    /**
     * @return the previousSelectedSerialOverTcpHost
     */
    String getPreviousSelectedSerialOverTcpHost();

    /**
     * @param previousSelectedSerialOverTcpHost
     *            the previousSelectedSerialOverTcpHost to set
     */
    void setPreviousSelectedSerialOverTcpHost(String previousSelectedSerialOverTcpHost);

    /**
     * @param previousSelectedNetBidibHost
     *            the previousSelectedNetBidibHost to set
     */
    void setPreviousSelectedNetBidibHost(String previousSelectedNetBidibHost);

    /**
     * @return the previousSelectedSpeedometerPort
     */
    String getPreviousSelectedSpeedometerPort();

    /**
     * @param previousSelectedSpeedometerPort
     *            the previousSelectedSpeedometerPort to set
     */
    void setPreviousSelectedSpeedometerPort(String previousSelectedSpeedometerPort);

    /**
     * @return the previousSelectedSimulationFileName
     */
    String getPreviousSelectedSimulationFileName();

    /**
     * @param previousSelectedSimulationFileName
     *            the previousSelectedSimulationFileName to set
     */
    void setPreviousSelectedSimulationFileName(String previousSelectedSimulationFileName);

    /**
     * @return the modelTimeEnabled
     */
    boolean isModelTimeEnabled();

    /**
     * @param modelTimeEnabled
     *            the modelTimeEnabled to set
     */
    void setModelTimeEnabled(boolean modelTimeEnabled);

    /**
     * @return the startTime
     */
    LocalTime getStartTime();

    /**
     * @param startTime
     *            the startTime to set
     */
    void setStartTime(LocalTime startTime);

    /**
     * @return the day of week
     */
    DayOfWeek getDayOfWeek();

    /**
     * @param dayOfWeek
     *            the day of week to set
     */
    void setDayOfWeek(DayOfWeek dayOfWeek);

    /**
     * @return the timeFactor
     */
    int getTimeFactor();

    /**
     * @param timeFactor
     *            the timeFactor to set
     */
    void setTimeFactor(int timeFactor);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy