Add(MainForm,14387938,238,161)
{
Width=1142
Height=622
}
Add(Edit,13584240,644,196)
{
Left=245
Top=10
Text="3500.0"
}
Add(Label,11792733,917,329)
{
Left=10
Top=60
Width=1109
Height=19
Font=[Arial Narrow,8,0,128,204]
Caption="Результат"
AutoSize=1
}
Add(InfoTip,10395767,91,84)
{
Info=#155:FIRETRUK 6500.0 36670.8 3.0 0.0 0.0 0.0 90 0.55 0.8 0.5 5 170.0 27.0 10.0 R D 10.00 0.45 0 27.0 1.2 0.08 0.0 0.47 -0.17 0.5 0.0 0.2 0.26 15000 4098 0 0 1 2|155:FIRETRUK 3500.0 10000.0 2.0 0.0 0.0 0.0 90 0.50 0.8 0.5 5 170.0 27.0 10.0 R D 10.00 0.45 0 27.0 1.2 0.08 0.0 0.50 -0.15 0.5 0.0 0.2 0.26 11000 4000 0 0 1 2|
Font=[MS Sans Serif,10,1,0,1]
Width=1065
Height=39
}
Add(FormatStr,16163529,637,329)
{
DataCount=36
Mask=""
Point(doMask)
Point(FString)
link(onFString,11792733:doText,[])
link(Str1,15347843:Part1,[])
link(Str2,13584240:Text,[])
link(Str3,4833952:Text,[(657,243)(685,243)])
link(Str4,9828551:Text,[(664,251)(720,251)])
link(Str5,15347843:Part5,[])
link(Str6,15347843:Part6,[])
link(Str7,15347843:Part7,[])
link(Str8,15347843:Part8,[])
link(Str9,6315679:Text,[(699,258)(755,258)])
link(Str10,15347843:Part10,[])
link(Str11,15347843:Part11,[])
link(Str12,15347843:Part12,[])
link(Str13,15347843:Part13,[])
link(Str14,15347843:Part14,[])
link(Str15,15347843:Part15,[])
link(Str16,15347843:Part16,[])
link(Str17,15347843:Part17,[])
link(Str18,15347843:Part18,[])
link(Str19,15347843:Part19,[])
link(Str20,15347843:Part20,[])
link(Str21,15347843:Part21,[])
link(Str22,15347843:Part22,[])
link(Str23,15347843:Part23,[])
link(Str24,15347843:Part24,[])
link(Str25,6119226:Text,[])
link(Str26,5981883:Text,[(818,243)(846,243)])
link(Str27,15347843:Part27,[])
link(Str28,15347843:Part28,[])
link(Str29,15347843:Part29,[])
link(Str30,15347843:Part30,[])
link(Str31,10347179:Text,[(853,243)(881,243)])
link(Str32,16718578:Text,[(860,255)(916,255)])
link(Str33,15347843:Part33,[])
link(Str34,15347843:Part34,[])
link(Str35,15347843:Part35,[])
link(Str36,15347843:Part36,[])
}
Add(Edit,4833952,679,196)
{
Left=300
Top=10
Text="10000.0"
}
Add(Edit,9828551,714,196)
{
Left=360
Top=10
Text="2.0"
}
Add(Edit,6315679,749,196)
{
Left=420
Top=10
Text="0.50"
}
Add(Edit,6119226,805,196)
{
Left=480
Top=10
Text="0.50"
}
Add(Edit,5981883,840,196)
{
Left=540
Top=10
Text="-0.15"
}
Add(Edit,10347179,875,196)
{
Left=595
Top=10
Text="11000"
}
Add(Edit,16718578,910,196)
{
Left=655
Top=10
Text="4000"
}
Add(Label,15098679,553,238)
{
Left=10
Top=40
Width=1110
Height=19
Font=[Arial Narrow,8,0,0,204]
Caption="Исходная строка"
AutoSize=1
}
Add(MultiStrPart,15347843,637,287)
{
Char=" "
Count=36
}
Add(ODialog,12012885,168,224)
{
Filter="cfg|*.cfg"
link(onExecute,9467347:doValue,[])
}
Add(Button,15816021,84,224)
{
Left=15
Top=10
Width=90
Caption="Открыть файл"
link(onClick,12438171:doEvent1,[])
}
Add(ArrayEnum,8109872,343,273)
{
link(onItem,4526452:doCompare,[])
link(Array,15259490:Var2,[])
}
Add(StrMask,4526452,392,273)
{
Mask="FIRETRUK*"
link(onTrue,9521311:doEvent1,[])
AddHint(-17,-33,73,13,Mask)
}
Add(Replace,15945340,553,287)
{
SubStr=" "
DestStr=" "
link(onReplace,13027461:doTrim,[])
link(Str,15098679:Caption,[])
}
Add(Trim,13027461,595,287)
{
Char=" "
Mode=6
link(onTrim,15347843:doSplit,[])
}
Add(ArrayRW,15049622,329,378)
{
link(Array,15259490:Var1,[(335,257)])
link(Index,3298451:Var2,[])
link(Value,16163529:FString,[(349,354)(382,354)(382,394)(643,394)])
}
Add(GetDataEx,15259490,343,252)
{
link(Data,5253835:Array,[])
}
Add(Hub,9521311,448,280)
{
OutCount=4
link(onEvent1,15098679:doText,[(483,286)(483,244)])
link(onEvent2,15885503:doValue,[])
link(onEvent3,3621419:doWork1,[(478,300)(478,342)])
link(onEvent4,210827:doWork1,[(471,307)(471,338)(263,338)])
}
Add(MultiElement,3621419,553,336)
{
@Hint=#51:Создаем маску, включающая в себя пробелы и отступы.|
link(onEvent1,14926577:doEvent1,[])
AddHint(-79,73,178,26,@Hint)
}
BEGIN_SDK
Add(EditMulti,15415482,21,21)
{
EventCount=1
WorkCount=1
Width=748
Height=242
link(doWork1,6702087:doEnum,[(35,27)(35,69)])
}
Add(Str_Enum,6702087,49,63)
{
Delimiter=""
link(onEnum,9173637:doCompare,[])
link(onEndEnum,2304402:doTrim,[(93,76)(93,132)])
}
Add(If_else,9173637,105,63)
{
Type=5
Op2=String( )
link(onTrue,11854013:doCompare,[(145,69)(145,62)])
link(onFalse,16400455:doWork3,[(256,76)])
}
Add(StrCat,6077697,280,63)
{
Point(doClear)
link(Str1,738914:Var1,[(286,51)(274,51)(274,107)])
}
Add(DoData,12555137,637,203)
{
link(onEventData,15415482:onEvent1,[(719,209)(719,27)])
link(Data,3202301:Var2,[])
}
Add(GetDataEx,738914,273,102)
{
Angle=1
link(Data,6077697:Result,[(286,107)])
}
Add(If_else,11854013,154,56)
{
Type=5
Op2=String( )
link(onTrue,9500878:doData,[])
link(onFalse,16400455:doWork2,[])
}
Add(HubEx,16400455,252,63)
{
link(onEvent,6077697:doStrCat,[])
}
Add(DoData,9500878,203,56)
{
Data=String(%)
link(onEventData,16400455:doWork1,[(256,62)])
}
Add(Trim,2304402,273,126)
{
Char="%"
Mode=6
link(onTrim,11246618:doTrim,[])
link(Text,738914:Var2,[])
}
Add(Trim,11246618,322,126)
{
Char="%"
Mode=1
link(onTrim,11412039:doStrCat,[])
}
Add(StrCat,11412039,364,126)
{
Str1="%"
link(onStrCat,16031411:doEvent1,[])
}
Add(Str_Enum,8143037,434,140)
{
Delimiter=""
link(onEnum,11708145:doCompare,[])
link(onEndEnum,6631287:doEvent1,[(476,153)(476,209)])
}
Add(If_else,11708145,483,140)
{
Type=5
Op2=String(%)
link(onTrue,16580774:doWork2,[])
link(onFalse,3737629:doNext,[])
}
Add(StrCat,16464744,644,140)
{
Point(doClear)
link(Str1,3202301:Var1,[(650,128)(638,128)(638,184)])
}
Add(GetDataEx,3202301,637,179)
{
Angle=1
link(Data,16464744:Result,[(650,184)])
}
Add(StrCat,14794045,581,147)
{
Str1="%"
link(onStrCat,16580774:doWork3,[(620,153)])
}
Add(CounterEx,3737629,532,147)
{
Point(doReset)
link(onNext,14794045:doStrCat,[])
}
Add(Hub,16031411,406,126)
{
OutCount=3
link(onEvent1,6077697:doClear,[(432,132)(432,104)(268,104)(268,76)])
link(onEvent2,3737629:doReset,[(521,139)(521,160)])
link(onEvent3,8143037:doEnum,[])
}
Add(HubEx,16580774,616,140)
{
link(onEvent,16464744:doStrCat,[])
}
Add(Hub,6631287,602,203)
{
link(onEvent1,12555137:doData,[])
link(onEvent2,16464744:doClear,[(630,216)(630,153)])
}
END_SDK
Add(Hub,14926577,595,336)
{
link(onEvent1,16163529:doMask,[])
link(onEvent2,16163529:doString,[(623,349)(623,335)])
}
Add(Button,8835312,189,385)
{
Left=715
Top=10
Width=190
Caption="Заменить строку в списке"
link(onClick,6430427:doEvent1,[])
}
Add(ListBox,5253835,329,196)
{
Left=15
Top=85
Width=1100
Height=495
Point(doSelect)
}
Add(Hub,12438171,133,224)
{
link(onEvent1,12012885:doExecute,[])
link(onEvent2,8109872:doEnum,[(157,237)(157,279)])
}
Add(Memory,15885503,490,287)
{
Point(Data)
link(onData,15945340:doReplace,[])
link(Data,8109872:Index,[(496,275)(432,275)(432,319)(356,319)])
}
Add(Hub,6430427,238,385)
{
link(onEvent1,15049622:doWrite,[])
link(onEvent2,210827:doWork2,[])
}
Add(DoData,4974169,273,392)
{
PColor(onEventData,11184640)
link(onEventData,5253835:doSelect,[(317,398)(317,244)])
link(Data,3298451:Var1,[(279,348)])
}
Add(GetDataEx,3298451,336,343)
{
Angle=1
link(Data,15885503:Value,[(496,348)])
}
Add(HubEx,210827,259,392)
{
link(onEvent,4974169:doData,[])
}
Add(Button,11217693,140,287)
{
Left=125
Top=10
Width=110
Caption="Сохранить в файл"
link(onClick,2875233:doData,[])
}
Add(Memory,9467347,210,224)
{
link(onData,5253835:doLoad,[])
}
Add(DoData,2875233,210,287)
{
link(onEventData,5253835:doSave,[(300,293)(300,237)])
link(Data,9467347:Value,[])
}
Ответов: 1536
Рейтинг: 176
|
|||
ONaSn,
|
|||
карма: 1 |
|