equal
deleted
inserted
replaced
282 # T C P C L I E N T # |
282 # T C P C L I E N T # |
283 # |
283 # |
284 # |
284 # |
285 # |
285 # |
286 |
286 |
|
287 # XXX TODO "Configuration_Name" should disapear in favor of CTN Name, which is already unique |
|
288 |
287 class _ModbusTCPclientPlug(object): |
289 class _ModbusTCPclientPlug(object): |
288 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
290 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
289 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
291 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
290 <xsd:element name="ModbusTCPclient"> |
292 <xsd:element name="ModbusTCPclient"> |
291 <xsd:complexType> |
293 <xsd:complexType> |
358 # |
360 # |
359 # T C P S E R V E R # |
361 # T C P S E R V E R # |
360 # |
362 # |
361 # |
363 # |
362 # |
364 # |
|
365 |
|
366 # XXX TODO "Configuration_Name" should disapear in favor of CTN Name, which is already unique |
363 |
367 |
364 class _ModbusTCPserverPlug(object): |
368 class _ModbusTCPserverPlug(object): |
365 # NOTE: the Port number is a 'string' and not an 'integer'! |
369 # NOTE: the Port number is a 'string' and not an 'integer'! |
366 # This is because the underlying modbus library accepts strings |
370 # This is because the underlying modbus library accepts strings |
367 # (e.g.: well known port names!) |
371 # (e.g.: well known port names!) |
445 # |
449 # |
446 # R T U C L I E N T # |
450 # R T U C L I E N T # |
447 # |
451 # |
448 # |
452 # |
449 # |
453 # |
|
454 |
|
455 # XXX TODO "Configuration_Name" should disapear in favor of CTN Name, which is already unique |
450 |
456 |
451 class _ModbusRTUclientPlug(object): |
457 class _ModbusRTUclientPlug(object): |
452 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
458 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
453 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
459 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
454 <xsd:element name="ModbusRTUclient"> |
460 <xsd:element name="ModbusRTUclient"> |
537 # R T U S L A V E # |
543 # R T U S L A V E # |
538 # |
544 # |
539 # |
545 # |
540 # |
546 # |
541 |
547 |
|
548 # XXX TODO "Configuration_Name" should disapear in favor of CTN Name, which is already unique |
542 |
549 |
543 class _ModbusRTUslavePlug(object): |
550 class _ModbusRTUslavePlug(object): |
544 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
551 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
545 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
552 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
546 <xsd:element name="ModbusRTUslave"> |
553 <xsd:element name="ModbusRTUslave"> |