Guest User

Untitled

a guest
Oct 17th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. <SW.Blocks.CompileUnit ID="3" CompositionName="CompileUnits">
  2. <AttributeList>
  3. <NetworkSource>
  4. <FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v2">
  5. <Parts>
  6. <Access Scope="GlobalVariable" UId="21">
  7. <Symbol>
  8. <Component Name="PlantConfigData" />
  9. <Component Name="C001" />
  10. <Component Name="command" />
  11. <Component Name="conveyorGUID" />
  12. </Symbol>
  13. </Access>
  14. <Access Scope="GlobalVariable" UId="22">
  15. <Symbol>
  16. <Component Name="PlantConfigData" />
  17. <Component Name="C001" />
  18. </Symbol>
  19. </Access>
  20. <Call UId="23">
  21. <CallInfo Name="Conveyor Type C" BlockType="FB">
  22. <Instance Scope="GlobalVariable" UId="24">
  23. <Component Name="Conveyor Type C_DB" />
  24. </Instance>
  25. <Parameter Name="GUID" Section="Input" Type="String" />
  26. <Parameter Name="Auto_Hand" Section="Input" Type="Bool" />
  27. <Parameter Name="Notaus" Section="Input" Type="Bool" />
  28. <Parameter Name="Input" Section="Input" Type="typeConveyorDrive" />
  29. <Parameter Name="out1" Section="Output" Type="Bool" />
  30. </CallInfo>
  31. </Call>
  32. </Parts>
  33. <Wires>
  34. <Wire UId="29">
  35. <OpenCon UId="25" />
  36. <NameCon UId="23" Name="en" />
  37. </Wire>
  38. <Wire UId="30">
  39. <IdentCon UId="21" />
  40. <NameCon UId="23" Name="GUID" />
  41. </Wire>
  42. <Wire UId="31">
  43. <OpenCon UId="26" />
  44. <NameCon UId="23" Name="Auto_Hand" />
  45. </Wire>
  46. <Wire UId="32">
  47. <OpenCon UId="27" />
  48. <NameCon UId="23" Name="Notaus" />
  49. </Wire>
  50. <Wire UId="33">
  51. <IdentCon UId="22" />
  52. <NameCon UId="23" Name="Input" />
  53. </Wire>
  54. <Wire UId="34">
  55. <NameCon UId="23" Name="out1" />
  56. <OpenCon UId="28" />
  57. </Wire>
  58. </Wires>
  59. </FlgNet>
  60. </NetworkSource>
  61. <ProgrammingLanguage>FBD</ProgrammingLanguage>
  62. </AttributeList>
  63. <ObjectList>
  64. <MultilingualText ID="4" CompositionName="Comment">
  65. <ObjectList>
  66. <MultilingualTextItem ID="5" CompositionName="Items">
  67. <AttributeList>
  68. <Culture>de-DE</Culture>
  69. <Text>Bausteinaufruf C001 GUID?</Text>
  70. </AttributeList>
  71. </MultilingualTextItem>
  72. </ObjectList>
  73. </MultilingualText>
  74. <MultilingualText ID="6" CompositionName="Title">
  75. <ObjectList>
  76. <MultilingualTextItem ID="7" CompositionName="Items">
  77. <AttributeList>
  78. <Culture>de-DE</Culture>
  79. <Text>C001</Text>
  80. </AttributeList>
  81. </MultilingualTextItem>
  82. </ObjectList>
  83. </MultilingualText>
  84. </ObjectList>
  85. </SW.Blocks.CompileUnit>
  86.  
  87. var id =
  88. from el in root.Descendants(nse_type + "SW.Blocks.CompileUnit")
  89. where // i need to filter?
  90. select el;
Add Comment
Please, Sign In to add comment