/************************************************************************************ * * ***********************************************************************************/ FocusLynxF2::FocusLynxF2(const char *target) { setFocusTarget(target); // The second focuser has no direct communication with the hub setSupportedConnections(CONNECTION_NONE); }
/************************************************************************************ * * ***********************************************************************************/ FocusLynxF2::FocusLynxF2(const char *target) { setFocusTarget(target); // The second focuser has no direct communication with the hub setFocuserConnection(CONNECTION_NONE); DBG_FOCUS = INDI::Logger::getInstance().addDebugLevel("Focus F2 Verbose", "FOCUS F2"); }
/************************************************************************************ * * ***********************************************************************************/ FocusLynxF1::FocusLynxF1(const char *target) { /* Override the original constructor * and give the Focuser target * F1 or F2 to set the target of the created instance */ setFocusTarget(target); // Both communication available, Serial and network (tcp/ip) setSupportedConnections(CONNECTION_SERIAL | CONNECTION_TCP); // explain in connect() function Only set on the F1 constructor, not on the F2 one PortFD = -1; }
/************************************************************************************ * * ***********************************************************************************/ FocusLynxF1::FocusLynxF1(const char *target) { /* Override the original constructor * and give the Focuser target * F1 or F2 to set the target of the created instance */ setFocusTarget(target); // Both communication available, Serial and network (tcp/ip) setFocuserConnection(CONNECTION_SERIAL | CONNECTION_TCP); // explain in connect() function Only set on the F1 constructor, not on the F2 one PortFD = -1; DBG_FOCUS = INDI::Logger::getInstance().addDebugLevel("Focus F1 Verbose", "FOCUS F1"); }