MCPcopy Create free account
hub / github.com/c-jimenez/open-ocpp / Message

Class Message

tools/json2cpp/json2cpp.py:200–226  ·  view source on GitHub ↗

OCPP message

Source from the content-addressed store, hash-verified

198 ''' OCPP types associated with the request '''
199
200class Message(Type):
201 '''
202 OCPP message
203 '''
204
205 def __init__(self):
206 '''
207 Constructor
208 '''
209
210 self.name = ""
211 ''' Name of the message '''
212
213 self.id = ""
214 ''' Id of the message definition '''
215
216 self.comment = ""
217 ''' Comment of the message definition '''
218
219 self.request = Request()
220 ''' Request '''
221
222 self.response = Request()
223 ''' Response '''
224
225 self.types = {}
226 ''' Dictionnary of the request and response types '''
227
228def check_dir_exists(dir, path) -> bool:
229 '''

Callers 1

gen_ocpp_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected