Как говорится, найдите три отличия
Add(Button,70171,252,112)
{
Left=20
Top=26
Caption="1"
Data=Integer(1)
link(onClick,3576977:doWork2,[])
}
Add(Button,15132963,252,154)
{
Left=20
Top=65
Caption="2"
Data=Integer(2)
link(onClick,3576977:doWork3,[(312,160)])
}
Add(LED,4771629,490,56)
{
Left=98
Top=42
}
Add(Math,13877513,357,112)
{
OpType=5
ResultType=0
Point(doClear)
link(onResult,7965754:doCompare,[])
link(Op1,13877513:Result,[(363,100)(351,100)(351,156)(363,156)])
}
Add(HubEx,3576977,308,112)
{
link(onEvent,13877513:doOperation,[])
}
Add(If_else,7965754,413,112)
{
Op2=Integer(3)
link(onTrue,4771629:doOn,[(473,118)(473,76)])
}
Add(Button,6771661,252,63)
{
Left=153
Top=40
Caption="0"
link(onClick,2792839:doEvent1,[])
}
Add(Hub,2792839,308,63)
{
link(onEvent1,4771629:doOff,[])
link(onEvent2,13877513:doClear,[(333,76)(333,125)])
}