malcolm.modules.system.parts¶
- class malcolm.modules.system.parts.DirParsePart(name: Anno(name='APartName', typ=<class 'str'>, description='The name of the Part within the Controller'), ioc: Anno(name='AIoc', typ=<class 'str'>, description='name of IOC'))[source]¶
-
- setup(registrar: malcolm.core.part.PartRegistrar) → None[source]¶
Use the given
PartRegistrarto populate the hooks and fields. This function is called for all parts in a block when the block’sControlleris added to aProcess
- class malcolm.modules.system.parts.IocIconPart(ioc: Anno(name='AIoc', typ=<class 'str'>, description='name of IOC'), initial_svg: Anno(name='ASvg', typ=<class 'str'>, description='If given, path to svg for initial value'))[source]¶
-
- setup(registrar: malcolm.core.part.PartRegistrar) → None[source]¶
Use the given
PartRegistrarto populate the hooks and fields. This function is called for all parts in a block when the block’sControlleris added to aProcess