ещё
Add(MainForm,7871042,427,119)
{
Width=310
Height=160
Caption="Первый раз в первый класс!"
link(onCreate,3226392:doRandomize,[(520,139)(520,223)])
}
Add(Edit,3421245,126,252)
{
Left=75
Top=5
Text="6"
DataType=2
link(onChange,12305315:doCompare,[])
}
Add(Label,10535381,77,252)
{
Left=10
Top=10
Width=66
Height=17
Caption="Кол - во [шт]"
}
Add(Label,11215073,427,259)
{
Left=10
Top=35
Width=34
Height=17
Caption="Макс."
}
Add(Edit,1004421,469,259)
{
Left=75
Top=30
Text="10"
DataType=2
link(onChange,3226392:doMax,[(521,265)(521,237)])
}
Add(Label,2463147,77,196)
{
Left=10
Top=60
Width=64
Height=17
Caption="Время [сек]"
}
Add(Edit,6883629,119,196)
{
Left=75
Top=55
Text="1,5"
link(onChange,11299494:doReplace,[])
}
Add(Button,272013,77,147)
{
Left=170
Top=90
Caption="Пуск"
Point(doCaption)
link(onClick,5585141:doWork2,[])
}
Add(Label,14996047,812,217)
{
Left=135
Top=30
Width=120
Height=34
Font=[MS Sans Serif,18,1,0,1]
Caption="1111"
AutoSize=1
}
Add(Counter,15207824,140,147)
{
Max=1
link(onNext,12199532:doEvent,[])
}
Add(IndexToChanel,12199532,189,147)
{
link(onEvent1,4892058:doEvent1,[])
link(onEvent2,573428:doEvent1,[(235,160)(235,174)])
}
Add(Hub,4892058,245,147)
{
link(onEvent1,11348986:doClear,[])
link(onEvent2,13633120:doStop,[(270,160)(270,195)])
}
Add(Hub,573428,245,168)
{
OutCount=3
link(onEvent1,7070058:doClear,[(333,174)(333,153)])
link(onEvent2,5213580:doEvent1,[])
link(onEvent3,13633120:doTimer,[])
}
Add(Memory,11348986,294,140)
{
Default=String(Пуск)
link(onData,7070058:doValue,[])
}
Add(Memory,7070058,343,140)
{
Default=String(Стоп)
link(onData,272013:doCaption,[(382,146)(382,125)(67,125)(67,153)])
}
Add(Timer,13633120,294,182)
{
Interval=1500
Enable=1
AutoStop=6
Point(doInterval)
Point(doAutoStop)
Point(onStop)
link(onTimer,14594308:doEvent1,[(431,188)(431,209)])
link(onStop,749223:doTimer,[])
}
Add(Math,16240659,203,196)
{
OpType=2
Op1=1000
ResultType=0
link(onResult,13339051:doEvent1,[])
}
Add(If_else,12305315,175,252)
{
Type=1
Op2=Integer(2)
link(onTrue,10971891:doClear,[])
link(onFalse,13633120:doAutoStop,[(281,265)(281,209)])
}
Add(Memory,10971891,224,245)
{
Default=Integer(2)
link(onData,3421245:doText,[(263,251)(263,237)(116,237)(116,258)])
}
Add(Random,3226392,532,210)
{
Min=1
Max=10
Point(doMax)
link(onRandom,9647612:doRandom,[])
}
Add(MathParse,587192,630,210)
{
DataCount=3
MathStr="%1*(1-%2*%3*2)"
Point(doMathStr)
link(onResult,2447104:doEvent1,[])
link(X1,3226392:Random,[(636,201)(622,201)(622,250)(538,250)])
link(X2,3063466:Checked,[])
}
Add(CheckBox,3063466,637,119)
{
Left=20
Top=85
Width=95
Caption="Вычитание"
}
Add(Replace,11299494,161,196)
{
SubStr=","
DestStr="."
link(onReplace,16240659:doOperation,[])
}
Add(HubEx,5585141,119,147)
{
link(onEvent,15207824:doNext,[])
}
Add(Random,9647612,581,210)
{
Max=1
link(onRandom,587192:doCalc,[])
}
Add(Hub,2447104,672,210)
{
link(onEvent1,2790209:doOperation,[(697,216)(697,118)])
link(onEvent2,6558888:doCompare,[])
}
Add(If_else,6558888,707,217)
{
Type=2
Op2=Integer(0)
link(onTrue,16181566:doStrCat,[])
link(onFalse,6865705:doWork3,[(795,230)])
}
Add(StrCat,16181566,749,217)
{
Str1="+"
link(onStrCat,6865705:doWork2,[])
}
Add(HubEx,6865705,791,217)
{
link(onEvent,14996047:doText,[])
}
Add(Hub,14594308,441,203)
{
link(onEvent1,15103996:doWork3,[(466,209)])
link(onEvent2,5161885:doTimer,[])
}
Add(Timer,5161885,476,210)
{
Interval=50
Enable=1
AutoStop=1
link(onTimer,3226392:doRandom,[])
}
Add(Math,2790209,735,112)
{
Point(doClear)
link(Op1,6096831:Var1,[(741,103)(727,103)(727,152)])
}
Add(Timer,749223,343,189)
{
Interval=1500
Enable=1
AutoStop=1
link(onTimer,12663507:doEvent1,[])
}
Add(Hub,13339051,245,196)
{
link(onEvent1,13633120:doInterval,[])
link(onEvent2,749223:doStop,[(270,209)(270,223)(333,223)(333,202)])
}
Add(Hub,12663507,385,189)
{
link(onEvent1,5585141:doWork1,[(410,195)(410,132)(123,132)])
link(onEvent2,14620672:doStrCat,[(417,202)(417,167)])
}
Add(GetDataEx,6096831,735,147)
{
link(Data,2790209:Result,[])
}
Add(HubEx,7342929,791,189)
{
Angle=1
link(onEvent,6865705:doWork1,[])
}
Add(StrCat,14620672,728,161)
{
Str1="Ответ "
link(onStrCat,7342929:doWork1,[(795,167)])
link(Str2,6096831:Var2,[])
}
Add(Hub,5213580,441,175)
{
link(onEvent1,2790209:doClear,[(707,181)(707,125)])
link(onEvent2,15103996:doWork1,[(466,188)])
}
Add(HubEx,15103996,462,189)
{
link(onEvent,7342929:doWork2,[])
}