Advertisement
squidingtin

rust

Jan 21st, 2023 (edited)
1,375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.63 KB | None | 0 0
  1. <!-- rustrician.io circuit :: Sat Jan 21 2023 15:01:02 GMT-0800 (Pacific Standard Time) -->
  2. <mxGraphModel>
  3.   <root>
  4.     <mxCell id="0"/>
  5.     <mxCell id="1" parent="0" version="1337.327" tags="" name="Untitled Circuit">
  6.       <Object sun="100" wind="50" speed="10" as="environment"/>
  7.     </mxCell>
  8.     <mxCell id="2" value="Solar Panel" style="cmp_solarpanel_large" vertex="1" connectable="0" parent="1">
  9.       <mxGeometry x="-31" y="413" width="64" height="64" as="geometry"/>
  10.       <Object cmpid="solarpanel_large" isroot="1" combinable="1" as="attrs"/>
  11.       <Array as="props">
  12.         <Object name="Amount" type="int" value="20"/>
  13.         <Object name="Range Min" type="int" value="0"/>
  14.         <Object name="Range Max" type="int" value="20"/>
  15.         <Object name="Enable Sun Simulation" type="bool" value="true"/>
  16.       </Array>
  17.       <Object hqm="5" tech="1" as="craft"/>
  18.     </mxCell>
  19.     <mxCell id="3" value="Power Out" style="port" vertex="1" parent="2" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  20.       <mxGeometry x="1.1" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  21.     </mxCell>
  22.     <mxCell id="4" value="Solar Panel" style="cmp_solarpanel_large" vertex="1" connectable="0" parent="1">
  23.       <mxGeometry x="267" y="413" width="64" height="64" as="geometry"/>
  24.       <Object cmpid="solarpanel_large" isroot="1" combinable="1" as="attrs"/>
  25.       <Array as="props">
  26.         <Object name="Amount" type="int" value="20"/>
  27.         <Object name="Range Min" type="int" value="0"/>
  28.         <Object name="Range Max" type="int" value="20"/>
  29.         <Object name="Enable Sun Simulation" type="bool" value="true"/>
  30.       </Array>
  31.       <Object hqm="5" tech="1" as="craft"/>
  32.     </mxCell>
  33.     <mxCell id="5" value="Power Out" style="port" vertex="1" parent="4" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  34.       <mxGeometry x="1.1" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  35.     </mxCell>
  36.     <mxCell id="6" value="Root Combiner" style="cmp_combiner" vertex="1" connectable="0" parent="1">
  37.       <mxGeometry x="118" y="303" width="64" height="64" as="geometry"/>
  38.       <Object cmpid="combiner" consumption="0" passthrough="1" usage="1" as="attrs"/>
  39.       <Array as="props"/>
  40.       <Object mf="75" as="craft"/>
  41.     </mxCell>
  42.     <mxCell id="7" value="Power In 1" style="portv" vertex="1" parent="6" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  43.       <mxGeometry x="0.2" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  44.     </mxCell>
  45.     <mxCell id="8" value="Power In 2" style="portv" vertex="1" parent="6" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  46.       <mxGeometry x="0.6" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  47.     </mxCell>
  48.     <mxCell id="9" value="Power Out" style="portv" vertex="1" parent="6" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  49.       <mxGeometry x="0.4" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  50.     </mxCell>
  51.     <mxCell id="10" value="OR Switch" style="cmp_switch_or" vertex="1" connectable="0" parent="1">
  52.       <mxGeometry x="184" y="40" width="64" height="64" as="geometry"/>
  53.       <Object cmpid="switch_or" consumption="1" passthrough="1" usage="1" as="attrs"/>
  54.       <Array as="props"/>
  55.       <Object mf="100" as="craft"/>
  56.     </mxCell>
  57.     <mxCell id="11" value="Power In 1" style="portv" vertex="1" parent="10" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  58.       <mxGeometry x="0.2" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  59.     </mxCell>
  60.     <mxCell id="12" value="Power In 2" style="portv" vertex="1" parent="10" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  61.       <mxGeometry x="0.6" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  62.     </mxCell>
  63.     <mxCell id="13" value="Power Out" style="portv" vertex="1" parent="10" type="out" consumable="1" reconsumable="1" delayed="0" direct="0" warning="0">
  64.       <mxGeometry x="0.4" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  65.     </mxCell>
  66.     <mxCell id="14" value="Medium Rechargeable Battery" style="cmp_battery_medium" vertex="1" connectable="0" parent="1">
  67.       <mxGeometry x="81" y="-50" width="64" height="64" as="geometry"/>
  68.       <Object cmpid="battery_medium" isroot="0" combinable="1" display="0" display_filter="time" subdisplay="0" charge="1" passthrough="0" output="50" charge_max="9000" charge_min="0" input_multiplier="4" efficiency="80" active_usage="0" last_active_usage="0" usage="50" state="1" laststate="1" laststate2="1" blockable="1" as="attrs">
  69.         <Array as="active_ids"/>
  70.         <Object x="0" y="10" as="props_offset"/>
  71.       </Object>
  72.       <Array as="props">
  73.         <Object name="Capacity" type="float" value="707.7193"/>
  74.         <Object name="Show Charge Remaining" type="bool" value="true"/>
  75.         <Object name="Show Active Usage" type="bool" value="false"/>
  76.       </Array>
  77.       <Object hqm="5" tech="1" as="craft"/>
  78.     </mxCell>
  79.     <mxCell id="15" value="Power In" style="port" vertex="1" parent="14" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  80.       <mxGeometry x="-0.15" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  81.     </mxCell>
  82.     <mxCell id="16" value="Power Out" style="port" vertex="1" parent="14" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  83.       <mxGeometry x="1" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  84.     </mxCell>
  85.     <mxCell id="17" value="HBHF Sensor" style="cmp_hbhfsensor" vertex="1" connectable="0" parent="1">
  86.       <mxGeometry x="420" y="-160" width="64" height="64" as="geometry"/>
  87.       <Object cmpid="hbhfsensor" consumption="1" state="0" passthrough="0" usage="1" as="attrs">
  88.         <Object x="0" y="10" as="props_offset"/>
  89.       </Object>
  90.       <Array as="props">
  91.         <Object name="Detected" type="int" value="1"/>
  92.       </Array>
  93.       <Object mf="75" as="craft"/>
  94.     </mxCell>
  95.     <mxCell id="18" value="Power In" style="port" vertex="1" parent="17" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  96.       <mxGeometry x="-0.15" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  97.     </mxCell>
  98.     <mxCell id="19" value="Power Out" style="port" vertex="1" parent="17" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  99.       <mxGeometry x="1" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  100.     </mxCell>
  101.     <mxCell id="20" value="Electrical Branch" style="cmp_branch" vertex="1" connectable="0" parent="1">
  102.       <mxGeometry x="118" y="200" width="64" height="64" as="geometry"/>
  103.       <Object cmpid="branch" consumption="1" display="3" passthrough="1" branch_min="2" usage="3" as="attrs"/>
  104.       <Array as="props">
  105.         <Object name="Branch" type="int" value="3" minval="2"/>
  106.         <Object name="Show Branch Amount" type="bool" value="true"/>
  107.       </Array>
  108.       <Object mf="75" as="craft"/>
  109.     </mxCell>
  110.     <mxCell id="21" value="Power In" style="portv" vertex="1" parent="20" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  111.       <mxGeometry x="0.4" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  112.     </mxCell>
  113.     <mxCell id="22" value="Branch Out" style="portv" vertex="1" parent="20" type="out" consumable="1" reconsumable="0" delayed="1" direct="0" warning="0">
  114.       <mxGeometry x="0.2" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  115.     </mxCell>
  116.     <mxCell id="23" value="Power Out" style="portv" vertex="1" parent="20" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  117.       <mxGeometry x="0.6" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  118.     </mxCell>
  119.     <mxCell id="26" value="3" edge="1" disabled="0" hovered="0" parent="1" source="22" target="12" origin="4" link="38">
  120.       <mxGeometry relative="1" as="geometry">
  121.         <Array as="points">
  122.           <mxPoint x="138" y="152"/>
  123.           <mxPoint x="228" y="162"/>
  124.         </Array>
  125.       </mxGeometry>
  126.     </mxCell>
  127.     <mxCell id="27" value="Blocker" style="cmp_blocker" vertex="1" connectable="0" parent="1">
  128.       <mxGeometry x="17" y="-180" width="64" height="64" as="geometry"/>
  129.       <Object cmpid="blocker" consumption="1" state="0" passthrough="0" blockable="1" usage="1" as="attrs"/>
  130.       <Array as="props"/>
  131.       <Object mf="75" as="craft"/>
  132.     </mxCell>
  133.     <mxCell id="28" value="Power In" style="portv" vertex="1" parent="27" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  134.       <mxGeometry x="0.4" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  135.     </mxCell>
  136.     <mxCell id="29" value="Block Passthrough" style="port" vertex="1" parent="27" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  137.       <mxGeometry x="-0.15" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  138.     </mxCell>
  139.     <mxCell id="30" value="Power Out" style="portv" vertex="1" parent="27" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  140.       <mxGeometry x="0.4" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  141.     </mxCell>
  142.     <mxCell id="31" value="2" edge="1" disabled="0" hovered="0" parent="1" source="13" target="18" link="26" origin="4">
  143.       <mxGeometry relative="1" as="geometry">
  144.         <Array as="points">
  145.           <mxPoint x="208" y="-118"/>
  146.         </Array>
  147.       </mxGeometry>
  148.     </mxCell>
  149.     <mxCell id="32" value="0" edge="1" disabled="1" hovered="0" parent="1" source="30" target="11" link="43" origin="14">
  150.       <mxGeometry relative="1" as="geometry">
  151.         <Array as="points">
  152.           <mxPoint x="178" y="-168"/>
  153.           <mxPoint x="178" y="112"/>
  154.         </Array>
  155.       </mxGeometry>
  156.     </mxCell>
  157.     <mxCell id="33" value="Electrical Branch" style="cmp_branch" vertex="1" connectable="0" parent="1">
  158.       <mxGeometry x="-9" y="60" width="64" height="64" as="geometry"/>
  159.       <Object cmpid="branch" consumption="1" display="2" passthrough="1" branch_min="2" usage="2" as="attrs"/>
  160.       <Array as="props">
  161.         <Object name="Branch" type="int" value="2" minval="2"/>
  162.         <Object name="Show Branch Amount" type="bool" value="true"/>
  163.       </Array>
  164.       <Object mf="75" as="craft"/>
  165.     </mxCell>
  166.     <mxCell id="34" value="Power In" style="portv" vertex="1" parent="33" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  167.       <mxGeometry x="0.4" y="1.05" width="10" height="10" relative="1" as="geometry"/>
  168.     </mxCell>
  169.     <mxCell id="35" value="Branch Out" style="portv" vertex="1" parent="33" type="out" consumable="1" reconsumable="0" delayed="1" direct="0" warning="0">
  170.       <mxGeometry x="0.2" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  171.     </mxCell>
  172.     <mxCell id="36" value="Power Out" style="portv" vertex="1" parent="33" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  173.       <mxGeometry x="0.6" y="-0.2" width="10" height="10" relative="1" as="geometry"/>
  174.     </mxCell>
  175.     <mxCell id="38" value="40" edge="1" disabled="0" hovered="0" parent="1" source="21" target="9" link="0" origin="4">
  176.       <mxGeometry relative="1" as="geometry"/>
  177.     </mxCell>
  178.     <mxCell id="40" value="20" edge="1" disabled="0" hovered="0" parent="1" source="8" target="5" origin="4" link="0">
  179.       <mxGeometry relative="1" as="geometry"/>
  180.     </mxCell>
  181.     <mxCell id="41" value="33" edge="1" disabled="0" hovered="0" parent="1" source="36" target="15" origin="4" link="45">
  182.       <mxGeometry relative="1" as="geometry">
  183.         <Array as="points">
  184.           <mxPoint x="-14" y="42"/>
  185.         </Array>
  186.       </mxGeometry>
  187.     </mxCell>
  188.     <mxCell id="42" value="2" edge="1" disabled="0" hovered="0" parent="1" source="35" target="29" origin="4" link="45">
  189.       <mxGeometry relative="1" as="geometry"/>
  190.     </mxCell>
  191.     <mxCell id="45" value="36" edge="1" disabled="0" hovered="0" parent="1" source="23" target="34" origin="4" link="38">
  192.       <mxGeometry relative="1" as="geometry"/>
  193.     </mxCell>
  194.     <mxCell id="46" value="50" edge="1" disabled="0" hovered="0" parent="1" source="16" target="28" origin="14" link="0">
  195.       <mxGeometry relative="1" as="geometry">
  196.         <Array as="points">
  197.           <mxPoint x="142.177189862161" y="-109"/>
  198.         </Array>
  199.       </mxGeometry>
  200.     </mxCell>
  201.     <mxCell id="47" value="Smart Alarm" style="cmp_smart_alarm" vertex="1" connectable="0" parent="1">
  202.       <mxGeometry x="566" y="-160" width="64" height="64" as="geometry"/>
  203.       <Object cmpid="smart_alarm" consumption="1" active="0" usage="1" as="attrs"/>
  204.       <Array as="props"/>
  205.       <Object hqm="3" tech="1" as="craft"/>
  206.     </mxCell>
  207.     <mxCell id="48" value="Power In" style="port" vertex="1" parent="47" type="in" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  208.       <mxGeometry x="-0.15" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  209.     </mxCell>
  210.     <mxCell id="49" value="Power Out" style="port" vertex="1" parent="47" type="out" consumable="1" reconsumable="0" delayed="0" direct="0" warning="0">
  211.       <mxGeometry x="1" y="0.4" width="10" height="10" relative="1" as="geometry"/>
  212.     </mxCell>
  213.     <mxCell id="50" value="0" edge="1" disabled="0" hovered="0" parent="1" source="19" target="48" origin="4" link="31">
  214.       <mxGeometry relative="1" as="geometry"/>
  215.     </mxCell>
  216.     <mxCell id="51" value="20" edge="1" disabled="0" hovered="0" parent="1" source="3" target="7" origin="2" link="0">
  217.       <mxGeometry relative="1" as="geometry"/>
  218.     </mxCell>
  219.   </root>
  220. </mxGraphModel>
  221.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement