fooger писал(а): скажите как его можно улучшить/оптимизировать Add(MainForm,14298287,161,336) { Position=1 } Add(Label,10498014,490,399) { Left=160 Top=15 Width=74 Height=24 Font=[MS Sans Serif,12,1,0,1] Caption="00:00:00" } Add(Label,2908878,105,245) { Left=5 Top=55 Width=100 Caption="Время в минутах" link(onClick,7940068:doText,[]) } Add(Edit,7940068,161,245) { Left=105 Top=50 Text="100" } Add(Button,3371336,98,294) { Left=165 Top=45 Width=105 Height=25 Caption="Старт" link(onClick,5562367:doData,[]) } Add(DoData,5562367,161,294) { link(onEventData,12412637:doEvent1,[]) link(Data,7940068:Text,[]) } Add(Math,12237701,259,301) { OpType=8 Op2=60 ResultType=0 link(onResult,9236875:doValue,[(494,307)(494,349)]) } Add(MMTimer,14105171,266,350) { Resolution=0 Enable=1 link(onTimer,6152764:doEvent1,[]) } Add(Hub,12412637,217,294) { OutCount=3 link(onEvent1,15143220:doOperation,[]) link(onEvent2,12237701:doOperation,[]) link(onEvent3,14105171:doTimer,[(249,314)(249,356)]) } Add(Math,15143220,322,294) { OpType=3 Op2=60 ResultType=0 link(onResult,10750133:doEvent1,[]) } Add(FormatStr,238643,441,399) { DataCount=3 Mask="%3:%2:%1" link(onFString,10498014:doText,[]) link(Str1,13093047:Value,[]) link(Str2,7477155:Value,[(454,383)(608,383)]) link(Str3,10596378:Value,[(461,390)(776,390)]) } Add(Hub,6312818,735,392) { link(onEvent1,14105171:doStop,[(819,398)(819,449)(251,449)(251,363)]) link(onEvent2,4929770:doMessage,[]) } Add(Message,4929770,777,399) { Message=" Время вышло" } Add(Convertor,6801148,399,343) { SymbolFill="0" link(onResult,13093047:doValue,[]) } Add(Memory,13093047,441,343) { } Add(Convertor,7621248,560,336) { SymbolFill="0" link(onResult,7477155:doValue,[]) } Add(Memory,7477155,602,336) { } Add(CounterEx,6443386,350,343) { Max=59 Point(doPrev) Point(onThroughMin) link(onNext,6801148:doConvert,[]) link(onThroughMin,9236875:doPrev,[]) } Add(CounterEx,9236875,511,336) { Max=59 Point(onThroughMin) Point(doValue) Point(doPrev) link(onNext,7621248:doConvert,[]) link(onThroughMin,4980231:doPrev,[]) } Add(Convertor,12333829,728,329) { SymbolFill="0" link(onResult,10596378:doValue,[]) } Add(Memory,10596378,770,329) { } Add(CounterEx,4980231,665,329) { Max=23 Point(doValue) Point(doPrev) Point(onThroughMin) link(onNext,6651857:doWork2,[]) link(onThroughMin,6312818:doEvent1,[(716,342)(716,398)]) } Add(Hub,6152764,315,350) { link(onEvent1,6443386:doPrev,[]) link(onEvent2,238643:doString,[(341,363)(341,405)]) } Add(Hub,10750133,616,294) { link(onEvent1,6651857:doWork1,[(711,300)]) link(onEvent2,4980231:doValue,[(648,307)(648,342)]) } Add(HubEx,6651857,707,329) { link(onEvent,12333829:doConvert,[]) }
|