Open Shaofanl opened 9 years ago
Update:
python manager.py testinit
in shell. I added a default Components in testinit
http://localhost:5000/data/fetch/parts
to get Partshttp://localhost:5000/data/fetch/relationship
to get Relationshiphttp://localhost:5000/data/fetch/adjmatrix
to get AdjMatrixNew interface:
http://localhost:5000/data/fetch/device
to get DevicesDevices are stored as some special design. We can load designs from file automatically now (check server/models/devices/*.txt
for detail)
all interfaces in Design is now moved to design/*
for instance, http://localhost:5000/data/fetch/device
is moved to http://localhost:5000/design/data/fetch/device
Preprocess:
python manager.py testinit
in shell. I added a default work intestinit
http://localhost:5000/work/fetch/parts/1
to get Parts:Alias
andLocal_id
. (Local_id
is also used in CMatrix and Relationship.)http://localhost:5000/work/fetch/relationship/1
to get Relationship:http://localhost:5000/work/fetch/cmatrix/1
to get CMatrix: