예제 #1
0
 def __init__(self,itemId,mcc,mnc):
     #initialize your class data attributes
     #load & set your xml
     self.mcc=mcc
     self.mnc=mnc
     self.itemId=itemId
     super(BuyScreen,self).__init__(pathhelpers.read_layout_xml("oauth.xml"),"WAC Showcase")
예제 #2
0
 def __init__(self):
     #initialize your class data attributes
     self.max_cals_per_day = 2000
     self.show_meals_list =[]
     self.lst_view_items =[]
     self.view_day = True 
     #load & set your xml
     super(MainScreen,self).__init__(pathhelpers.read_layout_xml("main.xml"),"CalCount")
예제 #3
0
 def __init__(self, mcc, mnc):
     #initialize your class data attributes
     #load & set your xml
     self.mcc = mcc
     self.mnc = mnc
     super(ProductsScreen,
           self).__init__(pathhelpers.read_layout_xml("main.xml"),
                          "WAC Showcase")
예제 #4
0
 def __init__(self):
     #initialize your class data attributes
     self._add_datetime = None
     self._add_calories = None
     #load and set your xml
     super(AddMealScreen,
           self).__init__(pathhelpers.read_layout_xml("addmealscreen.xml"),
                          "Add a Meal")
예제 #5
0
 def __init__(self, itemId, mcc, mnc):
     #initialize your class data attributes
     #load & set your xml
     self.mcc = mcc
     self.mnc = mnc
     self.itemId = itemId
     super(BuyScreen,
           self).__init__(pathhelpers.read_layout_xml("oauth.xml"),
                          "WAC Showcase")
예제 #6
0
 def __init__(self):
     #initialize your class data attributes
     self.max_cals_per_day = 2000
     self.show_meals_list = []
     self.lst_view_items = []
     self.view_day = True
     #load & set your xml
     super(MainScreen,
           self).__init__(pathhelpers.read_layout_xml("main.xml"),
                          "CalCount")
예제 #7
0
 def __init__(self,mcc,mnc):
     #initialize your class data attributes
     #load & set your xml
     self.mcc=mcc
     self.mnc=mnc
     super(ProductsScreen,self).__init__(pathhelpers.read_layout_xml("main.xml"),"WAC Showcase")
예제 #8
0
 def __init__(self):
     #initialize your class data attributes
     #load & set your xml
     super(OpsScreen, self).__init__(pathhelpers.read_layout_xml("main.xml"),"WAC Showcase")
예제 #9
0
 def __init__(self):
     #initialize your class data attributes
     self._add_datetime = None
     self._add_calories = None
     #load and set your xml
     super(AddMealScreen,self).__init__(pathhelpers.read_layout_xml("addmealscreen.xml"),"Add a Meal")
예제 #10
0
 def __init__(self):
     #initialize your class data attributes
     #load & set your xml
     super(OpsScreen,
           self).__init__(pathhelpers.read_layout_xml("main.xml"),
                          "WAC Showcase")