mirror of
https://github.com/brmlab/edubrm.git
synced 2025-08-03 07:13:37 +02:00
init
This commit is contained in:
commit
4937dbfde4
13 changed files with 169 additions and 0 deletions
8
software/modules/ModuleA.py
Normal file
8
software/modules/ModuleA.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from module import Module
|
||||
|
||||
class ModuleA(Module):
|
||||
|
||||
group = "Acko"
|
||||
title = "Acko"
|
||||
board = 1
|
||||
desc = "Toto je Acko"
|
8
software/modules/ModuleB.py
Normal file
8
software/modules/ModuleB.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from module import Module
|
||||
|
||||
class ModuleB(Module):
|
||||
|
||||
group = "Bcko"
|
||||
title = "Bcko"
|
||||
board = 1
|
||||
desc = "Toto je Bcko"
|
5
software/modules/__init__.py
Normal file
5
software/modules/__init__.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from ModuleA import ModuleA
|
||||
from ModuleB import ModuleB
|
||||
|
||||
def list():
|
||||
return [ModuleA(),ModuleB()]
|
6
software/modules/module.py
Normal file
6
software/modules/module.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
class Module():
|
||||
|
||||
group = ""
|
||||
title = ""
|
||||
board = 1
|
||||
desc = ""
|
Loading…
Add table
Add a link
Reference in a new issue