Add(LineBreak,9139647,413,427)
{
link(Out,4501943:doStop,[])
Primary=[10969295,-168,-21]
}
Add(LineBreak,6365051,371,329)
{
link(Out,13752080:doStop,[])
Primary=[12692227,-126,70]
}
Add(MainForm,11508968,217,168)
{
Width=607
Height=501
Position=1
link(onCreate,14982873:In,[])
}
Add(Plotter,9857071,322,168)
{
Left=5
Top=45
Width=590
Height=425
Name="123"
MaxH=100
MaxW=100
}
Add(MultiElementEx,10692237,812,322)
{
@Color=5592575
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,5045315,21,21)
{
WorkCount=#5:##add|8:##delete|7:##clear|
VarCount=#7:##count|
Point(##add)
Point(##count)
Point(##delete)
Point(##clear)
link(##add,10833669:doEvent1,[(35,27)(35,146)])
}
Add(PlotPoints,13345189,210,126)
{
Grapher="parent.123"
Size=2
Shape=1
Point(doColor)
link(ValueY,14631776:Value1,[])
link(ValueX,14631776:Value2,[])
}
Add(Hub,10833669,77,140)
{
OutCount=5
link(onEvent1,13345189:doColor,[])
link(onEvent2,13366588:doWork2,[])
link(onEvent3,13366588:doWork3,[(102,160)])
link(onEvent4,13345189:doAdd,[(151,167)(151,132)])
link(onEvent5,1524946:In,[])
}
Add(Random,9346367,126,70)
{
link(onRandom,14631776:doValue,[])
}
Add(MemFIFO,14631776,210,70)
{
}
Add(HubEx,13366588,98,147)
{
Angle=3
link(onEvent,9346367:doRandom,[(102,76)])
}
Add(LineBreak,14763844,168,77)
{
link(Out,14631776:doClear,[])
Primary=[1524946,-63,91]
}
END_SDK
Add(Button,5629809,168,315)
{
Left=15
Top=15
link(onClick,6599941:doEvent1,[])
}
Add(For,13752080,413,322)
{
link(onEvent,14244341:doRandom,[])
link(End,8317919:FormatTime,[])
}
Add(Random,14244341,497,322)
{
Max=16777215
link(onRandom,16713839:doEvent1,[])
}
Add(LineBreak,7304619,455,329)
{
link(Out,14244341:doRandomize,[])
Primary=[14982873,-196,-147]
}
Add(Timer,134017,518,546)
{
Enable=1
AutoStop=1
Point(doInterval)
link(onTimer,15296562:doDeferredEvent,[])
}
Add(Hub,8035908,322,322)
{
InCount=2
OutCount=3
link(onEvent1,13752080:doFor,[])
link(onEvent2,5321142:doOperation,[(354,335)(354,426)])
link(onEvent3,13670510:doRandom,[(350,342)(350,566)])
}
Add(Random,13670510,399,560)
{
Min=30
Max=30
link(onRandom,9762853:doEvent1,[])
}
Add(Hub,9762853,441,560)
{
link(onEvent1,134017:doInterval,[])
link(onEvent2,134017:doTimer,[(487,573)(487,552)])
}
Add(LineBreak,1839770,280,329)
{
link(Out,8035908:doEvent2,[])
Primary=[394371,371,224]
}
Add(Button,13533617,168,385)
{
Left=75
Top=15
Caption="Stop"
link(onClick,2615310:doEvent1,[])
AddHint(-55,7,37,13,Caption)
}
Add(LineBreak,15024549,567,518)
{
link(Out,10619985:doOn,[])
Primary=[11798617,-322,-203]
}
Add(DeferredEvent,15296562,567,546)
{
link(onDeferredEvent,9927069:doEvent,[])
}
Add(Hub,16713839,546,322)
{
OutCount=3
link(onEvent1,10692237:##add,[])
link(onEvent3,6282543:doProcessMessages,[])
}
Add(Application,6282543,581,336)
{
Wait=1
}
Add(Random,2572687,616,427)
{
Point(doMax)
Point(Max)
link(onRandom,10692237:##delete,[(709,433)(709,335)])
link(Max,14236482:Var,[])
}
Add(Math,13799025,539,420)
{
OpType=1
Op2=1
ResultType=0
link(onResult,578032:doEvent1,[])
link(Op1,11766966:Var3,[(545,404)])
}
Add(Hub,578032,581,420)
{
link(onEvent1,2572687:doMax,[(605,426)(605,454)])
link(onEvent2,2572687:doRandom,[])
}
Add(LineBreak,11445270,812,364)
{
Type=1
link(Data,10692237:##count,[])
Primary=[10699470,-441,14]
}
Add(LineBreak,11252468,539,462)
{
Type=1
link(Data,13799025:Result,[])
Primary=[14236482,77,-70]
}
Add(Switch,10619985,609,504)
{
DataOn=Integer(1)
DataOff=Integer(0)
Point(doOn)
Point(State)
}
Add(IndexToChanel,9927069,609,546)
{
Point(Index)
link(onEvent2,394371:In,[])
link(Index,10619985:State,[])
}
Add(Hub,2615310,217,385)
{
OutCount=4
link(onEvent1,15760264:In,[])
link(onEvent2,13278846:In,[])
link(onEvent3,12692227:In,[])
link(onEvent4,10969295:In,[])
}
Add(LineBreak,3108865,567,511)
{
link(Out,10619985:doReset,[])
Primary=[13278846,-322,-119]
}
Add(LineBreak,13149052,476,553)
{
link(Out,134017:doStop,[])
Primary=[15760264,-231,-168]
}
Add(Hub,6599941,217,315)
{
link(onEvent1,11798617:In,[])
link(onEvent2,8035908:doEvent1,[])
}
Add(Time,8317919,420,266)
{
Format="s"
}
Add(For,4501943,455,420)
{
End=15
link(onEvent,13799025:doOperation,[])
link(End,5321142:Result,[(468,408)(422,408)(422,464)(377,464)])
}
Add(Timer,13696434,518,168)
{
link(onTimer,8475074:doText,[])
}
Add(Label,8475074,567,168)
{
Left=140
Top=20
link(Text,1418167:FormatTime,[])
}
Add(Time,1418167,567,119)
{
Format="h:m:s"
}
Add(Math,5321142,371,420)
{
OpType=7
Op2=3
ResultType=0
link(onResult,4501943:doFor,[])
link(Op1,11766966:Var2,[])
}
Add(GetDataEx,11766966,371,399)
{
link(Data,10699470:Var,[])
}
Результат зависит от текущего числа секунд.