ГрафикНаКартинке.jpg
Схема
Add(MainForm,2953706,63,126)
{
Width=631
Height=393
Caption="График"
link(onCreate,14653550:doEvent1,[])
}
Add(ChildPanel,7759433,280,161)
{
link(Data1,16503220:Var2,[])
}
BEGIN_SDK
Add(EditMulti,9162668,21,7)
{
EventCount=1
WorkCount=3
DataCount=1
VarCount=1
Width=678
Height=193
link(doWork1,986141:doEvent1,[(46,13)(46,48)])
link(doWork2,9831224:doWork1,[(333,20)])
link(doWork3,3750475:doWork2,[])
link(Var1,5539937:Array,[(27,186)(671,186)])
}
Add(Panel,14622453,56,126)
{
Width=615
Height=55
Align=2
}
Add(ChildPanelEx,2613532,350,70)
{
Mode=1
link(onNew,2675650:doWork1,[(396,76)])
}
BEGIN_SDK
Add(EditMultiEx,12190049,21,21)
{
WorkCount=#5:##add|8:##select|7:##clear|7:doColor|
EventCount=#5:onNew|
VarCount=#12:##eventIndex|5:Color|4:Size|
Width=440
Point(##add)
Point(##select)
Point(##clear)
Point(##eventIndex)
link(##add,9804346:doSplit,[(60,27)(60,41)])
link(Color,2345658:Text,[(34,173)(167,173)])
link(Size,3165517:Text,[(41,180)(314,180)])
}
Add(Panel,4974877,42,119)
{
Left=1
Top=1
Height=48
Layout="parent.MyPanel"
}
Add(MultiStrData,9804346,70,35)
{
link(onPart1,13046036:doEvent1,[(109,41)(109,69)])
link(onPart2,3165517:doText2,[(298,48)(298,90)])
}
Add(Edit,3165517,308,77)
{
Left=1
Top=1
Width=56
DataType=2
ClearAfterEnter=1
Point(doSetFocus)
link(onChange,9440750:doWork3,[(347,83)])
}
Add(Edit,2345658,161,56)
{
Left=1
Top=22
Width=56
DataType=2
ClearAfterEnter=1
Point(onMouseDown)
link(onChange,14189063:doEvent1,[])
}
Add(Image,5158577,238,77)
{
Left=1
Top=43
Width=56
Height=5
Point(doColor)
}
Add(Hub,14189063,203,56)
{
link(onEvent1,9440750:doWork2,[(228,62)(228,27)])
link(onEvent2,1120006:doWork1,[(228,69)])
}
Add(HubEx,9440750,343,21)
{
link(onEvent,12190049:onNew,[])
}
Add(Hub,13046036,119,63)
{
link(onEvent1,2345658:doText2,[])
link(onEvent2,1120006:doWork2,[(151,76)(151,97)])
}
Add(HubEx,1120006,224,91)
{
link(onEvent,5158577:doColor,[])
}
END_SDK
Add(HBoxLayout,9387960,126,126)
{
Name="MyPanel"
Space=2
Padding=1
}
Add(For,16390466,91,63)
{
Start=1
link(onEvent,4672082:doEvent1,[])
link(onStop,9394870:doEvent1,[])
link(End,9162668:Data1,[(104,40)(27,40)])
}
Add(Hub,4672082,168,63)
{
link(onEvent1,12801856:doRandom,[])
link(onEvent2,2675650:doWork2,[(193,76)(193,153)(193,153)])
}
Add(Hub,986141,63,42)
{
OutCount=4
link(onEvent1,2613532:##clear,[(296,48)(296,90)])
link(onEvent2,13185918:doClear,[])
link(onEvent3,12801856:doRandomize,[(201,62)(201,76)])
link(onEvent4,16390466:doFor,[])
}
Add(StrList,13185918,560,42)
{
}
Add(ArrayRW,7943411,574,147)
{
link(Array,13185918:Array,[])
link(Index,15301674:Var3,[(587,124)])
}
Add(FormatStr,16641886,483,154)
{
Mask="%1;%2"
link(onFString,6648745:doEvent1,[])
link(Str1,2613532:Color,[(489,118)(363,118)])
link(Str2,2613532:Size,[(496,110)(370,110)])
}
Add(Hub,10831301,413,147)
{
link(onEvent1,7854186:doData,[])
link(onEvent2,16641886:doString,[])
}
Add(HubEx,9831224,329,77)
{
link(onEvent,2613532:##select,[])
}
Add(DoData,7854186,441,147)
{
link(onEventData,9831224:doWork3,[(480,153)(480,132)(333,132)])
link(Data,15301674:Var2,[])
}
Add(GetDataEx,15301674,441,119)
{
Angle=3
link(Data,2613532:##eventIndex,[(356,124)])
}
Add(DoData,14538169,602,112)
{
link(onEventData,5539937:doText,[])
link(Data,13185918:Text,[(608,103)(566,103)])
}
Add(StrList,5539937,651,91)
{
}
Add(Hub,9394870,133,70)
{
link(onEvent1,9387960:doResize,[(158,76)(158,104)(116,104)(116,132)])
link(onEvent2,3750475:doWork3,[(152,83)(152,96)(39,96)])
}
Add(HubEx,3750475,35,21)
{
link(onEvent,5286852:doWork1,[(550,27)])
}
Add(Hub,6648745,525,154)
{
link(onEvent1,7943411:doWrite,[])
link(onEvent2,5286852:doWork3,[(550,167)])
}
Add(HubEx,5286852,546,112)
{
link(onEvent,14538169:doData,[])
}
Add(Random,12801856,210,63)
{
Min=1
Max=16777215
link(onRandom,7283923:doString,[])
}
Add(FormatStr,7283923,259,63)
{
Mask="%1;%2"
link(onFString,15090548:doEvent1,[])
link(Str2,16390466:Position,[(272,40)(251,40)(251,110)(97,110)])
}
Add(Hub,15090548,301,63)
{
link(onEvent1,13185918:doAdd,[(323,69)(323,48)])
link(onEvent2,2613532:##add,[])
}
Add(HubEx,2675650,392,147)
{
link(onEvent,10831301:doEvent1,[])
}
END_SDK
Add(ArrayRW,15844487,280,245)
{
link(onRead,2270873:doRead,[])
link(Array,7759433:Var1,[])
}
Add(Hub,11057913,245,231)
{
OutCount=3
link(onEvent1,7759433:doWork2,[(270,237)(270,174)])
link(onEvent2,11901406:doWork2,[])
link(onEvent3,15844487:doRead,[])
}
Add(For,10071177,196,231)
{
IncludeEnd=1
link(onEvent,11057913:doEvent1,[])
link(onStop,16671684:doEvent1,[(235,244)(235,321)])
link(End,1689490:Var1,[(209,222)(188,222)])
}
Add(ChildPanel,8925859,63,217)
{
link(onEvent1,10460193:doWork3,[(102,223)(102,216)(130,216)])
link(onEvent2,10816743:doTimer,[])
link(onEvent3,10816743:doStop,[])
}
BEGIN_SDK
Add(EditMulti,16675919,21,21)
{
EventCount=3
VarCount=2
link(Var1,15474991:Text,[])
link(Var2,9984956:Text,[(34,187)(48,187)])
}
Add(Panel,2968111,91,35)
{
Top=55
Width=65
Height=299
Align=1
}
Add(Button,10007631,175,56)
{
Left=5
Top=100
Caption=">>"
link(onClick,16675919:onEvent2,[(214,62)(214,34)])
}
Add(Button,827805,175,91)
{
Left=5
Top=130
Caption="II"
link(onClick,16675919:onEvent3,[(221,97)(221,41)])
}
Add(Edit,15474991,21,98)
{
Left=10
Top=10
Width=40
Text="6"
DataType=2
}
Add(Button,4833721,175,21)
{
Left=5
Top=35
Caption="New"
link(onClick,16675919:onEvent1,[])
}
Add(Edit,9984956,42,147)
{
Left=5
Top=170
Text="300"
DataType=2
}
END_SDK
Add(Timer,10816743,112,224)
{
Interval=200
Enable=1
link(onTimer,12396348:doEvent1,[])
}
Add(HubEx,10460193,126,147)
{
link(onEvent,10186321:doEvent1,[])
}
Add(GetDataEx,3032746,63,252)
{
link(Data,8925859:Var1,[])
}
Add(MultiElementEx,5075916,469,147)
{
Mode=1
link(NumPoints,8925859:Var2,[(475,116)(43,116)(43,265)(76,265)])
}
BEGIN_SDK
Add(EditMultiEx,10335348,21,21)
{
WorkCount=#7:##clear|5:##add|8:##select|4:Data|
VarCount=#8:ArrPoint|8:EndIndex|
DataCount=#9:NumPoints|
Point(##clear)
Point(##add)
Point(##select)
link(##add,5853329:doWork1,[(200,34)])
link(Data,13843853:doEvent1,[(39,48)(39,97)])
link(ArrPoint,7479083:Array,[(27,172)(237,172)])
link(EndIndex,7479083:EndIdx,[(34,180)(244,180)])
}
Add(StrList,7479083,217,91)
{
Point(EndIdx)
}
Add(If_else,9337077,84,154)
{
Type=1
link(onTrue,7585818:doData,[])
link(Op1,10335348:NumPoints,[(90,40)(27,40)])
link(Op2,7479083:Count,[(97,145)(230,145)])
}
Add(Hub,13843853,49,91)
{
link(onEvent1,5853329:doWork2,[])
link(onEvent2,9337077:doCompare,[(74,104)(74,160)])
}
Add(DoData,7585818,133,154)
{
Data=Integer(0)
link(onEventData,7479083:doDelete,[(172,160)(172,111)])
}
Add(HubEx,5853329,196,91)
{
link(onEvent,7479083:doAdd,[])
}
END_SDK
Add(Hub,10186321,245,147)
{
OutCount=3
link(onEvent1,5075916:##clear,[])
link(onEvent2,3230902:doFor,[])
link(onEvent3,7759433:doWork1,[])
}
Add(For,3230902,322,154)
{
IncludeEnd=1
link(onEvent,16541869:doCalc,[])
link(End,16503220:Var3,[(335,124)])
}
Add(GetDataEx,16503220,280,119)
{
Angle=3
link(Data,3032746:Var1,[(51,124)(51,257)])
}
Add(Image,14488393,553,427)
{
Left=65
Top=55
Width=550
Height=299
Align=5
Color=15780518
ViewStyle=1
link(Bitmap,16385288:Var3,[(559,341)])
}
Add(Hub,12396348,154,224)
{
link(onEvent1,7759433:doWork3,[(181,230)(181,181)])
link(onEvent2,10071177:doFor,[])
}
Add(ArrayRW,2270873,469,245)
{
link(onRead,16091841:doSplit,[])
link(Array,3506944:Var2,[])
link(Index,5075916:EndIndex,[])
}
Add(Bitmap,12512806,511,301)
{
HWidth=1200
HHeight=600
FillColor=12639424
Point(doCreate)
}
Add(MultiStrPart,16091841,518,245)
{
Count=1
link(onSplit,7027213:doRandom,[])
}
Add(Random,7027213,567,245)
{
Min=-5
Max=5
link(onRandom,9145930:doCalc,[])
}
Add(MathParse,9145930,616,245)
{
MathStr="((%1 + %2)>600)*(%1 - %2) + ((%1 + %2)<0)*(%1 - %2) + ((%1 + %2)<=600)*((%1 + %2)>=0)*(%1 + %2)"
ResultType=0
link(onResult,16435709:doString,[])
link(X1,16091841:Part1,[(622,236)(608,236)(608,285)(524,285)])
}
Add(MathParse,16541869,364,154)
{
DataCount=1
MathStr="%1*50 + 20"
ResultType=0
link(onResult,1876233:doStrCat,[])
}
Add(StrCat,1876233,406,154)
{
Str2=";1;1"
link(onStrCat,5075916:##add,[])
}
Add(FormatStr,16435709,658,245)
{
Mask="%1;%2"
link(onFString,5075916:Data,[(697,251)(697,188)(459,188)(459,174)])
link(Str2,15844487:Item,[(671,229)(510,229)(510,285)(286,285)])
}
Add(Hub,16671684,245,315)
{
link(onEvent1,12512806:doCreate,[])
link(onEvent2,219475:doFor,[(270,328)(270,370)])
}
Add(For,219475,280,364)
{
IncludeEnd=1
link(onEvent,14805777:doEvent1,[])
link(onStop,14488393:doLoad,[(319,377)(319,433)])
link(End,1689490:Var2,[(293,292)(188,292)])
}
Add(GetDataEx,1689490,182,252)
{
Angle=3
link(Data,3032746:Var3,[])
}
Add(Hub,14805777,329,364)
{
link(onEvent1,11901406:doWork3,[(347,370)])
link(onEvent2,11421318:doEnum,[])
}
Add(HubEx,11901406,343,238)
{
link(onEvent,5075916:##select,[(445,244)(445,167)])
}
Add(ArrayEnum,11421318,357,371)
{
link(onItem,14930792:doSplit,[])
link(Array,3506944:Var1,[(363,194)])
}
Add(GetDataEx,3506944,469,189)
{
link(Data,5075916:ArrPoint,[])
}
Add(MultiStrPart,14930792,406,371)
{
Count=3
link(onSplit,2629508:doOperation,[])
}
Add(Math,2629508,469,371)
{
OpType=2
Op2=4
ResultType=0
link(onResult,6262385:doDraw,[])
link(Op1,11421318:Index,[(475,341)(398,341)(398,411)(370,411)])
}
Add(Img_Point,6262385,511,371)
{
Point(X)
Point(Y)
Point(Color)
Point(Size)
link(Bitmap,16385288:Var2,[])
link(Y,14930792:Part1,[(531,362)(461,362)(461,425)(412,425)])
link(Color,14930792:Part2,[(538,355)(454,355)(454,418)(419,418)])
link(Size,14930792:Part3,[(545,348)(447,348)(447,411)(426,411)])
}
Add(GetDataEx,16385288,511,336)
{
link(Data,12512806:Bitmap,[])
}
Add(Hub,14653550,105,140)
{
link(onEvent1,7027213:doRandomize,[(557,146)(557,258)])
link(onEvent2,10460193:doWork2,[])
}