コード例 #1
0
	def __init__(self, name, dataFilePath):
		self.name = name
		self.persons = HashTable(1000)
		self.units = HashTable(50)
		self.serviceRelations = HashTable(1000)
		if bool(dataFilePath) == True:
			self.dataFilePath = dataFilePath 
		else:
			raise NameError("NoData")
コード例 #2
0
	def __init__(self,id):
		import Laskuri.ServiceRelation
		self.id = id
		self.srs = HashTable(1000)
		Unit.unitCount += 1