Laufunruhe_code.ccpage 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <fragment xmlns="http://www.holeschak.de/BmwDeepObd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.holeschak.de/BmwDeepObd BmwDeepObd.xsd">
  3. <page name="Laufunruhe" display-mode="list" fontsize="medium" gauges-portrait="2" gauges-landscape="4" logfile="Laufunruhe.log">
  4. <strings>
  5. <string name="Laufunruhe">Uneven running</string>
  6. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT"> Cyl. 1 [mg/str]</string>
  7. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT"> Cyl. 2 [mg/str]</string>
  8. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT"> Cyl. 3 [mg/str]</string>
  9. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT"> Cyl. 4 [mg/str]</string>
  10. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT"> Cyl. 5 [mg/str]</string>
  11. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT"> Cyl. 6 [mg/str]</string>
  12. </strings>
  13. <strings lang="de">
  14. <string name="Laufunruhe">Laufunruhe</string>
  15. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT"> Zyl. 1 [mg/Hub]</string>
  16. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT"> Zyl. 2 [mg/Hub]</string>
  17. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT"> Zyl. 3 [mg/Hub]</string>
  18. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT"> Zyl. 4 [mg/Hub]</string>
  19. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT"> Zyl. 5 [mg/Hub]</string>
  20. <string name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT"> Zyl. 6 [mg/Hub]</string>
  21. </strings>
  22. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT" format=".2R" display-order="1" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT" />
  23. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT" format=".2R" display-order="2" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT" />
  24. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT" format=".2R" display-order="3" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT" />
  25. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT" format=".2R" display-order="4" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT" />
  26. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT" format=".2R" display-order="5" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT" />
  27. <display name="STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT" result="STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT" format=".2R" display-order="6" grid-type="simple-gauge-dot" min-value="-10" max-value="10" log_tag="STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT" />
  28. <jobs sgbd="d50m57e1"/>
  29. <code show_warnings="true">
  30. <![CDATA[
  31. class PageClass
  32. {
  33. public void ExecuteJob(EdiabasNet ediabas, ref MultiMap<string, EdiabasNet.ResultData> resultDict, bool firstCall)
  34. {
  35. if (firstCall) {
  36. ediabas.ArgString = string.Empty;
  37. ediabas.ArgBinaryStd = null;
  38. ediabas.ResultsRequests = "JOB_STATUS";
  39. ediabas.ExecuteJob("START_SYSTEMCHECK_ZYL");
  40. }
  41. else {
  42. ediabas.ArgString = string.Empty;
  43. ediabas.ArgBinaryStd = null;
  44. ediabas.ResultsRequests = "STAT_LAUFUNRUHE_LLR_MENGE_ZYL1_WERT;STAT_LAUFUNRUHE_LLR_MENGE_ZYL2_WERT;STAT_LAUFUNRUHE_LLR_MENGE_ZYL3_WERT;STAT_LAUFUNRUHE_LLR_MENGE_ZYL4_WERT;STAT_LAUFUNRUHE_LLR_MENGE_ZYL5_WERT;STAT_LAUFUNRUHE_LLR_MENGE_ZYL6_WERT";
  45. ediabas.ExecuteJob("STATUS_LAUFUNRUHE_LLR_MENGE");
  46. List<Dictionary<string, EdiabasNet.ResultData>> resultSets = ediabas.ResultSets;
  47. if (resultSets != null && resultSets.Count >= 2)
  48. {
  49. //EdiabasNet.ResultData resultData;
  50. EdiabasThread.MergeResultDictionarys(ref resultDict, resultSets[1]);
  51. }
  52. }
  53. }
  54. }
  55. ]]>
  56. </code>
  57. </page>
  58. </fragment>