From 2bb7ee38688a8ad0fac221d0517598d511e5f1d2 Mon Sep 17 00:00:00 2001 From: khemendra kumar Date: Mon, 28 Dec 2020 12:10:32 +0530 Subject: [PATCH] Fixed codestyle issues Signed-off-by: khemendra kumar Change-Id: I254db3a4cefc54a0426cdc907691b5e3c52ea54e --- .../ROBO/retail_app/inventry/retail_app.py | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/example-apps/ROBO/retail_app/inventry/retail_app.py b/example-apps/ROBO/retail_app/inventry/retail_app.py index a558642..7de018e 100644 --- a/example-apps/ROBO/retail_app/inventry/retail_app.py +++ b/example-apps/ROBO/retail_app/inventry/retail_app.py @@ -45,35 +45,36 @@ class inventry_info: Store the data and manage multiple input video feeds """ def __init__(self, current_count=0, total_count=0, time=0): - self.type = "Shelf_INV" - self.labels = "Bottles" - self.current_count = current_count - self.total_count = total_count - self.time = time + self.type = "Shelf_INV" + self.labels = "Bottles" + self.current_count = current_count + self.total_count = total_count + self.time = time def setcurrentcount(self, current_count): - self.current_count = current_count + self.current_count = current_count def settotalcount(self, total_count): - self.total_count = total_count + self.total_count = total_count def getcurrentcount(self): - return self.current_count + return self.current_count def gettotalcount(self): - return self.total_count + return self.total_count def setlabel(self, labels): - self.labels = labels + self.labels = labels def getlabel(self): - return self.labels + return self.labels def settime(self, time): - self.labels = time + self.labels = time def gettime(self): - return self.time + return self.time + def store_data(inventry_info): """ -- 2.16.6