示例#1
0
 def __init__(self, depth, primary=False):
     """
     :param depth:
     :type depth: HWPCDepthLevel
     """
     DispatchRule.__init__(self, primary)
     self.depth = depth
     self.fields = self._set_field()
示例#2
0
 def __init__(self, primary=False):
     DispatchRule.__init__(self, primary)
     self.fields = ['A', 'B']