Add(MainForm,5025384,21,105)
{
Left=20
Top=105
Width=235
Height=220
Caption="Температура"
BorderStyle=1
Position=1
link(onCreate,8963747:doWork1,[])
}
Add(ChildGroupBox,8963747,84,140)
{
}
BEGIN_SDK
Add(EditMulti,14480746,3,3)
{
WorkCount=1
Width=468
Height=232
link(doWork1,9811548:doEvent2,[(13,9)(13,48)])
}
Add(GroupBox,12761631,35,91)
{
Left=5
Top=5
Width=217
Height=170
Font=[Arial,8,1,8388608,204]
Caption="Соответствие температур."
Point(doVisible)
Point(doBringToFront)
}
Add(Edit,4391812,406,28)
{
Left=10
Top=20
Width=130
Color=15793151
Font=[Arial,10,1,16711680,204]
Text="0"
Alignment=1
DataType=4
Point(onSetFocus)
link(onChange,9811548:doEvent1,[(461,34)(461,11)(29,11)(29,41)])
}
Add(Edit,12903812,175,28)
{
Left=10
Top=50
Width=130
Color=15793151
Font=[Arial,10,1,16711680,204]
Text="0"
Alignment=1
DataType=4
Point(onSetFocus)
PColor(onChange,65280)
link(onChange,2232826:doEvent1,[])
link(onSetFocus,3043296:doWork1,[(263,48)(263,174)])
}
Add(Edit,10594047,175,77)
{
Left=10
Top=80
Width=130
Color=15793151
Font=[Arial,10,1,16711680,204]
Text="0"
Alignment=1
DataType=4
Point(onSetFocus)
PColor(onChange,65280)
link(onChange,2232826:doEvent2,[(222,83)(222,41)])
link(onSetFocus,3043296:doWork2,[(256,97)(256,181)])
}
Add(Edit,13620359,175,126)
{
Left=10
Top=110
Width=130
Color=15793151
Font=[Arial,10,1,16711680,204]
Text="0"
Alignment=1
DataType=4
Point(onSetFocus)
PColor(onChange,65280)
link(onChange,2232826:doEvent3,[(233,132)(233,48)])
link(onSetFocus,3043296:doWork3,[(250,146)(250,188)])
}
Add(Edit,14239459,175,175)
{
Left=10
Top=140
Width=130
Color=15793151
Font=[Arial,10,1,16711680,204]
Text="0"
Alignment=1
DataType=4
Point(onSetFocus)
PColor(onChange,65280)
link(onChange,2232826:doEvent4,[(240,181)(240,55)])
link(onSetFocus,3043296:doWork4,[])
}
Add(Label,8382200,14,126)
{
Left=145
Top=110
Width=62
Height=17
Font=[Arial,11,1,16711680,204]
Caption="Ранкина"
}
Add(Label,4078230,21,140)
{
Left=145
Top=20
Width=15
Height=17
Font=[Arial,11,1,16711680,204]
Caption="°C"
}
Add(Label,8238522,28,154)
{
Left=145
Top=50
Width=14
Height=17
Font=[Arial,11,1,16711680,204]
Caption="°F"
}
Add(Label,5084897,35,168)
{
Left=145
Top=80
Width=11
Height=17
Font=[Arial,11,1,16711680,204]
Caption="K"
}
Add(Label,1039478,42,182)
{
Left=145
Top=140
Width=16
Height=17
Font=[Arial,11,1,16711680,204]
Caption="°R"
}
Add(Hub,9811548,35,35)
{
InCount=2
OutCount=4
link(onEvent1,11107440:doCalc,[])
link(onEvent2,360481:doOperation,[(99,48)(99,90)])
link(onEvent3,13764243:doCalc,[(93,55)(93,139)])
link(onEvent4,10246990:doOperation,[(86,62)(86,188)])
}
Add(MathParse,11107440,119,35)
{
MathStr="(9 / 5) * %1 + 32"
link(onResult,12903812:doText2,[])
}
Add(Math,360481,119,84)
{
Op1=273.16
link(onResult,10594047:doText2,[])
}
Add(MathParse,13764243,119,133)
{
MathStr="(9 / 5) * %1 + 32 + 459.7"
link(onResult,13620359:doText2,[])
}
Add(Math,10246990,119,182)
{
OpType=3
Op2=1.25
link(onResult,14239459:doText2,[])
}
Add(ChanelToIndex,3043296,287,168)
{
Count=4
link(onIndex,7486980:doRead,[])
}
Add(StrList,13537341,322,112)
{
Strings=#19:(5 / 9) * (%1 - 32)|11:%1 - 273.16|27:(5 / 9) * (%1 - 459.7 - 32)|9:%1 * 1.25|
}
Add(ArrayRW,7486980,336,168)
{
link(onRead,16384370:doMathStr,[(382,174)(382,82)(338,82)(338,41)])
link(Array,13537341:Array,[])
}
Add(MathParse,16384370,350,28)
{
MathStr=""
Point(doMathStr)
link(onResult,4391812:doText,[])
}
Add(Hub,2232826,280,28)
{
InCount=4
OutCount=1
link(onEvent1,16384370:doCalc,[])
}
END_SDK
Ответов: 16884
Рейтинг: 1239
|
|||
Леонид, Валерий,
|
|||
карма: 25 |
|