func (c *FailoverRTUClient) SetServerProcessingTime(t time.Duration) {
	c.serverProcessingTime = t
}
SetServerProcessingTime sets the time to wait for a server response, the total
wait time also includes the time needed for data transmission.
package modbusone
import (
	"bytes"
	"encoding/hex"
	"fmt"
	"sync/atomic"
	"time"
)
type FailoverRTUClient struct {
	com                  *FailoverSerialConn
	packetReader         PacketReader
	SlaveID              byte
	serverProcessingTime time.Duration
	actions              chan rtuAction
}
var _ Server = &FailoverRTUClient{}
func NewFailoverRTUClient(com SerialContext, isFailover bool, slaveID byte) *FailoverRTUClient {
	pr, ok := com.(*FailoverSerialConn)
	if !ok {
		pr = NewFailoverConn(com, isFailover, true)
	}
	if pr.isFailover != isFailover {
		panic("A SerialContext was provided with conflicting settings.")
	}
	r := FailoverRTUClient{
		com:                  pr,
		packetReader:         pr,
		SlaveID:              slaveID,
		serverProcessingTime: time.Second,
		actions:              make(chan rtuAction),
	}
	return &r
}