Add(MainForm,2953706,168,266)
{
Point(onClose)
link(onCreate,857448:doOpen,[])
link(onClose,857448:doClose,[])
}
Add(Label,7970420,616,350)
{
Left=15
Top=80
Width=34
Height=17
Caption="Result"
}
Add(Button,9278579,168,301)
{
Left=15
Top=50
Width=155
Caption="Получить вес"
Data=String(\n)
link(onClick,857448:doWrite,[])
}
Add(Str_Enum,8400652,350,287)
{
Delimiter=""
To=6
Step=2
link(onEnum,12168318:doConvert,[])
link(onEndEnum,8488770:doEvent1,[(392,300)(392,356)])
}
Add(Convertor,12168318,413,287)
{
Mode=5
link(onResult,11212473:doStrCat,[])
}
Add(StrCat,11212473,490,287)
{
Point(doClear)
link(Str2,14973797:Var3,[(503,275)(532,275)(532,334)])
}
Add(GetDataEx,14973797,490,329)
{
link(Data,11212473:Result,[])
}
Add(Convertor,10146409,490,350)
{
Mode=1
link(onResult,5229500:doString,[])
link(Data,14973797:Var2,[])
}
Add(Hub,8488770,434,350)
{
link(onEvent1,10146409:doConvert,[])
link(onEvent2,11212473:doClear,[(465,363)(465,300)])
}
Add(COM,857448,294,280)
{
link(onWrite,9552647:doData,[(338,286)(338,254)(156,254)(156,342)])
link(onRead,8400652:doEnum,[])
}
Add(DoData,9552647,161,336)
{
Data=Integer(6)
link(onEventData,16278060:doEvent1,[])
}
Add(FormatStr,5229500,553,350)
{
Mask="%1 кГ"
link(onFString,7970420:doText,[])
}
Add(Hub,16278060,224,336)
{
link(onEvent1,857448:doRead,[(280,342)(280,314)])
link(onEvent2,857448:doRXClear,[(266,349)(266,300)])
}
Ответов: 16884
Рейтинг: 1239
|
|||
GanjaKyp, попробуй :
|
|||
карма: 25 |
|