Add(MainForm,2953706,7,7) { } Add(MouseEvent,4156300,196,35) { } Add(LED,9994177,315,91) { Left=90 Top=110 Height=95 link(onChange,6554630:doEvent1,[(471,97)(471,237)]) } Add(If_else,16215521,224,119) { Type=2 Op2=Integer(0) link(onTrue,9994177:doChangeValue,[(286,125)(286,97)]) link(Op1,13827488:Var3,[(230,90)]) link(Op2,6874511:Value,[(237,107)(199,107)(199,156)(160,156)]) } Add(Memory,6874511,154,112) { Point(Data) link(Data,13827488:Var1,[(160,90)]) } Add(Hub,6103440,119,112) { link(onEvent1,6874511:doValue,[]) link(onEvent2,11683756:doTimer,[(145,125)(145,153)(107,153)(107,181)]) } Add(Timer,11683756,119,175) { Interval=10 Enable=1 AutoStop=1 link(onTimer,16215521:doCompare,[(187,181)(187,125)]) } Add(GetDataEx,13827488,196,85) { link(Data,4156300:MouseY,[(202,76)(209,76)]) } Add(MouseEvent,15335652,238,273) { } Add(LED,5663949,357,329) { Left=115 Top=90 Width=95 link(onChange,6554630:doEvent3,[(492,335)(492,251)]) } Add(If_else,2859584,266,357) { Type=2 Op2=Integer(0) link(onTrue,5663949:doChangeValue,[(328,363)(328,335)]) link(Op1,9858561:Var3,[(272,328)]) link(Op2,5731758:Value,[(279,345)(241,345)(241,394)(202,394)]) } Add(Timer,6471410,28,350) { Interval=10 link(onTimer,6512259:doEvent1,[]) } Add(Memory,5731758,196,350) { Point(Data) link(Data,9858561:Var1,[(202,328)]) } Add(Hub,14932912,161,350) { link(onEvent1,5731758:doValue,[]) link(onEvent2,9785184:doTimer,[(187,363)(187,391)(149,391)(149,419)]) } Add(Timer,9785184,161,413) { Interval=10 Enable=1 AutoStop=1 link(onTimer,2859584:doCompare,[(229,419)(229,363)]) } Add(GetDataEx,9858561,238,323) { link(Data,15335652:MouseX,[]) } Add(MouseEvent,7873579,511,49) { } Add(LED,4412431,630,105) { Left=90 Top=20 Height=70 link(onChange,6554630:doEvent2,[(674,111)(674,177)(583,177)(583,244)]) } Add(If_else,14072040,539,133) { Type=1 Op2=Integer(0) link(onTrue,4412431:doChangeValue,[(601,139)(601,111)]) link(Op1,13140935:Var3,[(545,104)]) link(Op2,3916501:Value,[(552,121)(514,121)(514,170)(475,170)]) } Add(Memory,3916501,469,126) { Point(Data) link(Data,13140935:Var1,[(475,104)]) } Add(Hub,1791572,434,126) { link(onEvent1,3916501:doValue,[]) link(onEvent2,13111540:doTimer,[(460,139)(460,167)(422,167)(422,195)]) } Add(Timer,13111540,434,189) { Interval=10 Enable=1 AutoStop=1 link(onTimer,14072040:doCompare,[(502,195)(502,139)]) } Add(GetDataEx,13140935,511,99) { link(Data,7873579:MouseY,[(517,90)(524,90)]) } Add(MouseEvent,10458730,476,371) { } Add(LED,11479597,595,427) { Left=5 Top=90 Width=85 link(onChange,6554630:doEvent4,[(639,433)(639,345)(583,345)(583,258)]) } Add(If_else,945633,504,455) { Type=1 Op2=Integer(0) link(onTrue,11479597:doChangeValue,[(566,461)(566,433)]) link(Op1,7913555:Var3,[(510,426)]) link(Op2,9252326:Value,[(517,443)(479,443)(479,492)(440,492)]) } Add(Memory,9252326,434,448) { Point(Data) link(Data,7913555:Var1,[(440,426)]) } Add(Hub,2656902,399,448) { link(onEvent1,9252326:doValue,[]) link(onEvent2,3941962:doTimer,[(425,461)(425,489)(387,489)(387,517)]) } Add(Timer,3941962,399,511) { Interval=10 Enable=1 AutoStop=1 link(onTimer,945633:doCompare,[(467,517)(467,461)]) } Add(GetDataEx,7913555,476,421) { link(Data,10458730:MouseX,[]) } Add(Hub,6512259,91,350) { OutCount=4 link(onEvent1,14932912:doEvent1,[]) link(onEvent2,6103440:doEvent1,[(112,363)(112,118)]) link(onEvent3,1791572:doEvent1,[(269,370)(269,132)]) link(onEvent4,2656902:doEvent1,[(252,377)(252,454)]) } Add(If_else,5411240,378,623) { Op2=Integer(0) link(onTrue,10115695:doEvent1,[]) link(onFalse,8059676:doEvent1,[(432,636)(432,678)]) } Add(If_else,16478220,217,630) { Op2=String(1) link(onTrue,12973208:doReset,[]) link(onFalse,12973208:doOn,[]) link(Op1,1654659:ToggleState,[(223,618)(205,618)(205,674)(174,674)]) } Add(Keyboard,1654659,161,630) { Key=35 Point(ToggleState) link(onReadKey,16478220:doCompare,[]) } Add(Timer,7324203,119,630) { Interval=20 link(onTimer,1654659:doReadKey,[]) } Add(Switch,8099994,329,623) { DataOn=Integer(1) DataOff=Integer(0) Default=0 Point(doOn) link(onSwitch,5411240:doCompare,[]) } Add(Switch,12973208,273,623) { DataOn=Integer(1) DataOff=Integer(0) Default=0 Point(doOn) link(onSwitch,8099994:doSwitch,[]) } Add(LED,5393778,553,588) { Left=235 Top=20 ColorOn=65280 } Add(Hub,10115695,441,623) { OutCount=3 link(onEvent1,3599716:doEvent1,[(529,629)(529,545)]) link(onEvent2,5019478:doOn,[(511,636)(511,685)]) link(onEvent3,5393778:doOn,[(504,643)(504,608)]) } Add(Hub,8059676,455,672) { link(onEvent1,5019478:doReset,[]) link(onEvent2,5393778:doOff,[(511,685)(511,601)]) } Add(MouseEvent,5921974,637,658) { Point(doPosition) link(X,8429132:Value,[(650,614)(720,614)]) link(Y,5886634:Value,[(657,632)(762,632)]) } Add(Switch,5019478,567,665) { Point(doOn) Point(onOn) Point(onOff) Point(doCheck) link(onOn,5921974:doPosition,[]) } Add(Hub,6554630,595,231) { InCount=4 link(onEvent1,5019478:doCheck,[(621,237)(621,465)(555,465)(555,692)]) } Add(DoData,7838608,637,539) { link(onEventData,8429132:doValue,[]) link(Data,5921974:MouseX,[(643,527)(631,527)(631,702)(643,702)]) } Add(DoData,9279571,672,574) { link(onEventData,5886634:doValue,[]) link(Data,5921974:MouseY,[(678,562)(664,562)(664,702)(650,702)]) } Add(Memory,8429132,714,539) { } Add(Memory,5886634,756,574) { } Add(Hub,3599716,602,539) { link(onEvent1,7838608:doData,[]) link(onEvent2,9279571:doData,[(644,552)(644,580)]) }