コード例 #1
0
ファイル: sunspec_client.py プロジェクト: ccatterina/pymodbus
    def __init__(self, payload, byteorder):
        """ Initialize a new instance of the SunspecDecoder

        .. note:: This is always set to big endian byte order
        as specified in the protocol.
        """
        byteorder = Endian.Big
        BinaryPayloadDecoder.__init__(self, payload, byteorder)
コード例 #2
0
    def __init__(self, payload, byteorder):
        """ Initialize a new instance of the SunspecDecoder

        .. note:: This is always set to big endian byte order
        as specified in the protocol.
        """
        byteorder = Endian.Big
        BinaryPayloadDecoder.__init__(self, payload, byteorder)
コード例 #3
0
ファイル: client_sync.py プロジェクト: marpi82/sunspec_test
 def __init__(self, payload, byteorder=Endian.Big, wordorder=Endian.Big):
     BinaryPayloadDecoder.__init__(self, payload, byteorder, wordorder)