Driver Programming: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
A [[Device Class]] is a '''main.py''' file in which a python class-Object is inherited from a parent class called EmptyDeviceClass. | A [[Device Class]] is a '''main.py''' file in which a python class-Object is inherited from a parent class called EmptyDeviceClass. | ||
EmptyDeviceClass has to be loaded at the beginning like any other python module by using the line: | EmptyDeviceClass has to be loaded at the beginning like any other python module by using the line: | ||
from EmptyDeviceClass import EmptyDevice |
Revision as of 08:31, 9 November 2017
A Device Class is a main.py file in which a python class-Object is inherited from a parent class called EmptyDeviceClass. EmptyDeviceClass has to be loaded at the beginning like any other python module by using the line:
from EmptyDeviceClass import EmptyDevice