33 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
43 virtual bool updateTime(ln_date *utc,
double utc_offset)
override;
44 virtual bool updateLocation(
double latitude,
double longitude,
double elevation)
override;
50 virtual bool Park()
override;
51 virtual bool UnPark()
override;
54 bool getCalendarDate(
int &year,
int &month,
int &day);
55 bool setCalenderDate(
int year,
int month,
int day);
57 int setSiteLongitude(
int fd,
double Long);
58 int setSiteLatitude(
int fd,
double Long);
63 static const int ShortTimeOut;
64 static const int LongTimeOut;
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual void getBasicData(void) override
virtual const char * getDefaultName(void) override
virtual bool setUTCOffset(double offset) override
virtual bool updateLocation(double latitude, double longitude, double elevation) override
Update telescope location settings.
virtual bool SetCurrentPark() override
SetCurrentPark Set current coordinates/encoders value as the desired parking position.
virtual bool updateTime(ln_date *utc, double utc_offset) override
Update telescope time, date, and UTC offset.
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual bool SetDefaultPark() override
SetDefaultPark Set default coordinates/encoders value as the desired parking position.
virtual bool UnPark() override
Unpark the telescope if already parked.
virtual bool Park() override
Park the telescope to its home position.
virtual bool ReadScopeStatus() override
Read telescope status.
virtual bool isSlewComplete(void) override
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
Number vector property descriptor.