Вверх ↑
Ответов: 8919
Рейтинг: 823
#1: 2019-10-31 23:52:40 ЛС | профиль | цитата
Gitarist,
контейнер


Add(MultiElementEx,9067928,315,182)
{
link(onRes,6130666:doAdd,[])
link(ArrStr,12626323:Array,[])
link(X_Y,4501545:Selected,[(328,152)(349,152)])
}
BEGIN_SDK
Add(EditMultiEx,893945,21,21)
{
WorkCount=#6:doRead|6:doSort|
EventCount=#5:onRes|
DataCount=#6:ArrStr|3:X_Y|
Width=615
Height=340
VOffset=56
HOffset=49
link(doRead,14352417:doEvent1,[])
link(doSort,6738151:doCompare,[(39,90)(39,244)])
}
Add(MathParse,3898628,455,238)
{
DataCount=1
MathStr="round(%1/1000000,0.001)"
link(onResult,9401198:doCalc,[])
}
Add(RealArray,9808782,378,42)
{
RealArray=[]
}
Add(ArrayEnum,13575814,70,84)
{
link(onItem,2414822:doReplace,[])
link(onEndEnum,16038886:doSort,[(109,97)(109,174)])
link(Array,893945:ArrStr,[])
}
Add(Replace,2414822,119,84)
{
SubStr="X"
link(onReplace,15346706:doSplit,[])
}
Add(ArrayRW,8427566,378,98)
{
link(Array,454613:Var2,[])
}
Add(RealArray,12903765,420,56)
{
RealArray=[]
}
Add(ArrayRW,8511820,420,112)
{
link(Array,3577415:Var2,[])
}
Add(Hub,14352417,49,77)
{
link(onEvent1,5220703:doEvent1,[(81,83)(81,69)])
link(onEvent2,13575814:doEnum,[])
}
Add(Hub,5220703,189,63)
{
link(onEvent1,9808782:doClear,[(214,69)(214,62)])
link(onEvent2,12903765:doClear,[])
}
Add(FormatStr,9474807,560,238)
{
Mask="X%1Y%2"
link(onFString,3195000:doWork2,[])
link(Str1,3898628:Result,[(566,229)(552,229)(552,278)(461,278)])
}
Add(ArraySort,16038886,378,168)
{
ArrayType=2
link(onEndSort,349526:doSort,[])
link(Array,454613:Var1,[(384,159)(370,159)(370,82)])
}
Add(ArraySort,349526,427,168)
{
ArrayType=2
link(Array,3577415:Var3,[(433,159)(461,159)(461,96)])
}
Add(GetDataEx,454613,378,77)
{
link(Data,9808782:Array,[])
}
Add(GetDataEx,3577415,420,91)
{
link(Data,12903765:Array,[])
}
Add(If_else,6738151,287,238)
{
Op2=Integer(1)
link(onTrue,8776206:doEnum,[])
link(onFalse,15241910:doEnum,[(368,251)(368,307)])
link(Op1,893945:X_Y,[(293,166)(160,166)(160,61)(83,61)])
}
Add(MultiStrPart,15346706,168,84)
{
Char="Y"
link(onSplit,3603746:doEvent1,[])
}
Add(MathParse,6301918,266,126)
{
MathStr="%1 + %2*1000000"
link(onResult,8511820:doAdd,[])
link(X1,6826135:Var2,[])
link(X2,15638741:Var2,[])
}
Add(MathParse,9401198,504,238)
{
MathStr="round(%1 - %2*1000000,0.001)"
link(onResult,9474807:doString,[])
link(X1,8776206:Item,[(510,229)(430,229)(430,279)(384,279)])
}
Add(Hub,3603746,210,84)
{
link(onEvent1,632349:doCalc,[(291,90)(291,118)])
link(onEvent2,6301918:doCalc,[(233,97)(233,132)])
}
Add(MathParse,632349,322,112)
{
MathStr="%1*1000000 + %2"
link(onResult,8427566:doAdd,[])
link(X1,6826135:Var3,[(328,103)])
link(X2,15638741:Var3,[(335,96)])
}
Add(GetDataEx,6826135,266,98)
{
Angle=3
link(Data,15346706:Part1,[(258,103)(258,138)(174,138)])
}
Add(GetDataEx,15638741,273,91)
{
Angle=3
link(Data,15346706:Part2,[(251,96)(251,124)(181,124)])
}
Add(ArrayEnum,8776206,378,238)
{
link(onItem,3898628:doCalc,[])
link(Array,16038886:ArraySort,[])
}
Add(MathParse,3086401,462,301)
{
DataCount=1
MathStr="round(%1/1000000,0.001)"
link(onResult,12371590:doCalc,[])
}
Add(FormatStr,11472804,567,301)
{
Mask="X%1Y%2"
link(onFString,3195000:doWork3,[(614,307)])
link(Str2,3086401:Result,[(580,292)(559,292)(559,341)(468,341)])
}
Add(MathParse,12371590,511,301)
{
MathStr="round(%1 - %2*1000000,0.001)"
link(onResult,11472804:doString,[])
link(X1,15241910:Item,[(517,292)(458,292)(458,342)(419,342)])
}
Add(ArrayEnum,15241910,413,301)
{
link(onItem,3086401:doCalc,[])
link(Array,349526:ArraySort,[(419,208)(433,208)])
}
Add(HubEx,3195000,610,238)
{
Angle=3
link(onEvent,893945:onRes,[(614,77)])
}
END_SDK
Add(MainForm,5892122,238,112)
{
}
Add(ListBox,12626323,301,98)
{
Left=5
Top=35
Width=170
Height=220
Strings=#16:X001.005Y002.121|17:X003.005Y-022.022|16:X001.005Y402.001|17:X008.005Y-012.001|17:-X207.005Y022.001|17:-X205.005Y002.001|16:X021.005Y112.001|
}
Add(ListBox,6130666,371,182)
{
Left=195
Top=35
Width=175
Height=220
}
Add(Button,10702454,238,182)
{
Left=15
Top=10
Caption="Read"
link(onClick,9067928:doRead,[])
}
Add(Button,4275846,238,217)
{
Left=210
Top=5
Caption="Sort"
link(onClick,16091713:doEvent1,[])
}
Add(RadioButton,4501545,343,112)
{
Left=275
Top=5
Width=35
Selected=0
Caption="X"
}
Add(RadioButton,4849401,371,112)
{
Left=315
Top=5
Width=35
Caption="Y"
}
Add(Hub,16091713,280,217)
{
link(onEvent1,6130666:doClear,[(354,223)(354,195)])
link(onEvent2,9067928:doSort,[(305,230)(305,195)])
}

карма: 19

0