Changeset 1240
- Timestamp:
- Mar 4, 2013 10:32:28 AM (9 years ago)
- Location:
- mda2idd_report
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
mda2idd_report/.pydevproject
r1223 r1240 3 3 4 4 <pydev_project> 5 <pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER"> Default</pydev_property>5 <pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">APSshare EPD</pydev_property> 6 6 <pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> 7 7 <pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH"> -
mda2idd_report/src/mda2idd_report.py
r1234 r1240 137 137 summary.append('') 138 138 for item in part: 139 txt = item.name140 139 if partname == 'Triggers': 141 txt += " = %s" % str(item.command)140 txt = "%s = %s" % (item.name, str(item.command)) 142 141 else: 143 txt += " (%s)" % item.fieldName144 if len( item.unit) > 0:145 txt += " , unit=%s" % item.unit142 txt = "%s: %s" % (item.fieldName, item.name) 143 if len(unit) > 0: 144 txt += " (%s)" % unit 146 145 if len(item.desc) > 0: 147 146 txt += ": %s" % item.desc -
mda2idd_report/src/mda2idd_summary.py
r1239 r1240 96 96 summary.append('') 97 97 for item in part: 98 txt = item.name99 98 if partname == 'Triggers': 100 txt += " = %s" % str(item.command)99 txt = "%s = %s" % (item.name, str(item.command)) 101 100 else: 102 txt += " (%s)" % item.fieldName101 txt = "%s %s" % (item.fieldName, item.name) 103 102 if len(item.unit) > 0: 104 txt += " , unit=%s" % item.unit103 txt += " (%s)" % item.unit 105 104 if len(item.desc) > 0: 106 105 txt += ": %s" % item.desc
Note: See TracChangeset
for help on using the changeset viewer.