Add(MainForm,2953706,105,112) { Width=270 link(onCreate,11274901:doData,[]) } Add(StrList,14029569,189,56) { Strings=#2:10|1:7|1:5|2:12|2:14|1:3| Point(doGetString) Point(onGetString) Point(String) Point(IdxToSelect) link(onGetString,15374214:doWork1,[(452,69)]) link(IdxToSelect,1521892:Var1,[(209,44)(249,44)(249,243)]) } Add(Timer,13973712,189,203) { link(onTimer,4113444:doEnum,[]) } Add(ArrayEnum,4113444,280,203) { link(onItem,8311424:doCase,[]) link(Array,11222285:Var2,[]) } Add(GetDataEx,11222285,280,175) { link(Data,389955:Array,[]) } Add(Math,7673138,399,203) { OpType=1 Op2=1 ResultType=0 link(onResult,15374214:doWork2,[]) } Add(ArrayRW,2893038,476,196) { link(Array,11222285:Var3,[(482,180)]) link(Index,12882127:Var1,[(489,180)(524,180)]) } Add(IndexToChanel,7969369,518,259) { Count=6 Point(Index) link(onEvent1,3081780:doChangeValue,[(572,265)(572,209)]) link(onEvent2,4214279:doChangeValue,[(572,272)(572,244)]) link(Index,12882127:Var2,[]) link(onEvent3,4164010:doChangeValue,[]) link(onEvent4,3926637:doChangeValue,[(572,286)(572,314)]) link(onEvent5,15675169:doChangeValue,[(572,293)(572,349)]) link(onEvent6,6290198:doChangeValue,[(572,300)(572,384)]) } Add(Hub,4176532,413,259) { link(onEvent1,7969369:doEvent,[]) link(onEvent2,14029569:doGetString,[(439,272)(439,290)(158,290)(158,104)]) } Add(LED,3081780,588,203) { Left=15 Top=10 } Add(LED,4214279,588,238) { Left=55 Top=10 } Add(LED,4164010,588,273) { Left=95 Top=10 } Add(LED,3926637,588,308) { Left=135 Top=10 } Add(LED,15675169,588,343) { Left=175 Top=10 } Add(LED,6290198,588,378) { Left=215 Top=10 } Add(GetDataEx,1521892,287,238) { link(Data,4113444:Index,[]) } Add(Case,8311424,336,203) { Value=String(0) link(onNextCase,7673138:doOperation,[]) link(onTrue,4176532:doEvent1,[(380,216)(380,265)]) } Add(StrList,4478585,336,105) { Strings=#2:10|1:7|1:5|2:12|2:14|1:3| Point(IdxToSelect) } Add(ListBox,389955,266,105) { Left=50 Top=50 Width=155 Height=175 } Add(DoData,11274901,189,126) { link(onEventData,389955:doText,[]) link(Data,14029569:Text,[]) } Add(HubEx,15374214,448,203) { link(onEvent,2893038:doWrite,[]) } Add(GetDataEx,12882127,518,238) { Angle=3 link(Data,1521892:Var3,[]) }