TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
moConParamsBase.Base Class Reference
Inheritance diagram for moConParamsBase.Base:
Inheritance graph
Collaboration diagram for moConParamsBase.Base:
Collaboration graph

Public Member Functions

def __init__ (self, _cfg, _type, _vendor, _product, _file, _path, _verbose)
 Initialize fundamental parameters . More...
 
def connect (self)
 Connect (login) to the module Read communication parameters (IP address, card number...) from the TAN configuration. More...
 
def reserveCard (self)
 Reserve a card for further use. More...
 
def reserveModule (self)
 Reserve a module for further use. More...
 
def freeCard (self)
 Release a card. More...
 
def freeModule (self)
 Release a module. More...
 
def disconnect (self)
 Disconnect from the board. More...
 
def disableInfoMessageFlag (self)
 Block info messages in the future. More...
 
def readConnectionTimeout (self)
 Query the timeout set by the electronics GetLinkTimeout of the programmer's guide. More...
 
def __init__ (self, _cfg, _type, _vendor, _product, _file, _path, _verbose)
 Initialize fundamental parameters . More...
 
def connect (self)
 Connect (login) to the module Read communication parameters (IP address, card number...) from the TAN configuration. More...
 
def reserveCard (self)
 Reserve a card for further use. More...
 
def reserveModule (self)
 Reserve a module for further use. More...
 
def freeCard (self)
 Release a card. More...
 
def freeModule (self)
 Release a module. More...
 
def disconnect (self)
 Disconnect from the board. More...
 
def disableInfoMessageFlag (self)
 Block info messages in the future. More...
 
def readConnectionTimeout (self)
 Query the timeout set by the electronics GetLinkTimeout of the programmer's guide. More...
 

Public Attributes

 config
 
 type
 
 vendor
 
 product
 
 filename
 
 path
 
 verbose
 
 configFile
 
 telnet
 
 address
 
 card
 
 module
 
 connectionTimeout
 
 linkTimeout
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

def moConParamsBase.Base.__init__ (   self,
  _cfg,
  _type,
  _vendor,
  _product,
  _file,
  _path,
  _verbose 
)

Initialize fundamental parameters .

Parameters
selfThis object
_cfgTAN configuration
_typeType of the card
_vendorVendor of the boards
_fileFile with the configuration data
_pathdirectory name
_verbose

◆ __init__() [2/2]

def moConParamsBase.Base.__init__ (   self,
  _cfg,
  _type,
  _vendor,
  _product,
  _file,
  _path,
  _verbose 
)

Initialize fundamental parameters .

Parameters
selfThis object
_cfgTAN configuration
_typeType of the card
_vendorVendor of the boards
_fileFile with the configuration data
_pathdirectory name
_verbose

Member Function Documentation

◆ connect() [1/2]

def moConParamsBase.Base.connect (   self)

Connect (login) to the module Read communication parameters (IP address, card number...) from the TAN configuration.

Try to log into the module. Commands TCPLogin and TCPPassword of the programmer's guide.

Parameters
selfThis object

◆ connect() [2/2]

def moConParamsBase.Base.connect (   self)

Connect (login) to the module Read communication parameters (IP address, card number...) from the TAN configuration.

Try to log into the module. Commands TCPLogin and TCPPassword of the programmer's guide.

Parameters
selfThis object

◆ disableInfoMessageFlag() [1/2]

def moConParamsBase.Base.disableInfoMessageFlag (   self)

Block info messages in the future.

SetInfoMessageFlag of the programmer's guide.

Exceptions
ERR_MODULE_NOT_RESERVEDif that module is not reserved.

◆ disableInfoMessageFlag() [2/2]

def moConParamsBase.Base.disableInfoMessageFlag (   self)

Block info messages in the future.

SetInfoMessageFlag of the programmer's guide.

Exceptions
ERR_MODULE_NOT_RESERVEDif that module is not reserved.

◆ disconnect() [1/2]

def moConParamsBase.Base.disconnect (   self)

Disconnect from the board.

TCPLogout of the programmer's guide.

◆ disconnect() [2/2]

def moConParamsBase.Base.disconnect (   self)

Disconnect from the board.

TCPLogout of the programmer's guide.

◆ freeCard() [1/2]

def moConParamsBase.Base.freeCard (   self)

Release a card.

TCPFreeModule of the programmer's Guide.

◆ freeCard() [2/2]

def moConParamsBase.Base.freeCard (   self)

Release a card.

TCPFreeModule of the programmer's Guide.

◆ freeModule() [1/2]

def moConParamsBase.Base.freeModule (   self)

Release a module.

TCPFreeModule of the programmer's Guide.

◆ freeModule() [2/2]

def moConParamsBase.Base.freeModule (   self)

Release a module.

TCPFreeModule of the programmer's Guide.

◆ readConnectionTimeout() [1/2]

def moConParamsBase.Base.readConnectionTimeout (   self)

Query the timeout set by the electronics GetLinkTimeout of the programmer's guide.

Exceptions
ERR_MODULE_NOT_RESERVEDif that module is not reserved.

◆ readConnectionTimeout() [2/2]

def moConParamsBase.Base.readConnectionTimeout (   self)

Query the timeout set by the electronics GetLinkTimeout of the programmer's guide.

Exceptions
ERR_MODULE_NOT_RESERVEDif that module is not reserved.

◆ reserveCard() [1/2]

def moConParamsBase.Base.reserveCard (   self)

Reserve a card for further use.

TCPRserveModule of the Programmer's Guide

Exceptions
ERR_MODULE_RESERVEDif that module is already reserved (by some other client or this one)

◆ reserveCard() [2/2]

def moConParamsBase.Base.reserveCard (   self)

Reserve a card for further use.

TCPRserveModule of the Programmer's Guide

Exceptions
ERR_MODULE_RESERVEDif that module is already reserved (by some other client or this one)

◆ reserveModule() [1/2]

def moConParamsBase.Base.reserveModule (   self)

Reserve a module for further use.

TCPRserveModule of the Programmer's Guide

Exceptions
ERR_MODULE_RESERVEDif that module is already reserved (by some other client or this one)

◆ reserveModule() [2/2]

def moConParamsBase.Base.reserveModule (   self)

Reserve a module for further use.

TCPRserveModule of the Programmer's Guide

Exceptions
ERR_MODULE_RESERVEDif that module is already reserved (by some other client or this one)

Member Data Documentation

◆ address

moConParamsBase.Base.address

◆ card

moConParamsBase.Base.card

◆ config

moConParamsBase.Base.config

◆ configFile

moConParamsBase.Base.configFile

◆ connectionTimeout

moConParamsBase.Base.connectionTimeout

◆ filename

moConParamsBase.Base.filename

◆ linkTimeout

moConParamsBase.Base.linkTimeout

◆ module

moConParamsBase.Base.module

◆ path

moConParamsBase.Base.path

◆ product

moConParamsBase.Base.product

◆ telnet

moConParamsBase.Base.telnet

◆ type

moConParamsBase.Base.type

◆ vendor

moConParamsBase.Base.vendor

◆ verbose

moConParamsBase.Base.verbose

The documentation for this class was generated from the following file: