Add(MainForm,9736489,63,252)
{
Width=717
Height=430
}
Add(Button,2390559,210,42)
{
Left=400
Top=365
Width=65
TabOrder=-1
Caption="Открыть"
link(onClick,12260279:doEvent1,[])
}
Add(Button,6355258,63,210)
{
Left=258
Top=365
Width=65
TabOrder=-1
Caption="Сохранить"
link(onClick,6308574:doEvent1,[])
}
Add(Memo,14309302,434,140)
{
Left=25
Top=50
Width=650
}
Add(Memo,5598948,434,294)
{
Left=25
Top=155
Width=650
}
Add(Memo,13053085,434,427)
{
Left=25
Top=265
Width=650
}
Add(DoData,10720090,434,217)
{
link(onEventData,12237112:doWork2,[])
link(Data,14309302:Text,[])
}
Add(Hub,6308574,112,210)
{
OutCount=5
link(onEvent1,12263523:doOpen,[(152,216)(152,209)])
link(onEvent2,1197959:doWork1,[])
link(onEvent3,1197959:doWork2,[])
link(onEvent4,1197959:doWork3,[])
link(onEvent5,12263523:doClose,[(654,244)(654,216)])
}
Add(DoData,15546089,434,357)
{
link(onEventData,16209250:doWork2,[])
link(Data,5598948:Text,[])
}
Add(DoData,2111271,434,490)
{
link(onEventData,16209250:doWork3,[(522,496)])
link(Data,13053085:Text,[])
}
Add(Hub,12260279,259,42)
{
OutCount=5
link(onEvent2,16695951:doWork1,[])
link(onEvent3,16695951:doWork2,[])
link(onEvent4,16695951:doWork3,[])
}
Add(ChanelToIndex,16695951,301,49)
{
Count=3
link(onIndex,2405694:doValue,[])
}
Add(Memory,2405694,350,49)
{
link(onData,3823081:doEvent1,[(475,55)(475,118)])
}
Add(Button,4156387,210,147)
{
Left=328
Top=365
Width=65
TabOrder=-1
Caption="Очичтить"
link(onClick,6845802:doEvent1,[])
}
Add(Hub,6845802,259,147)
{
OutCount=3
link(onEvent1,14309302:doClear,[])
link(onEvent2,5598948:doClear,[(333,160)(333,307)])
link(onEvent3,13053085:doClear,[(326,167)(326,440)])
}
Add(ChanelToIndex,1197959,154,217)
{
Count=3
link(onIndex,1540497:doValue,[])
}
Add(Memory,1540497,210,217)
{
link(onData,423579:doEvent,[])
}
Add(BlockFind,11744227,728,105)
{
IncludeBlock=1
Point(doStartBlock)
Point(doEndBlock)
link(onSearch,4263438:doEvent,[(773,111)(773,88)(338,88)(338,111)])
}
Add(FormatStr,4238245,679,112)
{
DataCount=1
Mask="[%1]"
Point(FString)
link(onFString,11744227:doStartBlock,[])
link(Str1,7368432:Var3,[(685,93)])
}
Add(FormatStr,7965633,665,154)
{
DataCount=1
Mask="[/%1]"
Point(FString)
link(onFString,11744227:doEndBlock,[(716,160)(716,125)])
link(Str1,7368432:Var2,[])
}
Add(Hub,5303028,630,112)
{
OutCount=3
link(onEvent1,4238245:doString,[])
link(onEvent2,7965633:doString,[(654,125)(654,160)])
link(onEvent3,11744227:doSearch,[(660,132)(660,111)])
}
Add(IndexToChanel,423579,266,217)
{
Count=3
Point(Index)
link(onEvent1,10720090:doData,[])
link(onEvent2,15546089:doData,[(366,230)(366,363)])
link(onEvent3,2111271:doData,[(356,237)(356,496)])
}
Add(IndexToChanel,4263438,350,105)
{
Count=3
Point(Index)
link(onEvent1,14309302:doText,[(415,111)(415,167)])
link(onEvent2,5598948:doText,[(408,118)(408,321)])
link(onEvent3,13053085:doText,[(402,125)(402,454)])
link(Index,7135355:Var2,[])
}
Add(FormatStr,13132916,553,217)
{
Mask="[%1]%2[/%1]"
link(onFString,3811349:doConvert,[])
link(Str1,1540497:Value,[(559,205)(387,205)(387,261)(216,261)])
}
Add(HubEx,12237112,518,210)
{
link(onEvent,13132916:doString,[])
}
Add(HubEx,16209250,518,350)
{
Angle=3
link(onEvent,12237112:doWork3,[])
}
Add(FileStream,12263523,665,203)
{
FileName="Probe.txt"
Mode=1
Point(doCopyFromStream)
}
Add(Convertor,3811349,609,217)
{
Mode=12
link(onResult,12263523:doCopyFromStream,[])
}
Add(FileStream,5352795,525,112)
{
FileName="Probe.txt"
Point(doCopyFromStream)
link(onLoad,16740639:doConvert,[])
}
Add(Convertor,16740639,574,112)
{
Mode=11
link(onResult,5303028:doEvent1,[])
}
Add(Hub,3823081,483,112)
{
link(onEvent1,5352795:doOpen,[])
link(onEvent2,5352795:doClose,[])
}
Add(GetDataEx,7135355,343,84)
{
link(Data,2405694:Value,[])
}
Add(GetDataEx,7368432,658,84)
{
Angle=3
link(Data,7135355:Var3,[])
}
Разработчик
Ответов: 26170
Рейтинг: 2127
|
|||
На еще вариант, на чтении стримов, без StrList'a
|
|||
карма: 22 |
|