NetTime Device

@startuml

class SatNetTimeClock
SatNetTimeClock : +healthState
SatNetTimeClock : +state
SatNetTimeClock : +adminMode

AttributePollingDevice <|-- SatNetTimeClock
HealthModel <|-- NetTimeClockHealthModel
SatNetTimeClock -- HealthModel
SatNetTimeClock -- AttributePollingComponentManager
AttributePollingComponentManager <|-- SNMPComponentManager

@enduml

This module implements the NetTime clock device.

class SatNetTimeClock(*args, **kwargs)

An implementation of a NetTime Clock Tango device for SATLMC.

__init__(*args, **kwargs)

Initialise a new instance.

Parameters:
  • args (Any) – positional arguments.

  • kwargs (Any) – keyword arguments.

create_component_manager()

Create and return a component manager.

Return type:

SNMPComponentManager

Returns:

SNMPComponent manager

delete_device()

Delete the device.

Return type:

None

healthReport()

Get the health report.

Return type:

str

Returns:

the health report.

init_device()

Initialise the device.

Return type:

None

main(*args, **kwargs)

Entry point for module.

Parameters:
  • args (str) – positional arguments

  • kwargs (str) – named arguments

Return type:

int

Returns:

exit code