Вверх ↑
Ответов: 60
Рейтинг: 0
#1: 2020-10-16 15:16:22 ЛС | профиль | цитата
Какая схема правильная?

Make(delphi)
ver(4.05 build 186)
Add(MainForm,2953706,21,105)
{
Width=430
}
Add(Math,10123011,693,350)
{
OpType=7
Op2=2
link(onResult,3541718:doEvent1,[])
link(Op1,14590559:Var3,[(699,236)])
}
Add(GetDataEx,14582755,770,389)
{
Angle=3
link(Data,10123011:Result,[(699,394)])
}
Add(Button,13200831,119,315)
{
Left=15
Top=55
Caption="Расчет"
link(onClick,2452385:doEvent1,[])
}
Add(Edit,8564700,532,49)
{
Left=15
Top=15
}
Add(Math,12271454,1358,357)
{
link(onResult,5195423:doEvent1,[])
link(Op1,2943337:Var3,[(1364,345)(1288,345)(1288,411)])
link(Op2,5955211:Var2,[(1371,345)(1437,345)(1437,401)(1525,401)])
}
Add(Memory,7185836,1519,266)
{
Default=Real(0)
}
Add(Math,4527431,1393,623)
{
link(onResult,8729294:doEvent1,[])
link(Op1,11608567:Var3,[(1399,611)(1288,611)(1288,705)])
link(Op2,13697432:Var2,[(1406,611)(1493,611)(1493,667)(1574,667)])
}
Add(Memory,7447193,1568,553)
{
Default=Real(0)
}
Add(Hub,4576585,595,280)
{
OutCount=3
link(onEvent1,7185836:doClear,[(987,286)(987,279)])
link(onEvent2,7447193:doClear,[(987,293)(987,566)])
link(onEvent3,10123011:doOperation,[(651,300)(651,356)])
}
Add(Hub,5195423,1449,357)
{
link(onEvent1,7185836:doValue,[(1490,363)(1490,272)])
link(onEvent2,7093707:doWrite,[(1501,370)(1501,440)])
}
Add(Hub,8729294,1505,623)
{
link(onEvent1,7447193:doValue,[(1548,629)(1548,559)])
link(onEvent2,12926802:doWrite,[(1547,636)(1547,706)])
}
Add(Hub,3541718,756,350)
{
OutCount=3
link(onEvent1,6040716:doStart,[])
link(onEvent2,5638166:doStart,[(819,363)(819,622)])
link(onEvent3,5500687:doWait,[(807,370)(807,839)])
}
Add(Matrix,12051191,910,84)
{
MatrixType=1
Point(Size)
link(Size,16562372:Result,[(916,56)(753,56)(753,227)(594,227)])
}
Add(Hub,2452385,210,315)
{
OutCount=4
link(onEvent1,15381342:doEvent1,[(254,321)(254,160)])
link(onEvent2,14060616:doCreate,[(696,328)(696,447)])
link(onEvent3,2697948:doCreate,[(693,335)(693,741)])
link(onEvent4,4336486:doStart,[])
}
Add(Math,16562372,588,154)
{
OpType=2
Op2=65537
ResultType=0
link(onResult,12051191:doSize,[(765,160)(765,90)])
link(Op1,16268648:Var3,[(594,124)])
}
Add(GetDataEx,16268648,532,119)
{
link(Data,8564700:Text,[])
}
Add(Hub,15381342,448,154)
{
link(onEvent1,16562372:doOperation,[])
link(onEvent2,3597073:doWork2,[(686,167)(686,97)])
}
Add(MatrixRW,7093707,1540,427)
{
link(Matrix,2899748:Var3,[(1546,124)])
link(Value,5955211:Var3,[(1553,348)])
link(X,13915104:Var3,[(1560,415)(1022,415)(1022,444)])
link(Y,2943337:Var2,[(1567,400)(1180,400)])
}
Add(GetDataEx,5955211,1519,343)
{
link(Data,7185836:Value,[])
}
Add(GetDataEx,13915104,476,439)
{
Angle=3
link(Data,2908886:Var3,[])
}
Add(MatrixRW,12926802,1575,693)
{
link(Matrix,382830:Var3,[(1581,236)])
link(Value,13697432:Var3,[(1588,621)])
link(X,13915104:Var2,[(1595,571)(482,571)])
link(Y,11608567:Var2,[(1602,681)(1187,681)])
}
Add(GetDataEx,13697432,1568,616)
{
link(Data,7447193:Value,[])
}
Add(Events,14060616,1169,441)
{
Name="1"
ManualReset=1
Point(doDestroy)
}
Add(WaitMultiple,5500687,994,833)
{
Count=2
link(onWait,9245367:doFor,[])
link(Handle1,14060616:ObjHandle,[(1000,702)(1175,702)])
link(Handle2,2697948:ObjHandle,[(1007,811)(1168,811)])
}
Add(Events,2697948,1162,735)
{
Name="2"
ManualReset=1
Point(doDestroy)
}
Add(GetDataEx,14590559,532,231)
{
link(Data,16268648:Var2,[])
}
Add(For,9245367,1141,833)
{
IncludeEnd=1
link(onEvent,11661528:doRead,[])
link(End,11676062:Var3,[(1154,544)])
}
Add(GetDataEx,11676062,1015,539)
{
link(Data,14056083:Var3,[(1021,250)])
}
Add(Memo,6106777,1722,833)
{
Left=80
Top=10
Width=325
Height=225
ScrollBars=3
}
Add(MatrixRW,11661528,1225,833)
{
link(onRead,6106777:doAdd,[])
link(Matrix,382830:Var2,[(1231,544)(1308,544)(1308,369)(1112,369)])
link(X,2908886:Var2,[(1245,630)(426,630)])
link(Y,9245367:Position,[(1252,792)(1200,792)(1200,877)(1147,877)])
}
Add(GetDataEx,2908886,420,439)
{
Angle=3
link(Data,4480166:Var2,[(417,444)(417,414)(440,414)])
}
Add(GetDataEx,11608567,1181,700)
{
Angle=2
link(Data,665584:Position,[(1187,715)(965,715)])
}
Add(Button,875331,1295,140)
{
Left=15
Top=85
Caption="Очистить"
link(onClick,4824629:doEvent1,[])
}
Add(Hub,4824629,1365,140)
{
link(onEvent1,6106777:doClear,[(1551,146)(1551,846)])
link(onEvent2,3597073:doWork3,[(1391,153)(1391,127)(886,127)])
}
Add(HubEx,3597073,882,91)
{
link(onEvent,12051191:doClear,[])
}
Add(Thread,6040716,896,350)
{
Delay=0
FastStop=0
Point(doStopFlag)
link(onExec,8829712:doFor,[])
}
Add(Thread,5638166,868,616)
{
Delay=0
FastStop=0
Point(doStopFlag)
link(onExec,665584:doFor,[])
}
Add(GetDataEx,382830,1106,231)
{
link(Data,2899748:Var2,[])
}
Add(Thread,4336486,329,336)
{
Delay=0
Point(doStopFlag)
link(onExec,9763613:doOperation,[])
}
Add(Math,9763613,392,336)
{
Op2=1
ResultType=0
link(onResult,15342242:doValue,[])
link(Op1,4480166:Var1,[(398,324)(426,324)(426,394)])
}
Add(Memory,15342242,448,336)
{
Default=Integer(-1)
link(onData,16574681:doCompare,[])
}
Add(GetDataEx,4480166,434,389)
{
Angle=1
link(Data,4097210:Var2,[(454,394)])
}
Add(If_else,16574681,497,336)
{
link(onTrue,4336486:doStopFlag,[(553,342)(553,402)(317,402)(317,356)])
link(onFalse,4576585:doEvent1,[(562,349)(562,286)])
link(Op1,4097210:Var3,[(503,324)(480,324)(480,383)])
link(Op2,14056083:Var2,[(510,295)(552,295)])
}
Add(GetDataEx,4097210,448,378)
{
link(Data,15342242:Value,[])
}
Add(GetDataEx,14056083,546,245)
{
Angle=3
link(Data,14590559:Var2,[(538,250)])
}
Add(For,665584,959,616)
{
IncludeEnd=1
link(onEvent,4527431:doOperation,[(1217,622)(1217,629)])
link(onStop,2697948:doSet,[(1077,629)(1077,748)])
link(Start,14582755:Var1,[(965,383)(776,383)])
link(End,11676062:Var2,[(972,568)(1021,568)])
}
Add(For,8829712,1043,350)
{
IncludeEnd=1
link(onEvent,12271454:doOperation,[(1231,356)(1231,363)])
link(onStop,14060616:doSet,[(1122,363)(1122,454)])
link(End,14582755:Var3,[(1056,338)(918,338)(918,394)])
}
Add(GetDataEx,2899748,1106,119)
{
Angle=3
link(Data,12051191:Matrix,[(916,124)])
}
Add(GetDataEx,2943337,1174,406)
{
Angle=2
link(Data,8829712:Position,[(1180,421)(1049,421)])
}



Make(delphi)
ver(4.05 build 186)
Add(MainForm,2953706,21,105)
{
Width=430
}
Add(Math,10123011,693,350)
{
OpType=7
Op2=2
link(onResult,3541718:doEvent1,[(741,356)(741,342)])
link(Op1,14590559:Var3,[(699,236)])
}
Add(GetDataEx,14582755,770,389)
{
Angle=3
link(Data,10123011:Result,[(699,394)])
}
Add(Button,13200831,119,315)
{
Left=15
Top=55
Caption="Расчет"
link(onClick,2452385:doEvent1,[])
}
Add(Edit,8564700,532,49)
{
Left=15
Top=15
}
Add(Math,12271454,1358,357)
{
link(onResult,5195423:doEvent1,[])
link(Op1,2943337:Var3,[(1364,345)(1288,345)(1288,411)])
link(Op2,5955211:Var2,[(1371,345)(1437,345)(1437,401)(1525,401)])
}
Add(Memory,7185836,1519,266)
{
Default=Real(0)
}
Add(Math,4527431,1393,623)
{
link(onResult,8729294:doEvent1,[])
link(Op1,11608567:Var3,[(1399,611)(1288,611)(1288,705)])
link(Op2,13697432:Var2,[(1406,611)(1493,611)(1493,667)(1574,667)])
}
Add(Memory,7447193,1568,553)
{
Default=Real(0)
}
Add(Hub,4576585,595,280)
{
OutCount=3
link(onEvent1,7185836:doClear,[(987,286)(987,279)])
link(onEvent2,7447193:doClear,[(987,293)(987,566)])
link(onEvent3,10123011:doOperation,[(651,300)(651,356)])
}
Add(Hub,5195423,1449,357)
{
link(onEvent1,7185836:doValue,[(1490,363)(1490,272)])
link(onEvent2,7093707:doWrite,[(1501,370)(1501,440)])
}
Add(Hub,8729294,1505,623)
{
link(onEvent1,7447193:doValue,[(1548,629)(1548,559)])
link(onEvent2,12926802:doWrite,[(1547,636)(1547,706)])
}
Add(Hub,3541718,756,336)
{
OutCount=5
link(onEvent1,14060616:doCreate,[(970,342)(970,447)])
link(onEvent2,2697948:doCreate,[(966,349)(966,741)])
link(onEvent3,6040716:doStart,[])
link(onEvent4,5638166:doStart,[(819,363)(819,622)])
link(onEvent5,5500687:doWait,[(882,370)(882,839)])
}
Add(Matrix,12051191,910,84)
{
MatrixType=1
Point(Size)
link(Size,16562372:Result,[(916,56)(753,56)(753,227)(594,227)])
}
Add(Hub,2452385,210,315)
{
link(onEvent1,15381342:doEvent1,[(254,321)(254,160)])
link(onEvent2,4336486:doStart,[(276,328)(276,342)])
}
Add(Math,16562372,588,154)
{
OpType=2
Op2=65537
ResultType=0
link(onResult,12051191:doSize,[(765,160)(765,90)])
link(Op1,16268648:Var3,[(594,124)])
}
Add(GetDataEx,16268648,532,119)
{
link(Data,8564700:Text,[])
}
Add(Hub,15381342,448,154)
{
link(onEvent1,16562372:doOperation,[])
link(onEvent2,3597073:doWork2,[(686,167)(686,97)])
}
Add(MatrixRW,7093707,1540,427)
{
link(Matrix,2899748:Var3,[(1546,124)])
link(Value,5955211:Var3,[(1553,348)])
link(X,13915104:Var3,[(1560,415)(1022,415)(1022,444)])
link(Y,2943337:Var2,[(1567,400)(1180,400)])
}
Add(GetDataEx,5955211,1519,343)
{
link(Data,7185836:Value,[])
}
Add(GetDataEx,13915104,476,439)
{
Angle=3
link(Data,2908886:Var3,[])
}
Add(MatrixRW,12926802,1575,693)
{
link(Matrix,382830:Var3,[(1581,236)])
link(Value,13697432:Var3,[(1588,621)])
link(X,13915104:Var2,[(1595,571)(482,571)])
link(Y,11608567:Var2,[(1602,681)(1187,681)])
}
Add(GetDataEx,13697432,1568,616)
{
link(Data,7447193:Value,[])
}
Add(Events,14060616,1169,441)
{
Name="1"
ManualReset=1
Point(doDestroy)
}
Add(WaitMultiple,5500687,994,833)
{
Count=2
link(onWait,9245367:doFor,[])
link(Handle1,14060616:ObjHandle,[(1000,702)(1175,702)])
link(Handle2,2697948:ObjHandle,[(1007,811)(1168,811)])
}
Add(Events,2697948,1162,735)
{
Name="2"
ManualReset=1
Point(doDestroy)
}
Add(GetDataEx,14590559,532,231)
{
link(Data,16268648:Var2,[])
}
Add(For,9245367,1141,833)
{
IncludeEnd=1
link(onEvent,11661528:doRead,[])
link(End,11676062:Var3,[(1154,544)])
}
Add(GetDataEx,11676062,1015,539)
{
link(Data,14056083:Var3,[(1021,250)])
}
Add(Memo,6106777,1722,833)
{
Left=80
Top=10
Width=325
Height=225
ScrollBars=3
}
Add(MatrixRW,11661528,1225,833)
{
link(onRead,6106777:doAdd,[])
link(Matrix,382830:Var2,[(1231,544)(1308,544)(1308,369)(1112,369)])
link(X,2908886:Var2,[(1245,630)(426,630)])
link(Y,9245367:Position,[(1252,792)(1200,792)(1200,877)(1147,877)])
}
Add(GetDataEx,2908886,420,439)
{
Angle=3
link(Data,4480166:Var2,[(417,444)(417,414)(440,414)])
}
Add(GetDataEx,11608567,1181,700)
{
Angle=2
link(Data,665584:Position,[(1187,715)(965,715)])
}
Add(Button,875331,1295,140)
{
Left=15
Top=85
Caption="Очистить"
link(onClick,4824629:doEvent1,[])
}
Add(Hub,4824629,1365,140)
{
link(onEvent1,6106777:doClear,[(1551,146)(1551,846)])
link(onEvent2,3597073:doWork3,[(1391,153)(1391,127)(886,127)])
}
Add(HubEx,3597073,882,91)
{
link(onEvent,12051191:doClear,[])
}
Add(Thread,6040716,896,350)
{
Delay=0
FastStop=0
Point(doStopFlag)
link(onExec,8829712:doFor,[])
}
Add(Thread,5638166,868,616)
{
Delay=0
FastStop=0
Point(doStopFlag)
link(onExec,665584:doFor,[])
}
Add(GetDataEx,382830,1106,231)
{
link(Data,2899748:Var2,[])
}
Add(Thread,4336486,329,336)
{
Delay=0
Point(doStopFlag)
link(onExec,9763613:doOperation,[])
}
Add(Math,9763613,392,336)
{
Op2=1
ResultType=0
link(onResult,15342242:doValue,[])
link(Op1,4480166:Var1,[(398,324)(426,324)(426,394)])
}
Add(Memory,15342242,448,336)
{
Default=Integer(-1)
link(onData,16574681:doCompare,[])
}
Add(GetDataEx,4480166,434,389)
{
Angle=1
link(Data,4097210:Var2,[(454,394)])
}
Add(If_else,16574681,497,336)
{
link(onTrue,4336486:doStopFlag,[(553,342)(553,402)(317,402)(317,356)])
link(onFalse,4576585:doEvent1,[(562,349)(562,286)])
link(Op1,4097210:Var3,[(503,324)(480,324)(480,383)])
link(Op2,14056083:Var2,[(510,295)(552,295)])
}
Add(GetDataEx,4097210,448,378)
{
link(Data,15342242:Value,[])
}
Add(GetDataEx,14056083,546,245)
{
Angle=3
link(Data,14590559:Var2,[(538,250)])
}
Add(For,665584,959,616)
{
IncludeEnd=1
link(onEvent,4527431:doOperation,[(1217,622)(1217,629)])
link(onStop,2697948:doSet,[(1077,629)(1077,748)])
link(Start,14582755:Var1,[(965,383)(776,383)])
link(End,11676062:Var2,[(972,568)(1021,568)])
}
Add(For,8829712,1043,350)
{
IncludeEnd=1
link(onEvent,12271454:doOperation,[(1231,356)(1231,363)])
link(onStop,14060616:doSet,[(1122,363)(1122,454)])
link(End,14582755:Var3,[(1056,338)(918,338)(918,394)])
}
Add(GetDataEx,2899748,1106,119)
{
Angle=3
link(Data,12051191:Matrix,[(916,124)])
}
Add(GetDataEx,2943337,1174,406)
{
Angle=2
link(Data,8829712:Position,[(1180,421)(1049,421)])
}

карма: 1

0