AckReply¶
- 
class 
lsst.ts.MTMount.replies.AckReply(**kwargs)¶ Bases:
lsst.ts.MTMount.replies.ReplyAck command.
Parameters: - reply_code : 
ReplyCode (optional) reply_code field with a fixed value: <ReplyCode.ACK: 0>
- sequence_id : 
int sequence_id of command being acknowledged.
- sal_sequence_id : 
int (optional) sal_sequence_id of command being acknowledged.
- source : 
Source (optional) Source of the command being replied to; a
Source- timestamp : 
Time (optional) Time at which the message was sent.
- timeout_ms : 
int Expected duration of command (msec).
Attributes Summary
field_infoshas_extra_dataMethods Summary
encode()Return the data encoded as a bytes string, including the standard terminator. from_str_fields(fields)Construct a BaseMessage from a list of string fields. str_fields()Return the data as a list of string fields. Attributes Documentation
- 
field_infos= (<lsst.ts.MTMount.field_info.ReplyCodeFieldInfo object>, <lsst.ts.MTMount.field_info.IntFieldInfo object>, <lsst.ts.MTMount.field_info.IntFieldInfo object>, <lsst.ts.MTMount.field_info.SourceFieldInfo object>, <lsst.ts.MTMount.field_info.TimestampFieldInfo object>, <lsst.ts.MTMount.field_info.IntFieldInfo object>)¶ 
- 
has_extra_data= False¶ 
Methods Documentation
- 
encode()¶ Return the data encoded as a bytes string, including the standard terminator.
- 
classmethod 
from_str_fields(fields)¶ Construct a BaseMessage from a list of string fields.
Parameters: - fields : 
List[str] Data fields, as strings:
- There must be at least one field per 
field_infosentry. - If 
has_extra_datais treue then additional fields are provided as theextra_dataargument, else additional fields result in an error. 
- There must be at least one field per 
 
Raises: - ValueError
 If the wrong number of fields is presented or the data cannot be parsed as the kind of message indicated by its command_code field (for commands) or reply_code field (for replies).
- fields : 
 
- 
str_fields()¶ Return the data as a list of string fields.
- reply_code :