26 lines
477 B
C
26 lines
477 B
C
int USERD_get_timeset_description
|
|
(
|
|
int timeset_number,
|
|
char timeset_description[Z_BUFL]
|
|
)
|
|
{
|
|
|
|
#ifdef ENSIGHTDEBUG
|
|
Info<< "Entering: USERD_get_timeset_description" << endl;
|
|
#endif
|
|
|
|
if (timeDirs[1].value() < 0)
|
|
{
|
|
strncpy(timeset_description, "CAD", Z_BUFL);
|
|
}
|
|
else
|
|
{
|
|
strncpy(timeset_description, "seconds", Z_BUFL);
|
|
}
|
|
|
|
#ifdef ENSIGHTDEBUG
|
|
Info<< "Leaving: USERD_get_timeset_description" << endl;
|
|
#endif
|
|
|
|
return Z_OK;
|
|
}
|