Add(MainForm,2953706,70,21){
Width=884
Height=475
}
Add(Button,9700368,175,112)
{
Left=345
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,6505361:doWork1,[])
}
Add(MultiElement,6505361,259,112)
{
@Hint=#6:Тригер|
link(onEvent1,9700368:doCaption,[(303,118)(303,106)(163,106)(163,118)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,6443091,175,133)
{
Left=380
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,5460115:doWork1,[])
}
Add(MultiElement,5460115,259,133)
{
@Hint=#6:Тригер|
link(onEvent1,6443091:doCaption,[(303,139)(303,127)(163,127)(163,139)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,12220349,175,28)
{
Left=415
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,535506:doWork1,[])
}
Add(MultiElement,535506,259,28)
{
@Hint=#6:Тригер|
link(onEvent1,12220349:doCaption,[(303,34)(303,22)(163,22)(163,34)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,8160632,175,49)
{
Left=415
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,11981813:doWork1,[])
}
Add(MultiElement,11981813,259,49)
{
@Hint=#6:Тригер|
link(onEvent1,8160632:doCaption,[(303,55)(303,43)(163,43)(163,55)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,7958298,175,70)
{
Left=345
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,4933549:doWork1,[])
}
Add(MultiElement,4933549,259,70)
{
@Hint=#6:Тригер|
link(onEvent1,7958298:doCaption,[(303,76)(303,64)(163,64)(163,76)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,4849016,175,91)
{
Left=380
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,7224031:doWork1,[])
}
Add(MultiElement,7224031,259,91)
{
@Hint=#6:Тригер|
link(onEvent1,4849016:doCaption,[(303,97)(303,85)(163,85)(163,97)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,2994057,175,238)
{
Left=345
Top=150
Width=25
Caption=""
Point(doCaption)
link(onClick,5802692:doWork1,[])
}
Add(MultiElement,5802692,259,238)
{
@Hint=#6:Тригер|
link(onEvent1,2994057:doCaption,[(303,244)(303,232)(163,232)(163,244)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,10946749,175,259)
{
Left=380
Top=150
Width=25
Caption=""
Point(doCaption)
link(onClick,11433588:doWork1,[])
}
Add(MultiElement,11433588,259,259)
{
@Hint=#6:Тригер|
link(onEvent1,10946749:doCaption,[(303,265)(303,253)(163,253)(163,265)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,15747211,175,154)
{
Left=415
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,6656627:doWork1,[])
}
Add(MultiElement,6656627,259,154)
{
@Hint=#6:Тригер|
link(onEvent1,15747211:doCaption,[(303,160)(303,148)(163,148)(163,160)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,1719718,175,175)
{
Left=415
Top=150
Width=25
Caption=""
Point(doCaption)
link(onClick,9212680:doWork1,[])
}
Add(MultiElement,9212680,259,175)
{
@Hint=#6:Тригер|
link(onEvent1,1719718:doCaption,[(303,181)(303,169)(163,169)(163,181)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,11459721,175,196)
{
Left=345
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,3382868:doWork1,[])
}
Add(MultiElement,3382868,259,196)
{
@Hint=#6:Тригер|
link(onEvent1,11459721:doCaption,[(303,202)(303,190)(163,190)(163,202)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,4297215,175,217)
{
Left=380
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,2462988:doWork1,[])
}
Add(MultiElement,2462988,259,217)
{
@Hint=#6:Тригер|
link(onEvent1,4297215:doCaption,[(303,223)(303,211)(163,211)(163,223)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,1504512,175,364)
{
Left=450
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,14518221:doWork1,[])
}
Add(MultiElement,14518221,259,364)
{
@Hint=#6:Тригер|
link(onEvent1,1504512:doCaption,[(303,370)(303,358)(163,358)(163,370)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,5928088,175,385)
{
Left=485
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,5515411:doWork1,[])
}
Add(MultiElement,5515411,259,385)
{
@Hint=#6:Тригер|
link(onEvent1,5928088:doCaption,[(303,391)(303,379)(163,379)(163,391)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,11715517,175,280)
{
Left=520
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,3719653:doWork1,[])
}
Add(MultiElement,3719653,259,280)
{
@Hint=#6:Тригер|
link(onEvent1,11715517:doCaption,[(303,286)(303,274)(163,274)(163,286)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,9499975,175,301)
{
Left=520
Top=90
Width=25
Caption=""
Point(doCaption)
link(onClick,12725955:doWork1,[])
}
Add(MultiElement,12725955,259,301)
{
@Hint=#6:Тригер|
link(onEvent1,9499975:doCaption,[(303,307)(303,295)(163,295)(163,307)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,7850370,175,322)
{
Left=450
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,8985194:doWork1,[])
}
Add(MultiElement,8985194,259,322)
{
@Hint=#6:Тригер|
link(onEvent1,7850370:doCaption,[(303,328)(303,316)(163,316)(163,328)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,5939459,175,343)
{
Left=485
Top=120
Width=25
Caption=""
Point(doCaption)
link(onClick,3115639:doWork1,[])
}
Add(MultiElement,3115639,259,343)
{
@Hint=#6:Тригер|
link(onEvent1,5939459:doCaption,[(303,349)(303,337)(163,337)(163,349)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,13226407,175,490)
{
Left=450
Top=150
Width=25
Caption=""
Point(doCaption)
link(onClick,5121035:doWork1,[])
}
Add(MultiElement,5121035,259,490)
{
@Hint=#6:Тригер|
link(onEvent1,13226407:doCaption,[(303,496)(303,484)(163,484)(163,496)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,12246793,392,210)
{
Left=570
Top=165
Width=25
Caption=""
Point(doCaption)
link(onClick,13398493:doWork1,[])
}
Add(MultiElement,13398493,476,210)
{
@Hint=#6:Тригер|
link(onEvent1,12246793:doCaption,[(520,216)(520,204)(380,204)(380,216)])
link(onEvent2,2540382:doText,[(534,223)(534,216)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
DataOn=Integer(1)
DataOff=Integer(0)
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,3009206,175,406)
{
Left=520
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,16028029:doWork1,[])
}
Add(MultiElement,16028029,259,406)
{
@Hint=#6:Тригер|
link(onEvent1,3009206:doCaption,[(303,412)(303,400)(163,400)(163,412)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,7460601,175,427)
{
Left=520
Top=150
Width=25
Caption=""
Point(doCaption)
link(onClick,13397273:doWork1,[])
}
Add(MultiElement,13397273,259,427)
{
@Hint=#6:Тригер|
link(onEvent1,7460601:doCaption,[(303,433)(303,421)(163,421)(163,433)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,9323533,175,448)
{
Left=450
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,7342488:doWork1,[])
}
Add(MultiElement,7342488,259,448)
{
@Hint=#6:Тригер|
link(onEvent1,9323533:doCaption,[(303,454)(303,442)(163,442)(163,454)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Button,13051897,175,469)
{
Left=485
Top=180
Width=25
Caption=""
Point(doCaption)
link(onClick,13134303:doWork1,[])
}
Add(MultiElement,13134303,259,469)
{
@Hint=#6:Тригер|
link(onEvent1,13051897:doCaption,[(303,475)(303,463)(163,463)(163,475)])
}
BEGIN_SDK
Add(EditMulti,8352169,21,21)
{
EventCount=2
WorkCount=1
link(doWork1,2733293:doEvent1,[(73,27)(73,34)])
}
Add(Switch,5481113,161,28)
{
DataOn=String(on)
link(onSwitch,8352169:onEvent1,[(257,34)(257,27)])
}
Add(Switch,7334230,161,63)
{
link(onSwitch,8352169:onEvent2,[(257,69)(257,34)])
}
Add(Hub,2733293,126,28)
{
link(onEvent1,5481113:doSwitch,[])
link(onEvent2,7334230:doSwitch,[(150,41)(150,69)])
}
END_SDK
Add(Edit,2540382,560,210)
{
Left=560
Top=210
Text="0"
}
[/cоde]
Ответов: 7
Рейтинг: 1
|
|||
Здравствуйте! Сделал матрицу кнопок с тригерами, нужно формировать код строк и код столбцов. Код может быть шестнадцатиричный. Подскажите алгоритм и компаненту с помощью которой это можно сделать или может у кого примерчик есть? А вот сама матрица кнопок:
|
|||
карма: 0 |
|