Class GenericSerialSenderBean

    • Constructor Detail

      • GenericSerialSenderBean

        public GenericSerialSenderBean​(GuiUtils guiUtils)
        Creates new form GenericSerialSenderBean
        Parameters:
        guiUtils -
      • GenericSerialSenderBean

        public GenericSerialSenderBean()
        Creates new form GenericSerialSenderBean
    • Method Detail

      • getPortName

        public String getPortName()
        Returns:
        the portName
      • setPortName

        public final void setPortName​(String portName)
        Parameters:
        portName - the portName to set
      • getBaud

        public int getBaud()
        Returns:
        the baudRate
      • setBaud

        public final void setBaud​(int baud)
        Parameters:
        baud -
      • getDataSize

        public int getDataSize()
        Returns:
        the dataSize
      • setDataSize

        public final void setDataSize​(int dataSize)
        Parameters:
        dataSize - the dataSize to set
      • getFlowControl

        public org.harctoolbox.harchardware.comm.LocalSerialPort.FlowControl getFlowControl()
        Returns:
        the flowControl
      • setFlowControl

        public final void setFlowControl​(org.harctoolbox.harchardware.comm.LocalSerialPort.FlowControl flowControl)
        Parameters:
        flowControl - the flowControl to set
      • getParity

        public org.harctoolbox.harchardware.comm.LocalSerialPort.Parity getParity()
        Returns:
        the parity
      • setParity

        public final void setParity​(org.harctoolbox.harchardware.comm.LocalSerialPort.Parity parity)
        Parameters:
        parity - the parity to set
      • getStopBits

        public int getStopBits()
        Returns:
        the stopBits
      • setStopBits

        public final void setStopBits​(int stopBits)
        Parameters:
        stopBits - the stopBits to set
      • getCommand

        public String getCommand()
        Returns:
        the command
      • setCommand

        public void setCommand​(String command)
        Parameters:
        command - the command to set
      • getRaw

        public boolean getRaw()
        Returns:
        the raw
      • setRaw

        public void setRaw​(boolean raw)
        Parameters:
        raw - the raw to set
      • getUseSigns

        public boolean getUseSigns()
        Returns:
        the useSigns
      • setUseSigns

        public void setUseSigns​(boolean useSigns)
        Parameters:
        useSigns - the useSigns to set
      • getSeparator

        public String getSeparator()
        Returns:
        the separator
      • setSeparator

        public void setSeparator​(String separator)
        Parameters:
        separator - the separator to set
      • getLineEnding

        public String getLineEnding()
        Returns:
        the lineEnding
      • setLineEnding

        public void setLineEnding​(String lineEnding)
        Parameters:
        lineEnding - the lineEnding to set
      • setHardware

        public void setHardware​(org.harctoolbox.harchardware.IHarcHardware hardware)