Вверх ↑
Разработчик
Ответов: 26135
Рейтинг: 2126
#1: 2009-08-03 13:38:26 ЛС | профиль | цитата
Или я чег-то не так понял, или тут имелось в виду что-то подобное


Add(MainForm,2953706,133,119)
{
}
Add(Switch,5093422,546,238)
{
Point(doOn)
Point(DataOn)
Point(DataOff)
Point(onOn)
Point(onOff)
link(DataOn,5246221:Var2,[(552,227)(531,227)])
link(DataOff,5246221:Var3,[(559,212)])
link(onOn,10050057:doWork2,[])
link(onOff,14298446:doWork1,[(669,258)])
}
Add(Switch,4234706,546,308)
{
Point(doOn)
Point(DataOn)
Point(DataOff)
Point(onOn)
Point(onOff)
link(DataOn,405933:Var2,[(552,297)(531,297)])
link(DataOff,405933:Var3,[(559,282)])
link(onOn,10824680:doWork2,[])
link(onOff,3393882:doWork2,[])
}
Add(Switch,13559338,546,399)
{
Point(doOn)
Point(DataOn)
Point(DataOff)
Point(onOn)
Point(onOff)
link(DataOn,15415074:Var2,[(552,388)(531,388)])
link(DataOff,15415074:Var3,[(559,373)])
link(onOn,13952166:doWork2,[])
link(onOff,7657836:doWork2,[])
}
Add(Switch,515220,546,469)
{
Point(doOn)
Point(DataOn)
Point(DataOff)
Point(onOn)
Point(onOff)
link(DataOn,3782014:Var2,[(552,458)(531,458)])
link(DataOff,3782014:Var3,[(559,443)])
link(onOn,13952166:doWork3,[(641,482)])
link(onOff,7657836:doWork3,[(669,489)])
}
Add(IntToBits,7776563,399,308)
{
Count=4
Data_0=Integer(0)
Data_1=Integer(1)
link(onBit1,2553764:doEvent,[(443,314)(443,251)])
link(onBit2,9323764:doEvent,[])
link(onBit3,13732596:doEvent,[(454,328)(454,412)])
link(onBit4,12814905:doEvent,[(444,335)(444,482)])
}
Add(Math,3240223,350,308)
{
OpType=9
Op1=1
ResultType=0
link(onResult,7776563:doBits,[])
}
Add(IndexToChanel,2553764,469,245)
{
link(onEvent1,5093422:doReset,[])
link(onEvent2,5093422:doOn,[])
}
Add(IndexToChanel,9323764,469,315)
{
link(onEvent1,4234706:doReset,[])
link(onEvent2,4234706:doOn,[])
}
Add(IndexToChanel,13732596,469,406)
{
link(onEvent1,13559338:doReset,[])
link(onEvent2,13559338:doOn,[])
}
Add(IndexToChanel,12814905,469,476)
{
link(onEvent1,515220:doReset,[])
link(onEvent2,515220:doOn,[])
}
Add(ChanelToIndex,12981840,301,308)
{
Count=4
link(onIndex,3240223:doOperation,[])
}
Add(Memory,13340104,210,161)
{
link(onData,12981840:doWork1,[(283,167)(283,314)])
}
Add(Memory,15090803,210,231)
{
link(onData,12981840:doWork2,[(272,237)(272,321)])
}
Add(Memory,3673195,210,322)
{
link(onData,12981840:doWork3,[])
}
Add(Memory,1742203,210,378)
{
link(onData,12981840:doWork4,[(261,384)(261,335)])
}
Add(GetDataEx,15415074,518,364)
{
Angle=3
link(Data,3673195:Value,[(216,373)])
}
Add(GetDataEx,3782014,518,434)
{
Angle=3
link(Data,1742203:Value,[(216,443)])
}
Add(GetDataEx,5246221,518,203)
{
Angle=3
link(Data,13340104:Value,[(216,212)])
}
Add(GetDataEx,405933,518,273)
{
Angle=3
link(Data,15090803:Value,[(216,282)])
}
Add(Edit,3022962,714,245)
{
Left=95
Top=10
Width=60
Text=""
}
Add(Edit,904298,714,287)
{
Left=95
Top=35
Width=60
Text=""
}
Add(Button,6400391,133,161)
{
Left=30
Top=10
Caption="1"
Data=Integer(1)
link(onClick,13340104:doValue,[])
}
Add(Button,9933163,133,231)
{
Left=30
Top=35
Caption="2"
Data=Integer(2)
link(onClick,15090803:doValue,[])
}
Add(Button,10836103,133,322)
{
Left=30
Top=60
Caption="3"
Data=Integer(3)
link(onClick,3673195:doValue,[])
}
Add(Button,14420551,133,378)
{
Left=30
Top=85
Caption="4"
Data=Integer(4)
link(onClick,1742203:doValue,[])
}
Add(HubEx,10050057,637,238)
{
link(onEvent,3022962:doText,[])
}
Add(HubEx,10824680,637,308)
{
Angle=3
link(onEvent,10050057:doWork3,[])
}
Add(HubEx,13952166,637,399)
{
Angle=3
link(onEvent,10824680:doWork3,[])
}
Add(HubEx,14298446,665,280)
{
link(onEvent,904298:doText,[])
}
Add(HubEx,3393882,665,315)
{
Angle=3
link(onEvent,14298446:doWork3,[])
}
Add(HubEx,7657836,665,406)
{
Angle=3
link(onEvent,3393882:doWork3,[])
}

карма: 22

0