Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

Switch Class

No change in size, 08:32, 3 December 2019
m
Switches Methods
== Switches Methods ==
=== getValueTypegetName() ===Return the type of value that is used witch this switch. Can be bool (boolean), int (integer) or string (string) Name according with the configuration file.
<syntaxhighlight lang="python">
Python 3.4.2 (default, Sep 26 2018, 07:16:01)
>>> FGINT1.createElements()
>>> RMP0PSW = FGINT1.getElement('RMP0PSW')
>>> RMP0PSW.getValueTypegetName()'intrmp0psw'
>>>
</syntaxhighlight>
=== getNamegetValueType() ===Return the type of value that is used witch this switch Name . Can be bool (boolean), int (integer) or string (string) according with the configurationfile.
<syntaxhighlight lang="python">
Python 3.4.2 (default, Sep 26 2018, 07:16:01)
>>> FGINT1.createElements()
>>> RMP0PSW = FGINT1.getElement('RMP0PSW')
>>> RMP0PSW.getNamegetValueType()'rmp0pswint'
>>>
</syntaxhighlight>
494
edits

Navigation menu