2020-04-22 17:24:15 +02:00
|
|
|
{
|
|
|
|
"collections": {
|
2020-05-06 14:39:04 +02:00
|
|
|
"samples": [
|
2020-04-22 17:24:15 +02:00
|
|
|
{
|
2020-05-06 14:39:04 +02:00
|
|
|
"_id": {"$oid":"400000000000000000000001"},
|
|
|
|
"number": "1",
|
|
|
|
"type": "granulate",
|
|
|
|
"color": "black",
|
|
|
|
"batch": "",
|
|
|
|
"validated": true,
|
|
|
|
"material_id": {"$oid":"100000000000000000000004"},
|
|
|
|
"note_id": null,
|
|
|
|
"user_id": {"$oid":"000000000000000000000002"},
|
2020-04-29 12:10:27 +02:00
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
2020-05-06 14:39:04 +02:00
|
|
|
"_id": {"$oid":"400000000000000000000002"},
|
|
|
|
"number": "21",
|
|
|
|
"type": "granulate",
|
|
|
|
"color": "natural",
|
|
|
|
"batch": "1560237365",
|
|
|
|
"validated": true,
|
|
|
|
"material_id": {"$oid":"100000000000000000000001"},
|
|
|
|
"note_id": {"$oid":"500000000000000000000001"},
|
|
|
|
"user_id": {"$oid":"000000000000000000000002"},
|
2020-04-22 17:24:15 +02:00
|
|
|
"__v": 0
|
2020-04-23 13:59:45 +02:00
|
|
|
},
|
|
|
|
{
|
2020-05-06 14:39:04 +02:00
|
|
|
"_id": {"$oid":"400000000000000000000003"},
|
|
|
|
"number": "33",
|
|
|
|
"type": "part",
|
|
|
|
"color": "black",
|
|
|
|
"batch": "1704-005",
|
|
|
|
"validated": false,
|
|
|
|
"material_id": {"$oid":"100000000000000000000005"},
|
|
|
|
"note_id": {"$oid":"500000000000000000000002"},
|
|
|
|
"user_id": {"$oid":"000000000000000000000003"},
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"400000000000000000000004"},
|
|
|
|
"number": "32",
|
|
|
|
"type": "granulate",
|
|
|
|
"color": "black",
|
|
|
|
"batch": "1653000308",
|
|
|
|
"validated": false,
|
|
|
|
"material_id": {"$oid":"100000000000000000000005"},
|
|
|
|
"note_id": {"$oid":"500000000000000000000003"},
|
|
|
|
"user_id": {"$oid":"000000000000000000000003"},
|
|
|
|
"__v": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"notes": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"500000000000000000000001"},
|
|
|
|
"comment": "Stoff gesperrt",
|
|
|
|
"sample_references": [],
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"500000000000000000000002"},
|
|
|
|
"comment": "",
|
|
|
|
"sample_references": [{
|
2020-05-07 21:55:29 +02:00
|
|
|
"id": {"$oid":"400000000000000000000004"},
|
2020-05-06 14:39:04 +02:00
|
|
|
"relation": "granulate to sample"
|
|
|
|
}],
|
|
|
|
"custom_fields": {
|
|
|
|
"not allowed for new applications": true
|
|
|
|
},
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"500000000000000000000003"},
|
|
|
|
"comment": "",
|
|
|
|
"sample_references": [{
|
2020-05-07 21:55:29 +02:00
|
|
|
"id": {"$oid":"400000000000000000000003"},
|
2020-05-06 14:39:04 +02:00
|
|
|
"relation": "part to sample"
|
|
|
|
}],
|
|
|
|
"custom_fields": {
|
2020-05-07 21:55:29 +02:00
|
|
|
"not allowed for new applications": true,
|
|
|
|
"another_field": "is there"
|
2020-05-06 14:39:04 +02:00
|
|
|
},
|
|
|
|
"__v": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"note_fields": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"600000000000000000000001"},
|
|
|
|
"name": "not allowed for new applications",
|
|
|
|
"qty": 2,
|
|
|
|
"__v": 0
|
2020-05-07 21:55:29 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"600000000000000000000002"},
|
|
|
|
"name": "another_field",
|
|
|
|
"qty": 1,
|
|
|
|
"__v": 0
|
2020-04-22 17:24:15 +02:00
|
|
|
}
|
2020-04-29 12:10:27 +02:00
|
|
|
],
|
|
|
|
"materials": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"100000000000000000000001"},
|
|
|
|
"name": "Stanyl TW 200 F8",
|
|
|
|
"supplier": "DSM",
|
|
|
|
"group": "PA46",
|
|
|
|
"mineral": 0,
|
|
|
|
"glass_fiber": 40,
|
|
|
|
"carbon_fiber": 0,
|
|
|
|
"numbers": [
|
|
|
|
{
|
|
|
|
"color": "black",
|
|
|
|
"number": 5514263423
|
2020-05-06 14:39:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "natural",
|
|
|
|
"number": 5514263422
|
2020-04-29 12:10:27 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"100000000000000000000002"},
|
|
|
|
"name": "Ultramid T KR 4355 G7",
|
|
|
|
"supplier": "BASF",
|
|
|
|
"group": "PA6/6T",
|
|
|
|
"mineral": 0,
|
|
|
|
"glass_fiber": 35,
|
|
|
|
"carbon_fiber": 0,
|
|
|
|
"numbers": [
|
|
|
|
{
|
|
|
|
"color": "black",
|
|
|
|
"number": 5514212901
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "signalviolet",
|
|
|
|
"number": 5514612901
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"100000000000000000000003"},
|
|
|
|
"name": "PA GF 50 black (2706)",
|
|
|
|
"supplier": "Akro-Plastic",
|
|
|
|
"group": "PA66+PA6I/6T",
|
|
|
|
"mineral": 0,
|
|
|
|
"glass_fiber": 0,
|
|
|
|
"carbon_fiber": 0,
|
|
|
|
"numbers": [
|
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-06 14:39:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"100000000000000000000004"},
|
|
|
|
"name": "Schulamid 66 GF 25 H",
|
|
|
|
"supplier": "Schulmann",
|
|
|
|
"group": "PA66",
|
|
|
|
"mineral": 0,
|
|
|
|
"glass_fiber": 25,
|
|
|
|
"carbon_fiber": 0,
|
|
|
|
"numbers": [
|
|
|
|
{
|
|
|
|
"color": "black",
|
|
|
|
"number": 5513933405
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"100000000000000000000005"},
|
|
|
|
"name": "Amodel A 1133 HS",
|
|
|
|
"supplier": "Solvay",
|
|
|
|
"group": "PPA",
|
|
|
|
"mineral": 0,
|
|
|
|
"glass_fiber": 33,
|
|
|
|
"carbon_fiber": 0,
|
|
|
|
"numbers": [
|
|
|
|
{
|
|
|
|
"color": "black",
|
|
|
|
"number": 5514262406
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__v": 0
|
2020-04-29 12:10:27 +02:00
|
|
|
}
|
2020-05-04 15:48:07 +02:00
|
|
|
],
|
2020-05-08 14:41:31 +02:00
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"700000000000000000000001"},
|
|
|
|
"sample_id": {"$oid":"400000000000000000000001"},
|
|
|
|
"number": "B1",
|
|
|
|
"parameters": {
|
|
|
|
"material": "copper",
|
|
|
|
"weeks": 3
|
|
|
|
},
|
|
|
|
"treatment_template": {"$oid":"200000000000000000000001"},
|
|
|
|
"__v": 0
|
2020-05-08 15:12:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"700000000000000000000002"},
|
|
|
|
"sample_id": {"$oid":"400000000000000000000002"},
|
|
|
|
"number": "B1",
|
|
|
|
"parameters": {
|
|
|
|
"material": "copper",
|
|
|
|
"weeks": 3
|
|
|
|
},
|
|
|
|
"treatment_template": {"$oid":"200000000000000000000001"},
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"700000000000000000000003"},
|
|
|
|
"sample_id": {"$oid":"400000000000000000000004"},
|
|
|
|
"number": "B1",
|
|
|
|
"parameters": {
|
|
|
|
"material": "copper",
|
|
|
|
"weeks": 3
|
|
|
|
},
|
|
|
|
"treatment_template": {"$oid":"200000000000000000000001"},
|
|
|
|
"__v": 0
|
2020-05-11 13:05:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"700000000000000000000004"},
|
|
|
|
"sample_id": {"$oid":"400000000000000000000001"},
|
|
|
|
"number": "B3",
|
|
|
|
"parameters": {
|
|
|
|
"material": "hot air",
|
|
|
|
"weeks": 5
|
|
|
|
},
|
|
|
|
"treatment_template": {"$oid":"200000000000000000000001"},
|
|
|
|
"__v": 0
|
2020-05-08 14:41:31 +02:00
|
|
|
}
|
|
|
|
],
|
2020-05-12 12:15:36 +02:00
|
|
|
"measurements": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"800000000000000000000001"},
|
|
|
|
"condition_id": {"$oid":"700000000000000000000001"},
|
|
|
|
"values": {
|
|
|
|
"dpt": [
|
|
|
|
[3997.12558,98.00555],
|
|
|
|
[3995.08519,98.03253],
|
|
|
|
[3993.04480,98.02657]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"status": 10,
|
|
|
|
"measurement_template": {"$oid":"300000000000000000000001"},
|
|
|
|
"__v": 0
|
2020-05-12 17:15:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"800000000000000000000002"},
|
|
|
|
"condition_id": {"$oid":"700000000000000000000002"},
|
|
|
|
"values": {
|
|
|
|
"weight %": 0.5,
|
|
|
|
"standard deviation": 0.2
|
|
|
|
},
|
|
|
|
"status": 10,
|
|
|
|
"measurement_template": {"$oid":"300000000000000000000002"},
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"800000000000000000000003"},
|
|
|
|
"condition_id": {"$oid":"700000000000000000000003"},
|
|
|
|
"values": {
|
|
|
|
"val1": 1
|
|
|
|
},
|
|
|
|
"status": 0,
|
|
|
|
"measurement_template": {"$oid":"300000000000000000000003"},
|
|
|
|
"__v": 0
|
2020-05-12 12:15:36 +02:00
|
|
|
}
|
|
|
|
],
|
2020-05-04 15:48:07 +02:00
|
|
|
"treatment_templates": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"200000000000000000000001"},
|
|
|
|
"name": "heat treatment",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "material",
|
|
|
|
"range": {
|
|
|
|
"values": [
|
|
|
|
"copper",
|
|
|
|
"hot air"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "weeks",
|
|
|
|
"range": {
|
|
|
|
"min": 1,
|
|
|
|
"max": 10
|
|
|
|
}
|
|
|
|
}
|
2020-05-08 14:41:31 +02:00
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-04 15:48:07 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"200000000000000000000002"},
|
|
|
|
"name": "heat treatment 2",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "material",
|
|
|
|
"range": {}
|
|
|
|
}
|
2020-05-08 14:41:31 +02:00
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-04 15:48:07 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"measurement_templates": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"300000000000000000000001"},
|
|
|
|
"name": "spectrum",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "dpt",
|
2020-05-12 12:15:36 +02:00
|
|
|
"range": {
|
|
|
|
"type": "array"
|
|
|
|
}
|
2020-05-04 15:48:07 +02:00
|
|
|
}
|
2020-05-08 14:41:31 +02:00
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-04 15:48:07 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"300000000000000000000002"},
|
|
|
|
"name": "kf",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "weight %",
|
|
|
|
"range": {
|
|
|
|
"min": 0,
|
|
|
|
"max": 1.5
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "standard deviation",
|
|
|
|
"range": {
|
|
|
|
"min": 0,
|
|
|
|
"max": 0.5
|
|
|
|
}
|
|
|
|
}
|
2020-05-08 14:41:31 +02:00
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-12 12:15:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"300000000000000000000003"},
|
|
|
|
"name": "mt 3",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "val1",
|
|
|
|
"range": {
|
|
|
|
"values": [1,2,3]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__v": 0
|
2020-05-04 15:48:07 +02:00
|
|
|
}
|
2020-05-06 14:39:04 +02:00
|
|
|
],
|
|
|
|
"users": [
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"000000000000000000000001"},
|
|
|
|
"email": "user@bosch.com",
|
|
|
|
"name": "user",
|
|
|
|
"pass": "$2a$10$di26XKF63OG0V00PL1kSK.ceCcTxDExBMOg.jkHiCnXcY7cN7DlPi",
|
|
|
|
"level": "read",
|
|
|
|
"location": "Rng",
|
|
|
|
"device_name": "Alpha I",
|
|
|
|
"key": "000000000000000000001001",
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"000000000000000000000002"},
|
|
|
|
"email": "jane.doe@bosch.com",
|
|
|
|
"name": "janedoe",
|
|
|
|
"pass": "$2a$10$di26XKF63OG0V00PL1kSK.ceCcTxDExBMOg.jkHiCnXcY7cN7DlPi",
|
|
|
|
"level": "write",
|
|
|
|
"location": "Rng",
|
|
|
|
"device_name": "Alpha I",
|
|
|
|
"key": "000000000000000000001002",
|
|
|
|
"__v": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": {"$oid":"000000000000000000000003"},
|
|
|
|
"email": "a.d.m.i.n@bosch.com",
|
|
|
|
"name": "admin",
|
|
|
|
"pass": "$2a$10$i872o3qR5V3JnbDArD8Z.eDo.BNPDBaR7dUX9KSEtl9pUjLyucy2K",
|
|
|
|
"level": "admin",
|
|
|
|
"location": "Rng",
|
|
|
|
"device_name": "",
|
|
|
|
"key": "000000000000000000001003",
|
|
|
|
"__v": "0"
|
|
|
|
}
|
2020-04-22 17:24:15 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|