blob: 973e8f5ff81d97183982cc9286465427d98aa1f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#
# A Project consists of Parts.
# A Part consists of instructions in a Language.
# A Part can be sent to a Device.
# A Device has a Language.
# A Device uses a Tool.
# A Tool is designed for one or more Materials.
# Some Tools may have parameters.
# Some Languages can be converted to other Languages via the Translate method.
#
class Material:
pass
class Tool:
def __init__(self):
pass
def __conform__(self, protocol):
if protocol is sqlite3.PrepareProtocol:
return "%f;%f"
class Device:
pass
class Project:
pass
class Part:
pass
class Language:
def Translate(To, Code):
pass
|