Add(MainForm,6016793,35,70) { Width=403 Height=241 } Add(IndexToChanel,11631242,560,7) { Count=18 link(onEvent12,6674507:doWork2,[]) link(onEvent13,7934983:doWork2,[]) link(onEvent14,1245562:doWork2,[]) link(onEvent15,12747404:doWork2,[]) link(onEvent16,9874699:doWork2,[]) link(onEvent17,9874699:doWork3,[(620,125)]) link(onEvent18,11633699:doWork2,[(651,132)(651,97)]) } Add(If_else,416891,609,217) { Type=3 Op2=Integer(16) link(onTrue,1694203:doWork1,[]) link(onFalse,9520171:doWork1,[(656,230)]) AddHint(-1,37,27,13,Op2) } Add(If_else,5161824,672,266) { Op2=Integer(17) link(onTrue,1694203:doWork2,[(716,272)(716,230)]) AddHint(-2,36,27,13,Op2) } Add(HubEx,9520171,652,266) { link(onEvent,5161824:doCompare,[]) } Add(If_else,9788377,560,217) { Type=4 Op2=Integer(11) link(onTrue,416891:doCompare,[]) link(onFalse,9520171:doWork2,[(600,230)(600,272)]) AddHint(-2,38,27,13,Op2) } Add(ChanelToIndex,1694203,728,217) { link(onIndex,10400535:doValue,[]) } Add(ChanelToIndex,11633699,672,84) { link(onIndex,11403340:doValue,[]) } Add(HubEx,6674507,616,84) { link(onEvent,11633699:doWork1,[]) } Add(HubEx,7934983,616,91) { Angle=3 link(onEvent,6674507:doWork3,[]) } Add(HubEx,1245562,616,98) { Angle=3 link(onEvent,7934983:doWork3,[]) } Add(HubEx,12747404,616,105) { Angle=3 link(onEvent,1245562:doWork3,[]) } Add(HubEx,9874699,616,112) { Angle=3 link(onEvent,12747404:doWork3,[]) } Add(TimeCounter,7414212,266,70) { link(onStart,13989793:doFor,[]) link(onStop,10448880:doText,[(306,83)(306,125)]) } Add(For,13989793,315,70) { Start=1 End=100000 link(onEvent,9853830:doFor,[]) link(onStop,7414212:doStop,[(359,83)(359,54)(252,54)(252,83)]) } Add(Button,6531240,98,70) { Left=125 Top=60 link(onClick,10379623:doEvent1,[]) } Add(Memory,11403340,728,84) { Default=Integer(0) } Add(Memory,10400535,777,217) { Default=Integer(0) } Add(Label,10448880,315,119) { Left=200 Top=65 } Add(TimeCounter,11725473,273,217) { link(onStart,6755417:doFor,[]) link(onStop,14469705:doText,[(313,230)(313,272)]) } Add(For,6755417,322,217) { Start=1 End=100000 link(onEvent,9176190:doFor,[]) link(onStop,11725473:doStop,[(366,230)(366,201)(259,201)(259,230)]) } Add(Label,14469705,322,266) { Left=200 Top=85 } Add(Hub,10379623,175,70) { OutCount=4 link(onEvent1,7414212:doStart,[]) link(onEvent2,11725473:doStart,[(216,83)(216,223)]) link(onEvent3,67066:doStart,[(208,90)(208,370)]) link(onEvent4,4082358:doStart,[(199,97)(199,496)]) } Add(For,9853830,385,70) { Start=1 End=18 link(onEvent,11631242:doEvent,[(485,76)(485,13)]) } Add(For,9176190,385,217) { Start=1 End=18 link(onEvent,9788377:doCompare,[]) } Add(FTCG_Tools,1744119,525,364) { link(onEventData,16054461:doValue,[]) } BEGIN_SDK Add(EditMultiEx,1754439,21,21) { WorkCount=#9:doCompare| EventCount=#11:onEventData| Width=475 Height=347 link(doCompare,7947835:doCompare,[(77,27)(77,139)]) } Add(FT_If_else,7947835,133,133) { Type=4 Op2=Integer(11) link(onTrue,336565:doCompare,[]) link(onFalse,11436735:doWork2,[(177,146)(177,188)]) } Add(FT_If_else,336565,189,133) { Type=3 Op2=Integer(16) link(onTrue,16236819:doData,[]) link(onFalse,11436735:doWork1,[(235,146)]) } Add(FT_If_else,10995659,252,182) { Op2=Integer(17) link(onTrue,16006813:doData,[]) } Add(HubEx,11436735,231,182) { link(onEvent,10995659:doCompare,[]) } Add(FT_DoData,16236819,322,133) { Data=Integer(0) link(onEventData,13868993:doWork2,[]) } Add(FT_DoData,16006813,322,182) { Data=Integer(1) link(onEventData,13868993:doWork3,[(376,188)]) } Add(HubEx,13868993,372,133) { Angle=3 link(onEvent,1754439:onEventData,[(376,27)]) } END_SDK Add(Memory,16054461,616,364) { Default=Integer(0) } Add(TimeCounter,67066,273,364) { link(onStart,4401617:doFor,[]) link(onStop,2348341:doText,[(313,377)(313,419)]) } Add(For,4401617,322,364) { Start=1 End=100000 link(onEvent,1038125:doFor,[]) link(onStop,67066:doStop,[(366,377)(366,348)(259,348)(259,377)]) } Add(Label,2348341,322,413) { Left=200 Top=105 } Add(For,1038125,385,364) { Start=1 End=18 link(onEvent,1744119:doCompare,[]) } Add(InlineCode,8947214,329,490) { WorkPoints=#7:doStart| EventPoints=#6:onStop|5:onRes| Code=#15:unit HiAsmUnit;|12:// Autor Tad|0:|9:interface|0:|21:uses kol,Share,Debug;|0:|4:type|28: THiAsmClass = class(TDebug)|10: private|0:|9: public|27: onRes, onStop:THI_Event;|50: procedure doStart(var _Data:TData; Index:Word);|5: end;|0:|14:implementation|31: procedure THiAsmClass.doStart;|21: var i, n, k:integer;|6: Begin|23: for i:=1 to 100000 do|21: for n:=1 to 18 do|10: begin|40: If n=17 then _hi_onEvent(onRes,1);|51: If(n>=11)and(n<=16) then _hi_onEvent(onRes,0)|9: end;|25: _hi_onEvent(onStop); |5: End;|4:end.| link(onStop,4082358:doStop,[(372,496)(372,478)(254,478)(254,503)]) link(onRes,6856650:doValue,[]) } Add(Memory,6856650,399,497) { Default=Integer(0) } Add(Label,5463166,329,532) { Left=200 Top=125 } Add(TimeCounter,4082358,266,490) { link(onStart,8947214:doStart,[]) link(onStop,5463166:doText,[(314,503)(314,538)]) }