Beispieldatensatz - OTH-AW/isac-oth-aw GitHub Wiki

Beispieldatensatz der Mongo-DB

{ 
   "_id":"5df7a7cb9d966f190f91bc1a",
   "workpieceId":"greenTriangle-191216-1",
   "color":{ 
      "actualValue": null,
      "toValue":"Grün"
   },
   "shape":{ 
      "actualValue": null,
      "toValue":"Dreieck"
   },
   "state":{ 
      "id":0,
      "message":"Wird gedruckt",
      "timeEstimate":7200,
      "timeCurrent":3600,
      "timeLeft":3600,
      "completion":50,
      "printStartingTime":"2019-12-16 16:50:00.000",
      "printCompletionTime":"2019-12-16 17:10:15.000",
      "controlProcesses":[ 
         { 
            "controlStartingTime":"2019-12-16 17:30:00.000",
            "controlCompletionTime":"2019-12-16 17:30:30.000",
            "function": true, // Could be NULL too
            "color": true,  // Could be NULL too 
            "shape": true,  // Could be NULL too 
         }
      ],
      "storageProcesses":[ 
         { 
            "storageStartingTime":"2019-12-16 17:30:00.000",
            "storageCompletionTime":"2019-12-16 17:30:30.000",
            "outsourceStartingTime":"2019-12-16 18:00:00.000",
            "outsourceCompletionTime":"2019-12-16 18:00:30.000"
         }
      ],
      "place":{ 
         "id":1,
         "faculty":"MBUT",
         "floor":"Erdgeschoss",
         "room":"0123",
         "subproject":"TP1"
      }
   },
   "oder":{ 
      "number":"vs-92224-191216-gr-tri-1",
      "customer":{ 
         "customerFirstname":"Veit",
         "customerName":"Stephan",
         "customerZip":"92224",
         "customerEmail":"[email protected]"
      },
      "shape":{ 
         "toValue":"Dreieck"
      },
      "color":{ 
         "toValue":"Grün"
      },
      "createdAt":"2019-12-16T16:48:25.000Z",
      "updatedAt":"2019-12-16T16:48:25.000Z"
   },
   "createdAt":"2019-12-16T15:48:25.000Z",
   "updatedAt":"2019-12-16T15:48:25.000Z"
}
⚠️ **GitHub.com Fallback** ⚠️