AccumulatorReset.py 952 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from cimpy.output.Control import Control


class AccumulatorReset(Control):
	'''
	This command reset the counter value to zero.

	:AccumulatorValue: The accumulator value that is reset by the command. Default: 
		'''

	cgmesProfile = Control.cgmesProfile

	possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
						'AccumulatorValue': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
						 }

	serializationProfile = {}

	__doc__ += '\n Documentation of parent class Control: \n' + Control.__doc__ 

	def __init__(self, AccumulatorValue = ,  *args, **kw_args):
		super().__init__(*args, **kw_args)
	
		self.AccumulatorValue = AccumulatorValue
		
	def __str__(self):
		str = 'class=AccumulatorReset\n'
		attributes = self.__dict__
		for key in attributes.keys():
			str = str + key + '={}\n'.format(attributes[key])
		return str