From 71e9b48824e62b9fcbf91c46c78f883e94f22eab Mon Sep 17 00:00:00 2001
From: Frank Rohde <frank.rohde@tu-dresden.de>
Date: Tue, 2 Nov 2021 15:08:33 +0100
Subject: [PATCH] adjusted OFBizOrderpicker

---
 .../OFBizOrderpicker/OFBizOrderpicker.proto   | 32 +++++++++----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/interfaces/OFBizOrderpicker/OFBizOrderpicker.proto b/interfaces/OFBizOrderpicker/OFBizOrderpicker.proto
index d148912..03b4fd7 100644
--- a/interfaces/OFBizOrderpicker/OFBizOrderpicker.proto
+++ b/interfaces/OFBizOrderpicker/OFBizOrderpicker.proto
@@ -6,9 +6,9 @@ message OrderpickerWrapper { // wrapper-message for configuration-topic
   repeated OFBizPicklist picklists = 1;
 }
 
-message FrontendWrapper {
-  repeated FEndInitRow fEndInitRows = 1;
-  repeated FEndUpdateInventoryItem fEndupdateInventoryItems = 2;
+message FEndWrapper { // FrontendWrapper
+  repeated FEndInitPicklist fEndInitPicklists = 1;
+  repeated FEndUpdateInventoryItem fEndUpdateInventoryItems = 2;
   repeated FEndUpdateShipmentBin fEndUpdateShipmentBins = 3;
 }
 
@@ -31,10 +31,7 @@ message OFBizPicklistBin {
 }
 
 message OFBizPicklistItem {
-  string orderId = 1;
-  string oderItemSeqId = 2;
-  int32 quantity = 3;
-  OFBizInventoryItem inventoryItem = 4;
+  OFBizInventoryItem inventoryItem = 1;
 }
 
 message OFBizInventoryItem {
@@ -43,24 +40,27 @@ message OFBizInventoryItem {
   string productId = 3;
 }
 
+message FEndInitPicklist {
+  string picklistId = 1;
+  string pickerId = 2;
+  repeated FEndInitRow fEndInitRows = 3;
+}
+
 message FEndInitRow {
   int32 index = 1;
-  string orderId = 2;
-  string orderItemSeqId = 3;
-  string productId = 4;
-  int32 quantity = 5;
-  string inventoryItem = 6;
-  int32 shipmentBinNr = 7;
+  string productId = 2;
+  string inventoryItem_Soll = 3;
+  int32 shipmentBinNr_Soll = 4;
 }
 
 message FEndUpdateInventoryItem {
   int32 index = 1;
-  bool isCorrect = 2;
-  string inventoryItem = 3;
+  bool isCorrect = 2; // if true -> draw green, if false -> draw red
+  string inventoryItem_Ist = 3;
 }
 
 message FEndUpdateShipmentBin {
   int32 index = 1;
   bool isCorrect = 2;
-  int32 shipmentBinNr = 3;
+  int32 shipmentBinNr_Ist = 3;
 }
\ No newline at end of file
-- 
GitLab