pyuaf.util.timestampstoreturn

This module defines the ways to return the timestamps when calling an OPC UA service.

  • Attributes:

    timestampstoreturn.Source = 0

    Return only the source timestamp.

    timestampstoreturn.Server = 1

    Return only the server timestamp.

    timestampstoreturn.Both = 2

    Return both the source and server timestamps.

    timestampstoreturn.Neither = 3

    Don’t return any timestamp.

  • Functions:

    pyuaf.util.timestampstoreturn.toString(timestamps)

    Get a string representation of the timestamps to return.

    Parameters:timestamps (int) – The timestamps to return e.g. pyuaf.util.timestampstoreturn.Both.
    Returns:The name of the timestamps to return, e.g. ‘Both’.
    Return type:str