3
Add(MainForm,7871042,539,175)
{
Left=200
Top=200
Width=310
Height=160
Caption="Первый раз в первый класс!"
link(onCreate,3226392:doRandomize,[(611,195)(611,279)])
}
Add(Edit,3421245,217,308)
{
Left=75
Top=5
Text="6"
DataType=2
link(onChange,12305315:doCompare,[])
}
Add(Label,10535381,168,308)
{
Left=10
Top=10
Width=66
Height=17
Caption="Кол - во [шт]"
}
Add(Label,11215073,518,322)
{
Left=10
Top=35
Width=34
Height=17
Caption="Макс."
}
Add(Edit,1004421,560,322)
{
Left=75
Top=30
Text="10"
DataType=2
link(onChange,3226392:doMax,[(612,328)(612,293)])
}
Add(Label,2463147,168,252)
{
Left=10
Top=60
Width=64
Height=17
Caption="Время [сек]"
}
Add(Edit,6883629,210,252)
{
Left=75
Top=55
Text="1,5"
link(onChange,11299494:doReplace,[])
}
Add(Button,272013,168,196)
{
Left=155
Top=85
Caption="Пуск"
Point(doCaption)
Point(doEnabled)
link(onClick,15207824:doNext,[])
}
Add(Label,14996047,903,273)
{
Left=135
Top=30
Width=120
Height=34
Font=[MS Sans Serif,18,1,0,1]
Caption=""
}
Add(Counter,15207824,224,196)
{
Max=1
link(onNext,12199532:doEvent,[])
}
Add(IndexToChanel,12199532,273,196)
{
link(onEvent1,4892058:doEvent1,[])
link(onEvent2,573428:doEvent1,[(326,209)(326,223)])
}
Add(Hub,4892058,336,196)
{
link(onEvent1,11348986:doClear,[])
link(onEvent2,14620672:doStrCat,[(809,209)(809,223)])
}
Add(Hub,573428,336,217)
{
OutCount=4
link(onEvent1,7070058:doClear,[(424,223)(424,202)])
link(onEvent2,5213580:doEvent1,[(522,230)(522,244)])
link(onEvent3,13633120:doTimer,[(375,237)(375,244)])
link(onEvent4,7225863:doWork1,[(361,244)(361,188)(109,188)(109,209)])
}
Add(Memory,11348986,385,189)
{
Default=String(Пуск)
link(onData,7070058:doValue,[])
}
Add(Memory,7070058,434,189)
{
Default=String(Ответ)
link(onData,272013:doCaption,[(473,195)(473,174)(158,174)(158,202)])
}
Add(Timer,13633120,385,238)
{
Interval=1500
Enable=1
AutoStop=6
Point(doInterval)
Point(doAutoStop)
Point(onStop)
link(onTimer,14594308:doEvent1,[(522,244)(522,265)])
link(onStop,749223:doTimer,[])
}
Add(Math,16240659,294,252)
{
OpType=2
Op1=1000
ResultType=0
link(onResult,13339051:doEvent1,[])
}
Add(If_else,12305315,266,308)
{
Type=1
Op2=Integer(2)
link(onTrue,10971891:doClear,[])
link(onFalse,13633120:doAutoStop,[(372,321)(372,265)])
}
Add(Memory,10971891,315,301)
{
Default=Integer(2)
link(onData,3421245:doText,[(354,307)(354,293)(207,293)(207,314)])
}
Add(Random,3226392,623,266)
{
Min=1
Max=10
Point(doMax)
link(onRandom,9647612:doRandom,[])
}
Add(MathParse,587192,721,266)
{
DataCount=3
MathStr="%1*(1-%2*%3*2)"
Point(doMathStr)
link(onResult,2447104:doEvent1,[])
link(X1,3226392:Random,[(727,257)(713,257)(713,306)(629,306)])
link(X2,3063466:Checked,[])
}
Add(CheckBox,3063466,728,175)
{
Left=20
Top=85
Width=95
Caption="Вычитание"
}
Add(Replace,11299494,252,252)
{
SubStr=","
DestStr="."
link(onReplace,16240659:doOperation,[])
}
Add(Random,9647612,672,266)
{
Max=1
link(onRandom,587192:doCalc,[])
}
Add(Hub,2447104,763,266)
{
link(onEvent1,2790209:doOperation,[(788,272)(788,174)])
link(onEvent2,6558888:doCompare,[])
}
Add(If_else,6558888,798,273)
{
Type=2
Op2=Integer(0)
link(onTrue,16181566:doStrCat,[])
link(onFalse,12894811:doWork2,[])
}
Add(StrCat,16181566,840,273)
{
Str1="+"
link(onStrCat,6865705:doWork2,[])
}
Add(HubEx,6865705,882,273)
{
link(onEvent,14996047:doText,[])
}
Add(Hub,14594308,532,259)
{
link(onEvent1,15103996:doWork3,[(564,265)])
link(onEvent2,5161885:doTimer,[])
}
Add(Timer,5161885,567,266)
{
Interval=50
Enable=1
AutoStop=1
link(onTimer,3226392:doRandom,[])
}
Add(Math,2790209,826,168)
{
Point(doClear)
link(Op1,6096831:Var1,[(832,159)(818,159)(818,208)])
}
Add(Timer,749223,434,245)
{
Interval=1500
Enable=1
AutoStop=1
link(onTimer,12663507:doEvent1,[])
}
Add(Hub,13339051,336,252)
{
link(onEvent1,13633120:doInterval,[])
link(onEvent2,749223:doStop,[(361,265)(361,279)(424,279)(424,258)])
}
Add(Hub,12663507,476,245)
{
OutCount=3
link(onEvent1,13633120:doStop,[(501,251)(501,286)(375,286)(375,251)])
link(onEvent2,7225863:doWork2,[(508,258)(508,181)(102,181)(102,216)])
link(onEvent3,9878912:doData,[(508,265)(508,286)])
}
Add(GetDataEx,6096831,826,203)
{
link(Data,2790209:Result,[])
}
Add(HubEx,7342929,882,245)
{
Angle=1
link(onEvent,6865705:doWork1,[])
}
Add(StrCat,14620672,819,217)
{
Str1="Ответ "
link(onStrCat,7342929:doWork1,[(886,223)])
link(Str2,6096831:Var2,[])
}
Add(Hub,5213580,532,238)
{
link(onEvent1,2790209:doClear,[(795,244)(795,181)])
link(onEvent2,15103996:doWork2,[])
}
Add(HubEx,15103996,560,245)
{
link(onEvent,7342929:doWork2,[])
}
Add(ChanelToIndex,7225863,119,203)
{
link(onIndex,272013:doEnabled,[])
}
Add(DoData,9878912,518,280)
{
Data=String(=)
link(onEventData,12894811:doWork3,[(606,286)(606,314)(886,314)])
}
Add(HubEx,12894811,882,280)
{
Angle=3
link(onEvent,6865705:doWork3,[])
}