Skip to content

Commit 82f013a

Browse files
committed
Convert seconds to milliseconds
1 parent 8297f1d commit 82f013a

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

src/main.bonsai

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -672,10 +672,18 @@
672672
<Name>ThisDelay</Name>
673673
</Expression>
674674
<Expression xsi:type="MulticastSubject">
675-
<Name>ValveOpenTimeMs</Name>
675+
<Name>CurrentDelay</Name>
676+
</Expression>
677+
<Expression xsi:type="SubscribeSubject">
678+
<Name>ThisDelay</Name>
679+
</Expression>
680+
<Expression xsi:type="Multiply">
681+
<Operand xsi:type="DoubleProperty">
682+
<Value>1000</Value>
683+
</Operand>
676684
</Expression>
677685
<Expression xsi:type="MulticastSubject">
678-
<Name>CurrentDelay</Name>
686+
<Name>ValveOpenTimeMs</Name>
679687
</Expression>
680688
<Expression xsi:type="Combinator">
681689
<Combinator xsi:type="IntProperty">
@@ -840,31 +848,32 @@
840848
<Edge From="0" To="1" Label="Source1" />
841849
<Edge From="1" To="2" Label="Source1" />
842850
<Edge From="2" To="3" Label="Source1" />
843-
<Edge From="3" To="4" Label="Source1" />
851+
<Edge From="4" To="5" Label="Source1" />
844852
<Edge From="5" To="6" Label="Source1" />
845-
<Edge From="6" To="7" Label="Source1" />
846853
<Edge From="7" To="8" Label="Source1" />
854+
<Edge From="8" To="9" Label="Source1" />
847855
<Edge From="9" To="10" Label="Source1" />
848-
<Edge From="10" To="11" Label="Source1" />
849856
<Edge From="11" To="12" Label="Source1" />
857+
<Edge From="12" To="13" Label="Source1" />
850858
<Edge From="13" To="14" Label="Source1" />
851-
<Edge From="14" To="17" Label="Source1" />
852859
<Edge From="15" To="16" Label="Source1" />
853-
<Edge From="16" To="17" Label="Source2" />
860+
<Edge From="16" To="19" Label="Source1" />
854861
<Edge From="17" To="18" Label="Source1" />
855-
<Edge From="18" To="19" Label="Source1" />
862+
<Edge From="18" To="19" Label="Source2" />
856863
<Edge From="19" To="20" Label="Source1" />
857864
<Edge From="20" To="21" Label="Source1" />
858-
<Edge From="21" To="30" Label="Source1" />
865+
<Edge From="21" To="22" Label="Source1" />
859866
<Edge From="22" To="23" Label="Source1" />
860-
<Edge From="23" To="24" Label="Source1" />
861-
<Edge From="24" To="30" Label="Source2" />
867+
<Edge From="23" To="32" Label="Source1" />
868+
<Edge From="24" To="25" Label="Source1" />
862869
<Edge From="25" To="26" Label="Source1" />
863-
<Edge From="26" To="27" Label="Source1" />
864-
<Edge From="27" To="30" Label="Source3" />
870+
<Edge From="26" To="32" Label="Source2" />
871+
<Edge From="27" To="28" Label="Source1" />
865872
<Edge From="28" To="29" Label="Source1" />
866-
<Edge From="29" To="30" Label="Source4" />
873+
<Edge From="29" To="32" Label="Source3" />
867874
<Edge From="30" To="31" Label="Source1" />
875+
<Edge From="31" To="32" Label="Source4" />
876+
<Edge From="32" To="33" Label="Source1" />
868877
</Edges>
869878
</Workflow>
870879
</Expression>

0 commit comments

Comments
 (0)