コード例 #1
0
ファイル: StringAttr.py プロジェクト: techeye220/w4py
 def __init__(self, attr):
     BasicTypeAttr.__init__(self, attr)
     if self.get('Max') is not None:
         self['Max'] = int(self['Max'])
     if self.get('Min') is not None:
         self['Min'] = int(self['Min'])
コード例 #2
0
ファイル: LongAttr.py プロジェクト: akkmzack/RIOS-8.5
	def __init__(self, dict):
		BasicTypeAttr.__init__(self, dict)
		if self.get('Max') is not None:
			self['Max'] = long(self['Max'])
		if self.get('Min') is not None:
			self['Min'] = long(self['Min'])
コード例 #3
0
ファイル: IntAttr.py プロジェクト: Cito/w4py-olde-docs
 def __init__(self, attr):
     BasicTypeAttr.__init__(self, attr)
     if self.get('Max') is not None:
         self['Max'] = int(self['Max'])
     if self.get('Min') is not None:
         self['Min'] = int(self['Min'])