Вверх ↑
Этот топик читают: Гость
Ответов: 16884
Рейтинг: 1239
#31: 2015-05-16 14:47:05 ЛС | профиль | цитата
Для всего. Например, в БД нужно иметь:
1. Таблицу материалов.
2. Таблицу марок сталей со списками состава.
3. Таблицу формул.
4. Таблицу с текстами запросов.

Может ещё что-то, но я не сталевар.
Чтобы что-то конкретно подсказать или сделать нужно серьёзно знать технологию.
карма: 25
Немного терпения! Дежурный экстрасенс скоро свяжется с Вами!
1
Голосовали:Stalevar
Ответов: 182
Рейтинг: 14
#32: 2018-08-29 15:38:16 ЛС | профиль | цитата
Вернулся я опять к этому проекту, так и тянет в HIASM сделать
Вот что уже наковырял с помощью вас и своих кривых ручонок.
Помогите упростить данную схему, знаю что можно упростить не знаю как.


Add(Label,3454046,1498,91)
{
Left=54
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(Label,2598496,1491,84)
{
Left=115
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(Label,15754044,168,742)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,1955835,168,609)
{
Left=36
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(MainForm,2953706,7,42)
{
Width=551
Height=393
Color=-16777194
Position=1
link(onCreate,6895129:doEvent1,[])
}
Add(CheckBox,16297602,245,406)
{
Left=2
Top=48
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Кокс"
Point(doColor)
Point(doFont)
link(onCheck,7381917:doEvent1,[])
}
Add(CheckBox,4027255,252,448)
{
Left=2
Top=76
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="FeMn"
Point(doColor)
Point(doFont)
link(onCheck,1083426:doEvent1,[])
}
Add(MultiElement,7853204,84,441)
{
@Hint=#6:Формат|
link(onEvent1,14227662:Cable,[(142,447)(142,377)])
link(onEvent2,1001967:Cable,[(155,454)(155,419)])
link(onEvent3,15553298:Cable,[])
}
BEGIN_SDK
Add(EditMulti,3338469,28,49)
{
EventCount=3
WorkCount=1
Width=643
Height=690
link(doWork1,9992282:doSplit,[(46,55)(46,62)])
}
Add(Font,4691505,182,140)
{
Font=[Arial,11,1,65280,204]
link(onFont,1376853:doWork2,[])
}
Add(Font,15417341,182,98)
{
Font=[Arial,11,1,0,204]
link(onFont,1376853:doWork1,[(228,104)])
}
Add(StrList,5442973,154,189)
{
Strings=#5:65535|8:10789024|
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,4305358:doEvent,[(230,202)(230,237)])
}
Add(IndexToChanel,13242610,133,98)
{
link(onEvent1,15417341:doFont,[])
link(onEvent2,4691505:doFont,[(173,111)(173,146)])
}
Add(Hub,8646046,105,133)
{
link(onEvent1,13242610:doEvent,[(126,139)(126,104)])
link(onEvent2,5442973:doGetString,[(137,146)(137,237)])
}
Add(MultiStrData,9992282,56,56)
{
link(onPart1,777246:doValue,[])
link(onPart2,8646046:doEvent1,[(95,69)(95,139)])
}
Add(Memory,777246,280,56)
{
}
Add(IndexToChanel,10506450,301,140)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire2,[(433,146)(433,174)])
link(onEvent2,3683880:Wire2,[(433,153)(433,216)])
link(onEvent3,13779428:Wire2,[(433,160)(433,265)])
link(Data,14486282:Value,[(307,124)(279,124)(279,180)(244,180)])
link(Index,13624829:Var3,[(314,110)])
}
Add(IndexToChanel,4305358,273,231)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire1,[(419,237)(419,167)])
link(onEvent2,3683880:Wire1,[(419,244)(419,209)])
link(onEvent3,13779428:Wire1,[(419,251)(419,258)])
link(Data,5442973:String,[(279,184)(213,184)(213,250)(181,250)])
link(Index,13624829:Var2,[])
}
Add(GetDataEx,13624829,280,105)
{
link(Data,777246:Value,[])
}
Add(Memory,14486282,238,140)
{
link(onData,10506450:doEvent,[])
}
Add(HubEx,1376853,224,140)
{
link(onEvent,14486282:doValue,[])
}
Add(CableWork,10633978,532,161)
{
link(Cable,3338469:onEvent1,[(608,167)(608,55)])
}
Add(CableWork,3683880,532,203)
{
link(Cable,3338469:onEvent2,[(608,209)(608,62)])
}
Add(CableWork,13779428,532,252)
{
link(Cable,3338469:onEvent3,[(608,258)(608,69)])
}
END_SDK
Add(CableEvent,14227662,168,371)
{
link(Wire1,9595767:doEvent1,[])
link(Wire2,3462522:doEvent1,[(189,384)(189,391)])
}
Add(CableEvent,1001967,168,413)
{
link(Wire1,493886:doEvent1,[])
link(Wire2,5027377:doEvent1,[(189,426)(189,433)])
}
Add(CableEvent,15553298,168,455)
{
link(Wire1,1918681:doEvent1,[])
link(Wire2,3328549:doEvent1,[(189,468)(189,475)])
}
Add(StrCat,5224041,336,364)
{
Str1="0;"
link(onStrCat,14628401:doWork2,[])
}
Add(StrCat,1947115,343,406)
{
Str1="1;"
link(onStrCat,9083665:doWork2,[])
}
Add(StrCat,14537579,350,448)
{
Str1="2;"
link(onStrCat,13913192:doWork2,[])
}
Add(HubEx,14628401,378,364)
{
Angle=3
link(onEvent,7853204:doWork1,[(382,350)(72,350)(72,447)])
}
Add(HubEx,9083665,385,406)
{
Angle=3
link(onEvent,14628401:doWork3,[(389,391)(382,391)])
}
Add(HubEx,13913192,392,448)
{
Angle=3
link(onEvent,9083665:doWork3,[(396,433)(389,433)])
}
Add(Edit,5020035,728,14)
{
Left=142
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,12660360:doValue,[])
}
Add(Edit,4184594,728,56)
{
Left=142
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,293551:doValue,[])
}
Add(Edit,12951390,728,98)
{
Left=142
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="78"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,3372561:doValue,[])
}
Add(Edit,13766560,854,14)
{
Left=212
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,7615906:doValue,[])
}
Add(Edit,6549760,854,56)
{
Left=212
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,10812183:doValue,[])
}
Add(Edit,5598161,854,98)
{
Left=212
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="100"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,1737583:doValue,[])
}
Add(Hub,3462522,196,385)
{
link(onEvent1,2117759:doFont,[(224,391)(224,384)])
}
Add(Hub,9595767,196,371)
{
link(onEvent1,2117759:doColor,[])
}
Add(Hub,5027377,196,427)
{
link(onEvent1,16297602:doFont,[(224,433)(224,426)])
}
Add(Hub,493886,196,413)
{
link(onEvent1,16297602:doColor,[])
}
Add(Hub,3328549,196,469)
{
link(onEvent1,4027255:doFont,[(224,475)(224,468)])
}
Add(Hub,1918681,196,455)
{
link(onEvent1,4027255:doColor,[])
}
Add(UpDown,5371857,259,56)
{
Left=287
Top=20
Width=26
Height=290
Ctl3D=0
Max=200
Min=1
Position=100
link(onPosition,14614441:doText,[(306,62)(306,43)(247,43)(247,111)])
}
Add(DoData,14249546,168,56)
{
Data=Integer(100)
link(onEventData,115852:doWork2,[])
}
Add(Edit,14614441,259,105)
{
Left=369
Top=319
Width=105
Height=40
Font=[Arial,24,1,0,204]
WinStyle=3
Text=""
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,7210031:doEvent1,[(583,111)(583,426)])
link(onEnter,115852:doWork3,[(302,118)(302,97)(221,97)])
link(Str,5371857:Position,[])
}
Add(Hub,7210031,693,420)
{
InCount=4
OutCount=6
link(onEvent1,15807324:doData,[(726,426)(726,223)(246,223)(246,167)])
link(onEvent2,3312741:doCompare,[])
link(onEvent3,14543411:doCompare,[(749,440)(749,461)])
link(onEvent4,8882451:doCompare,[(719,447)(719,538)])
link(onEvent5,1053411:doWork1,[(1173,454)])
}
Add(Hub,12740869,630,462)
{
OutCount=4
link(onEvent1,1053411:doWork3,[(1173,468)])
link(onEvent2,9116316:doWork3,[(1544,475)])
link(onEvent3,3735772:doWork2,[(901,482)(901,552)])
link(onEvent4,7210031:doEvent4,[(679,489)(679,447)])
}
Add(MultiSetParam,5690489,1330,476)
{
Parameters=#9:Эл.Стр-ка|4:Кокс|4:FeMn|0:|
Count=1
OutType=1
link(onSet1,5511638:doValue,[])
}
Add(GetIndexData,2855857,1428,420)
{
Count=3
link(Data1,9078381:Var,[])
link(Data2,11326893:Var,[])
link(Data3,11011836:Var,[])
}
Add(For,12362648,1246,469)
{
End=10
link(onEvent,6486535:doEvent1,[])
}
Add(Hub,6486535,1302,469)
{
link(onEvent1,2855857:doIndex,[(1325,475)(1325,426)])
link(onEvent2,5690489:doSet,[])
}
Add(HubEx,1053411,1169,469)
{
link(onEvent,12362648:doFor,[])
}
Add(LineBreakEx,3238583,413,497)
{
Type=2
}
Add(LineBreakEx,15170414,1673,462)
{
Type=3
link(_Data,4246749:Var3,[(1679,425)])
}
Add(MST_RowAction,4991091,469,525)
{
MSTControl="tabl"
}
Add(MST_Clear,2539529,1589,371)
{
MSTControl="tabl"
}
Add(MT_MTArrayRW,5050759,413,525)
{
link(onRead,4991091:doRowAction,[])
link(Array,3238583:getVar,[])
link(Index,2408786:Index,[(426,514)(455,514)(455,569)(307,569)])
}
Add(If_else,5621254,350,525)
{
Op2=Integer(1)
link(onTrue,5050759:doRead,[])
}
Add(MT_AddData,15248216,1421,476)
{
link(onAdd,3355436:doAdd,[])
link(Data1,5511638:Value,[(1427,465)(1412,465)(1412,520)(1378,520)])
link(Data2,2855857:Var,[])
}
Add(MT_MTArray,6247255,1631,364)
{
}
Add(MT_MTArrayRW,3355436,1631,462)
{
link(Array,4246749:Var2,[])
link(Index,12362648:Position,[(1644,450)(1599,450)(1599,528)(1252,528)])
}
Add(GetDataEx,4246749,1631,420)
{
link(Data,6247255:Array,[])
}
Add(Memory,5511638,1372,476)
{
link(onData,15248216:doAdd,[])
}
Add(Hub,9579955,1519,364)
{
OutCount=5
link(onEvent1,6247255:doClear,[])
link(onEvent2,9116316:doWork2,[])
link(onEvent3,1053411:doWork2,[(1557,384)(1557,534)(1183,534)(1183,475)])
link(onEvent4,3735772:doWork1,[(1573,391)(1573,541)(1271,541)])
link(onEvent5,5198787:doEvent1,[(1579,398)(1579,2)(415,2)(415,111)])
}
Add(HubEx,3735772,1267,546)
{
Angle=1
link(onEvent,5755906:doAdd,[(1271,598)(219,598)(219,531)])
}
Add(HubEx,9116316,1540,371)
{
link(onEvent,2539529:doClear,[])
}
Add(ChanelToIndex,5120309,497,406)
{
Count=3
link(onIndex,12740869:doEvent1,[(586,412)(586,468)])
}
Add(MT_Enum,2408786,294,525)
{
link(onItem,5621254:doCompare,[])
}
Add(MT_AddData,5755906,245,525)
{
Count=3
link(onAdd,2408786:doEnum,[])
link(Data1,9603529:Var2,[(251,461)(244,461)])
link(Data2,13468541:Var2,[(258,509)(251,509)])
link(Data3,585070:Var2,[(265,503)(258,503)])
}
Add(Hub,7381917,294,406)
{
link(onEvent1,1947115:doStrCat,[])
link(onEvent2,5120309:doWork2,[])
}
Add(Hub,9225181,287,364)
{
link(onEvent1,5224041:doStrCat,[])
link(onEvent2,5120309:doWork1,[(413,377)(413,412)])
}
Add(Hub,1083426,301,448)
{
link(onEvent1,14537579:doStrCat,[])
link(onEvent2,5120309:doWork3,[(420,461)(420,426)])
}
Add(MTStrTbl,13946322,518,525)
{
Left=313
Top=20
Width=225
Height=290
Color=0
Font=[Arial,14,1,65280,204]
WinStyle=1
Name="tabl"
Columns=#12:Материал=120|12:кг./метр=100|
ColumnWidth=90
Style=4
ChangeWidth=1
}
Add(HubEx,115852,217,56)
{
link(onEvent,5371857:doPosition,[])
}
Add(Label,13320999,1484,77)
{
Left=35
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,9024548,1477,70)
{
Left=94
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6007472,1470,63)
{
Left=10
Top=190
Width=25
Height=20
Color=10987519
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="max"
AutoSize=1
Alignment=2
}
Add(Label,3979818,147,602)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16307632,147,735)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,9637448,1463,56)
{
Left=11
Top=240
Width=25
Height=20
Color=16764057
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="min"
AutoSize=1
Alignment=2
}
Add(Label,245292,301,651)
{
Left=54
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11514661,112,651)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,1425028:doCalc,[])
}
Add(Convertor,1097185,1246,238)
{
Mode=2
link(onResult,9802522:doValue,[])
}
Add(Convertor,277383,1183,280)
{
Mode=2
link(onResult,11730515:doValue,[])
}
Add(Convertor,13131978,1106,322)
{
Mode=2
link(onResult,2181564:doValue,[])
}
Add(GlobalVar,682212,364,161)
{
Name="ст1"
link(onValue,10287995:doEvent1,[])
}
Add(DoData,15807324,259,161)
{
Data=Integer(100)
link(onEventData,2189399:doOperation,[])
link(Data,14614441:Text,[])
}
Add(Math,2189399,315,161)
{
OpType=2
Op2=1000
link(onResult,682212:doValue,[])
}
Add(Label,312020,301,784)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,4447473,112,784)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,3840381:doCalc,[])
}
Add(MathParse,9740776,1106,280)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
link(onResult,277383:doConvert,[])
link(X1,11773117:Var,[])
link(X2,8190836:Var,[(1119,234)(1112,234)])
link(X3,7488355:Var,[(1126,245)(1112,245)])
link(X4,11574272:Var,[(1133,256)(1112,256)])
link(X5,646101:Var,[(1140,266)(1112,266)])
link(X6,11149645:Var,[(1147,276)(1112,276)])
}
Add(GlobalVar,11773117,1106,154)
{
Name="ст1"
}
Add(GlobalVar,8190836,1106,175)
{
Name="C1"
}
Add(GlobalVar,7488355,1106,196)
{
Name="C Ц"
}
Add(GlobalVar,11574272,1106,217)
{
Name="кокос С"
}
Add(GlobalVar,646101,1106,238)
{
Name="коккс У"
}
Add(GlobalVar,11149645,1106,259)
{
Name="кокс ст2"
}
Add(Hub,5198787,420,105)
{
OutCount=3
link(onEvent1,10165587:doCalc,[(466,111)(466,69)])
link(onEvent2,1544459:doCalc,[(466,118)(466,153)])
link(onEvent3,5140318:doCalc,[(466,125)(466,251)])
}
Add(GlobalVar,10406390,539,63)
{
Name="стр-ка ст2"
}
Add(Label,12685144,1456,49)
{
Left=35
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,14524777,1449,42)
{
Left=95
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6330024,1442,35)
{
Left=-1
Top=300
Width=36
Height=20
Color=9486586
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="проба"
AutoSize=1
Alignment=2
}
Add(GlobalVar,8439641,189,1015)
{
Name="C1"
}
Add(GlobalVar,1617921,350,700)
{
Name="C Ц"
link(onValue,7210031:doEvent2,[(663,706)(663,433)])
}
Add(DoData,12248989,301,700)
{
link(onEventData,1617921:doValue,[])
link(Data,245292:Caption,[])
}
Add(Hub,14355907,259,651)
{
link(onEvent1,245292:doText,[])
link(onEvent2,12248989:doData,[(287,664)(287,706)])
}
Add(DoData,14468035,147,1015)
{
link(onEventData,8439641:doValue,[])
link(Data,14875724:Text,[])
}
Add(Hub,6895129,56,56)
{
OutCount=5
link(onEvent1,14249546:doData,[])
link(onEvent2,13966058:doEvent1,[(79,69)(79,123)(2,123)(2,1021)])
link(onEvent3,15063564:doData,[])
}
Add(MathParse,7771489,1183,238)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
link(onResult,1097185:doConvert,[])
link(X1,14765544:Var,[])
link(X2,6065423:Var,[(1196,192)(1189,192)])
link(X3,11865958:Var,[(1203,203)(1189,203)])
link(X4,3442056:Var,[(1210,214)(1189,214)])
link(X5,4162297:Var,[(1217,224)(1189,224)])
link(X6,15623867:Var,[(1224,234)(1189,234)])
}
Add(GlobalVar,14765544,1183,112)
{
Name="ст1"
}
Add(GlobalVar,6065423,1183,133)
{
Name="C1"
}
Add(GlobalVar,11865958,1183,154)
{
Name="C Ц"
}
Add(GlobalVar,15623867,1183,217)
{
Name="стр-ка ст2"
}
Add(GlobalVar,293551,770,56)
{
Name="кокос С"
Data=Integer(90)
}
Add(GlobalVar,10812183,896,56)
{
Name="коккс У"
Data=Integer(90)
}
Add(GlobalVar,12660360,770,14)
{
Name="стр-ка С"
Data=Integer(98)
}
Add(GlobalVar,7615906,896,14)
{
Name="стр-ка У"
Data=Integer(98)
}
Add(GlobalVar,3442056,1183,175)
{
Name="стр-ка С"
}
Add(GlobalVar,4162297,1183,196)
{
Name="стр-ка У"
}
Add(GlobalVar,11326893,1435,280)
{
Name="кокс кг"
link(onValue,11674361:doWork2,[])
}
Add(GlobalVar,9078381,1428,238)
{
Name="стр-ка кг"
link(onValue,11674361:doWork1,[(1523,244)])
}
Add(GlobalVar,10120483,504,14)
{
Name="кокс кг"
}
Add(GlobalVar,4239584,504,98)
{
Name="стр-ка кг"
}
Add(GlobalVar,9296197,539,147)
{
Name="кокс ст2"
}
Add(HubEx,11674361,1519,280)
{
Angle=1
link(onEvent,6156699:doWork1,[])
}
Add(MathParse,1425028,154,651)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,13713023:doFormat,[])
link(X2,3979818:Caption,[(167,643)(153,643)])
link(X3,1955835:Caption,[])
}
Add(GlobalVar,13601916,350,833)
{
Name="Mn Ц"
link(onValue,7210031:doEvent3,[(672,839)(672,440)])
}
Add(DoData,8683073,301,833)
{
link(onEventData,13601916:doValue,[])
link(Data,312020:Caption,[])
}
Add(Hub,9019120,259,784)
{
link(onEvent1,312020:doText,[])
link(onEvent2,8683073:doData,[(286,797)(286,839)])
}
Add(MathParse,3840381,154,784)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,2968143:doFormat,[])
link(X2,16307632:Caption,[(167,776)(153,776)])
link(X3,15754044:Caption,[])
}
Add(Hub,11715060,21,693)
{
link(onEvent1,11514661:doPosition,[(73,699)(73,657)])
link(onEvent2,4447473:doPosition,[(73,706)(73,790)])
}
Add(DoData,15063564,105,70)
{
Data=Integer(50)
link(onEventData,11715060:doEvent1,[(148,76)(148,137)(2,137)(2,699)])
}
Add(If_else,3312741,728,427)
{
Op2=Integer(1)
link(onTrue,1766645:doTimer,[(874,433)(874,244)])
link(onFalse,9802522:doClear,[(1285,440)(1285,251)])
link(Op1,9603529:Var3,[(734,404)])
}
Add(Memory,9802522,1295,238)
{
Default=Integer(0)
link(onData,9078381:doValue,[])
}
Add(Memory,11730515,1232,280)
{
Default=Integer(0)
link(onData,11326893:doValue,[])
}
Add(If_else,14543411,784,455)
{
Op2=Integer(1)
link(onTrue,11149677:doTimer,[(902,461)(902,286)])
link(onFalse,11730515:doClear,[(1224,468)(1224,293)])
link(Op1,13468541:Var3,[(790,446)])
}
Add(CheckBox,2117759,238,364)
{
Left=2
Top=20
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Эл.Стр-ка"
Point(doColor)
Point(doFont)
link(onCheck,9225181:doEvent1,[])
}
Add(GetDataEx,9603529,238,399)
{
link(Data,2117759:Checked,[])
}
Add(GetDataEx,13468541,245,441)
{
link(Data,16297602:Checked,[])
}
Add(Label,13988717,1435,28)
{
Left=107
Top=20
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,16373010,1428,21)
{
Left=107
Top=48
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,6840745,1421,14)
{
Left=107
Top=76
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="Mn"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Digit2Fstr,13713023,210,651)
{
sFrac=3
link(onFstr,14355907:doEvent1,[])
}
Add(Digit2Fstr,2968143,210,784)
{
sFrac=3
link(onFstr,9019120:doEvent1,[])
}
Add(GlobalVar,3372561,770,98)
{
Name="FeMn С"
Data=Integer(78)
}
Add(GlobalVar,1737583,896,98)
{
Name="FeMn У"
Data=Integer(100)
}
Add(MathParse,3871530,1029,322)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
link(onResult,13131978:doConvert,[])
link(X1,11924034:Var,[])
link(X2,7368704:Var,[(1042,276)(1035,276)])
link(X3,4269061:Var,[(1049,287)(1035,287)])
link(X4,11752645:Var,[(1056,298)(1035,298)])
link(X5,9955313:Var,[(1063,308)(1035,308)])
link(X6,16182751:Var,[(1070,318)(1035,318)])
}
Add(GlobalVar,11924034,1029,196)
{
Name="ст1"
}
Add(GlobalVar,7368704,1029,217)
{
Name="Mn1"
}
Add(If_else,8882451,840,532)
{
Op2=Integer(1)
link(onTrue,7150979:doTimer,[(930,538)(930,328)])
link(onFalse,2181564:doClear,[(1145,545)(1145,335)])
link(Op1,585070:Var3,[(846,498)(485,498)(485,488)])
}
Add(Memory,2181564,1155,322)
{
Default=Integer(0)
link(onData,11011836:doValue,[])
}
Add(GlobalVar,11011836,1442,322)
{
Name="FeMn кг"
link(onValue,6156699:doWork2,[])
}
Add(GlobalVar,9955313,1029,280)
{
Name="FeMn У"
}
Add(GlobalVar,11752645,1029,259)
{
Name="FeMn С"
}
Add(HubEx,6156699,1519,322)
{
Angle=1
link(onEvent,9579955:doEvent1,[(1523,370)])
}
Add(GlobalVar,4669771,511,35)
{
Name="FeMn кг"
}
Add(MathParse,10165587,497,63)
{
DataCount=3
MathStr="%1 + %2+%3"
link(onResult,10406390:doValue,[])
link(X1,11888295:Value,[(503,58)(461,58)])
link(X2,10120483:Var,[])
link(X3,4669771:Var,[])
}
Add(MathParse,1544459,497,147)
{
DataCount=3
MathStr="%1 + %2+%3"
link(onResult,9296197:doValue,[])
link(X1,2471154:Value,[(503,139)(461,139)])
link(X2,4239584:Var,[])
link(X3,16614572:Var,[])
}
Add(GlobalVar,16614572,511,119)
{
Name="FeMn кг"
}
Add(GlobalVar,11831076,497,196)
{
Name="кокс кг"
}
Add(MathParse,5140318,497,245)
{
DataCount=3
MathStr="%1 + %2+%3"
link(onResult,6439411:doValue,[])
link(X1,7256806:Value,[(503,237)(461,237)])
link(X2,11831076:Var,[(510,231)(503,231)])
link(X3,2143183:Var,[])
}
Add(GlobalVar,6439411,539,245)
{
Name="FeMn ст2"
}
Add(GlobalVar,2143183,511,217)
{
Name="стр-ка кг"
}
Add(GlobalVar,16182751,1029,301)
{
Name="FeMn ст2"
}
Add(GlobalVar,4269061,1029,238)
{
Name="Mn Ц"
}
Add(GlobalVar,1369573,294,1022)
{
Name="Mn1"
}
Add(DoData,10075898,252,1022)
{
link(onEventData,1369573:doValue,[])
link(Data,8147977:Text,[])
}
Add(Hub,13966058,14,1015)
{
link(onEvent1,14468035:doData,[])
link(onEvent2,10075898:doData,[])
}
Add(Memory,11888295,455,21)
{
}
Add(Hub,10287995,413,161)
{
OutCount=3
link(onEvent1,11888295:doValue,[(441,167)(441,27)])
link(onEvent2,2471154:doValue,[(441,174)(441,104)])
link(onEvent3,7256806:doValue,[(441,181)(441,202)])
}
Add(Memory,2471154,455,98)
{
}
Add(Memory,7256806,455,196)
{
}
Add(Timer,7150979,987,322)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,3871530:doCalc,[])
}
Add(Timer,11149677,987,280)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,9740776:doCalc,[])
}
Add(Timer,1766645,987,238)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,7771489:doCalc,[])
}
Add(Edit,14875724,147,945)
{
Left=35
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
}
Add(Edit,8147977,252,945)
{
Left=95
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
}
Add(GetDataEx,585070,252,483)
{
link(Data,4027255:Checked,[])
}


--- Добавлено в 2018-08-29 15:56:23

Возможно ли как то сделать авто перерасчет формул или придется тянуть от всех изменяемых данных?

Редактировалось 1 раз(а), последний 2018-08-29 15:56:23
карма: 0

0
Ответов: 16884
Рейтинг: 1239
#33: 2018-08-29 21:54:32 ЛС | профиль | цитата
1. Начинаем с малого - выбрасываем лишнее


Add(Label,15754044,392,784)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,1955835,392,665)
{
Left=36
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(Label,3979818,385,637)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16307632,385,749)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,245292,525,707)
{
Left=54
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11514661,336,707)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,1425028:doCalc,[])
}
Add(Label,312020,525,826)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,4447473,336,826)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,3840381:doCalc,[])
}
Add(GlobalVar,1617921,525,756)
{
@Color=65450
Name="C Ц"
link(onValue,6158782:doWork2,[])
}
Add(Hub,14355907,483,707)
{
link(onEvent1,245292:doText,[])
link(onEvent2,1617921:doValue,[(507,720)(507,762)])
}
Add(MathParse,1425028,378,707)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,10951781:doConvert,[])
link(X2,3979818:Caption,[])
link(X3,1955835:Caption,[])
}
Add(GlobalVar,13601916,524,868)
{
@Color=16776960
Name="Mn Ц"
link(onValue,6158782:doWork3,[(591,874)])
}
Add(Hub,9019120,483,826)
{
link(onEvent1,312020:doText,[])
link(onEvent2,13601916:doValue,[(511,839)(511,874)])
}
Add(MathParse,3840381,378,826)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,11604620:doConvert,[])
link(X2,16307632:Caption,[])
link(X3,15754044:Caption,[])
}
Add(Hub,11715060,301,707)
{
link(onEvent1,11514661:doPosition,[])
link(onEvent2,4447473:doPosition,[(325,720)(325,832)])
}
Add(DoData,15063564,252,707)
{
Data=Integer(50)
link(onEventData,11715060:doEvent1,[])
}
Add(ConvertorEx,10951781,434,707)
{
Mode=15
Width=5
Decimals=3
link(onResult,14355907:doEvent1,[])
}
Add(ConvertorEx,11604620,434,826)
{
Mode=15
Width=5
Decimals=3
link(onResult,9019120:doEvent1,[])
}
Add(HubEx,6158782,587,756)
{
Angle=3
}

2. У MathParse в Свойствах есть ResultType. Выбери там Integer и RealToInt долой.
С остальным не разбирался - Много GlobalVar-ов. Одноимённые я крашу в свой цвет.
карма: 25
Немного терпения! Дежурный экстрасенс скоро свяжется с Вами!
0
Ответов: 182
Рейтинг: 14
#34: 2018-08-30 19:39:11 ЛС | профиль | цитата
Tad, так мне всю схему удалить и начинать с вашей? или просто заменить кусок?
карма: 0

0
Главный модератор
Ответов: 2999
Рейтинг: 396
#35: 2018-08-30 20:55:32 ЛС | профиль | цитата
"Вы думаете я за вас буду свою работу делать?"

карма: 6
Дорогу осилит идущий. Install/Update HiAsm.NET
0
Ответов: 182
Рейтинг: 14
#36: 2018-08-30 21:10:02 ЛС | профиль | цитата
Не как нет.
Просто подумал, что глюк какой то, что не вся схема копируется, три раза копировал и вставлял
Tad, а куда хаб прикрутить?
карма: 0

0
Ответов: 182
Рейтинг: 14
#37: 2018-08-31 01:12:18 ЛС | профиль | цитата
У MathParse в свойствах, ResultType-Integer везде не получилось поставить так как перестает работать с дробными вот здесь:
Add(Label,13329120,147,791)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,415275,147,672)
{
Left=35
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(Label,4058693,140,644)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16297211,140,756)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,11081099,280,714)
{
Left=55
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11443055,91,714)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,11400181:doCalc,[])
}
Add(Label,12709963,280,833)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11058569,91,833)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,13599546:doCalc,[])
}
Add(GlobalVar,7817347,280,763)
{
@Color=65450
Name="C Ц"
}
Add(Hub,10730299,238,714)
{
link(onEvent1,11081099:doText,[])
link(onEvent2,7817347:doValue,[(262,727)(262,769)])
}
Add(MathParse,11400181,133,714)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
ResultType=0
link(onResult,10951781:doConvert,[])
link(X2,4058693:Caption,[])
link(X3,415275:Caption,[])
}
Add(GlobalVar,5998413,273,875)
{
@Color=16776960
Name="Mn Ц"
}
Add(Hub,8162950,238,833)
{
link(onEvent1,12709963:doText,[])
link(onEvent2,5998413:doValue,[(266,846)(266,881)])
}
Add(MathParse,13599546,133,833)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
ResultType=0
link(onResult,11604620:doConvert,[])
link(X2,16297211:Caption,[])
link(X3,13329120:Caption,[])
}
Add(ConvertorEx,10951781,189,714)
{
Mode=15
Width=5
Decimals=3
link(onResult,10730299:doEvent1,[])
}
Add(ConvertorEx,11604620,189,833)
{
Mode=15
Width=5
Decimals=3
link(onResult,8162950:doEvent1,[])
}
Add(Hub,13971466,63,714)
{
link(onEvent1,11443055:doPosition,[])
link(onEvent2,11058569:doPosition,[(84,727)(84,839)])
}
Add(DoData,9171354,21,714)
{
Data=Integer(50)
link(onEventData,13971466:doEvent1,[])
}

Вот что уже получается
Не смог понять как красить переменные.
Add(Label,3454046,1666,84)
{
Left=54
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(Label,2598496,1659,77)
{
Left=115
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(MainForm,2953706,7,42)
{
Width=551
Height=399
Color=-16777194
Position=1
link(onCreate,6895129:doEvent1,[])
}
Add(CheckBox,16297602,245,406)
{
Left=2
Top=48
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Кокс"
Point(doColor)
Point(doFont)
link(onCheck,7381917:doEvent1,[])
}
Add(CheckBox,4027255,252,448)
{
Left=2
Top=76
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="FeMn"
Point(doColor)
Point(doFont)
link(onCheck,1083426:doEvent1,[])
}
Add(MultiElement,7853204,84,441)
{
@Hint=#6:Формат|
link(onEvent1,14227662:Cable,[(142,447)(142,377)])
link(onEvent2,1001967:Cable,[(155,454)(155,419)])
link(onEvent3,15553298:Cable,[])
}
BEGIN_SDK
Add(EditMulti,3338469,28,49)
{
EventCount=3
WorkCount=1
Width=643
Height=690
link(doWork1,9992282:doSplit,[(46,55)(46,62)])
}
Add(Font,4691505,182,140)
{
Font=[Arial,11,1,65280,204]
link(onFont,1376853:doWork2,[])
}
Add(Font,15417341,182,98)
{
Font=[Arial,11,1,0,204]
link(onFont,1376853:doWork1,[(228,104)])
}
Add(StrList,5442973,154,189)
{
Strings=#5:65535|8:10789024|
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,4305358:doEvent,[(230,202)(230,237)])
}
Add(IndexToChanel,13242610,133,98)
{
link(onEvent1,15417341:doFont,[])
link(onEvent2,4691505:doFont,[(173,111)(173,146)])
}
Add(Hub,8646046,105,133)
{
link(onEvent1,13242610:doEvent,[(126,139)(126,104)])
link(onEvent2,5442973:doGetString,[(137,146)(137,237)])
}
Add(MultiStrData,9992282,56,56)
{
link(onPart1,777246:doValue,[])
link(onPart2,8646046:doEvent1,[(95,69)(95,139)])
}
Add(Memory,777246,280,56)
{
}
Add(IndexToChanel,10506450,301,140)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire2,[(433,146)(433,174)])
link(onEvent2,3683880:Wire2,[(433,153)(433,216)])
link(onEvent3,13779428:Wire2,[(433,160)(433,265)])
link(Data,14486282:Value,[(307,124)(279,124)(279,180)(244,180)])
link(Index,13624829:Var3,[(314,110)])
}
Add(IndexToChanel,4305358,273,231)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire1,[(419,237)(419,167)])
link(onEvent2,3683880:Wire1,[(419,244)(419,209)])
link(onEvent3,13779428:Wire1,[(419,251)(419,258)])
link(Data,5442973:String,[(279,184)(213,184)(213,250)(181,250)])
link(Index,13624829:Var2,[])
}
Add(GetDataEx,13624829,280,105)
{
link(Data,777246:Value,[])
}
Add(Memory,14486282,238,140)
{
link(onData,10506450:doEvent,[])
}
Add(HubEx,1376853,224,140)
{
link(onEvent,14486282:doValue,[])
}
Add(CableWork,10633978,532,161)
{
link(Cable,3338469:onEvent1,[(608,167)(608,55)])
}
Add(CableWork,3683880,532,203)
{
link(Cable,3338469:onEvent2,[(608,209)(608,62)])
}
Add(CableWork,13779428,532,252)
{
link(Cable,3338469:onEvent3,[(608,258)(608,69)])
}
END_SDK
Add(CableEvent,14227662,168,371)
{
link(Wire1,9595767:doEvent1,[])
link(Wire2,3462522:doEvent1,[(189,384)(189,391)])
}
Add(CableEvent,1001967,168,413)
{
link(Wire1,493886:doEvent1,[])
link(Wire2,5027377:doEvent1,[(189,426)(189,433)])
}
Add(CableEvent,15553298,168,455)
{
link(Wire1,1918681:doEvent1,[])
link(Wire2,3328549:doEvent1,[(189,468)(189,475)])
}
Add(StrCat,5224041,336,364)
{
Str1="0;"
link(onStrCat,14628401:doWork2,[])
}
Add(StrCat,1947115,343,406)
{
Str1="1;"
link(onStrCat,9083665:doWork2,[])
}
Add(StrCat,14537579,350,448)
{
Str1="2;"
link(onStrCat,13913192:doWork2,[])
}
Add(HubEx,14628401,378,364)
{
Angle=3
link(onEvent,7853204:doWork1,[(382,350)(72,350)(72,447)])
}
Add(HubEx,9083665,385,406)
{
Angle=3
link(onEvent,14628401:doWork3,[(389,391)(382,391)])
}
Add(HubEx,13913192,392,448)
{
Angle=3
link(onEvent,9083665:doWork3,[(396,433)(389,433)])
}
Add(Edit,5020035,133,1106)
{
Left=142
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,12660360:doValue,[])
}
Add(Edit,4184594,133,1148)
{
Left=142
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,293551:doValue,[])
}
Add(Edit,12951390,133,1190)
{
Left=142
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="78"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,3372561:doValue,[])
}
Add(Edit,13766560,259,1120)
{
Left=212
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,7615906:doValue,[])
}
Add(Edit,6549760,259,1162)
{
Left=212
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,10812183:doValue,[])
}
Add(Edit,5598161,259,1204)
{
Left=212
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="100"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,1737583:doValue,[])
}
Add(Hub,3462522,196,385)
{
link(onEvent1,2117759:doFont,[(224,391)(224,384)])
}
Add(Hub,9595767,196,371)
{
link(onEvent1,2117759:doColor,[])
}
Add(Hub,5027377,196,427)
{
link(onEvent1,16297602:doFont,[(224,433)(224,426)])
}
Add(Hub,493886,196,413)
{
link(onEvent1,16297602:doColor,[])
}
Add(Hub,3328549,196,469)
{
link(onEvent1,4027255:doFont,[(224,475)(224,468)])
}
Add(Hub,1918681,196,455)
{
link(onEvent1,4027255:doColor,[])
}
Add(UpDown,5371857,259,56)
{
Left=287
Top=20
Width=26
Height=290
Ctl3D=0
Max=200
Min=1
Position=100
link(onPosition,14614441:doText,[(306,62)(306,43)(247,43)(247,111)])
}
Add(DoData,14249546,168,56)
{
Data=Integer(100)
link(onEventData,115852:doWork2,[])
}
Add(Edit,14614441,259,105)
{
Left=369
Top=319
Width=105
Height=40
Font=[Arial,24,1,0,204]
WinStyle=3
Text=""
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,15177914:In,[])
link(onEnter,115852:doWork3,[(302,118)(302,97)(221,97)])
link(Str,5371857:Position,[])
}
Add(Hub,7210031,693,420)
{
InCount=4
OutCount=6
link(onEvent1,15807324:doData,[(726,426)(726,223)(246,223)(246,167)])
link(onEvent2,3312741:doCompare,[])
link(onEvent3,14543411:doCompare,[(749,440)(749,461)])
link(onEvent4,8882451:doCompare,[(719,447)(719,538)])
link(onEvent5,1053411:doWork1,[(1173,454)])
}
Add(Hub,12740869,630,462)
{
OutCount=4
link(onEvent1,1053411:doWork3,[(1173,468)])
link(onEvent2,9116316:doWork3,[(1551,475)])
link(onEvent3,3735772:doWork2,[(901,482)(901,552)])
link(onEvent4,7210031:doEvent3,[(668,489)(668,440)])
}
Add(MultiSetParam,5690489,1330,476)
{
Parameters=#9:Эл.Стр-ка|4:Кокс|4:FeMn|0:|
Count=1
OutType=1
link(onSet1,5511638:doValue,[])
}
Add(GetIndexData,2855857,1428,420)
{
Count=3
link(Data1,9078381:Var,[])
link(Data2,11326893:Var,[])
link(Data3,11011836:Var,[])
}
Add(For,12362648,1246,469)
{
End=10
link(onEvent,6486535:doEvent1,[])
}
Add(Hub,6486535,1302,469)
{
link(onEvent1,2855857:doIndex,[(1325,475)(1325,426)])
link(onEvent2,5690489:doSet,[])
}
Add(HubEx,1053411,1169,469)
{
link(onEvent,12362648:doFor,[])
}
Add(LineBreakEx,3238583,413,497)
{
Type=2
}
Add(LineBreakEx,15170414,1680,462)
{
Type=3
link(_Data,4246749:Var3,[(1686,425)])
}
Add(MST_RowAction,4991091,469,525)
{
MSTControl="tabl"
}
Add(MST_Clear,2539529,1596,371)
{
MSTControl="tabl"
}
Add(MT_MTArrayRW,5050759,413,525)
{
link(onRead,4991091:doRowAction,[])
link(Array,3238583:getVar,[])
link(Index,2408786:Index,[(426,514)(455,514)(455,569)(307,569)])
}
Add(If_else,5621254,350,525)
{
Op2=Integer(1)
link(onTrue,5050759:doRead,[])
}
Add(MT_AddData,15248216,1421,476)
{
link(onAdd,3355436:doAdd,[])
link(Data1,5511638:Value,[(1427,465)(1412,465)(1412,520)(1378,520)])
link(Data2,2855857:Var,[])
}
Add(MT_MTArray,6247255,1638,364)
{
}
Add(MT_MTArrayRW,3355436,1638,462)
{
link(Array,4246749:Var2,[])
link(Index,12362648:Position,[(1651,450)(1599,450)(1599,528)(1252,528)])
}
Add(GetDataEx,4246749,1638,420)
{
link(Data,6247255:Array,[])
}
Add(Memory,5511638,1372,476)
{
link(onData,15248216:doAdd,[])
}
Add(Hub,9579955,1526,364)
{
OutCount=5
link(onEvent1,6247255:doClear,[])
link(onEvent2,9116316:doWork2,[])
link(onEvent3,1053411:doWork2,[(1557,384)(1557,534)(1183,534)(1183,475)])
link(onEvent4,3735772:doWork1,[(1573,391)(1573,541)(1271,541)])
link(onEvent5,5198787:doEvent1,[(1579,398)(1579,2)(415,2)(415,111)])
}
Add(HubEx,3735772,1267,546)
{
Angle=1
link(onEvent,5755906:doAdd,[(1271,598)(219,598)(219,531)])
}
Add(HubEx,9116316,1547,371)
{
link(onEvent,2539529:doClear,[])
}
Add(ChanelToIndex,5120309,497,406)
{
Count=3
link(onIndex,12740869:doEvent1,[(586,412)(586,468)])
}
Add(MT_Enum,2408786,294,525)
{
link(onItem,5621254:doCompare,[])
}
Add(MT_AddData,5755906,245,525)
{
Count=3
link(onAdd,2408786:doEnum,[])
link(Data1,9603529:Var2,[(251,461)(244,461)])
link(Data2,13468541:Var2,[(258,509)(251,509)])
link(Data3,585070:Var2,[(265,503)(258,503)])
}
Add(Hub,7381917,294,406)
{
link(onEvent1,1947115:doStrCat,[])
link(onEvent2,5120309:doWork2,[])
}
Add(Hub,9225181,287,364)
{
link(onEvent1,5224041:doStrCat,[])
link(onEvent2,5120309:doWork1,[(413,377)(413,412)])
}
Add(Hub,1083426,301,448)
{
link(onEvent1,14537579:doStrCat,[])
link(onEvent2,5120309:doWork3,[(420,461)(420,426)])
}
Add(MTStrTbl,13946322,518,525)
{
Left=313
Top=20
Width=225
Height=290
Color=0
Font=[Arial,14,1,65280,204]
WinStyle=1
Name="tabl"
Columns=#12:Материал=120|12:кг./метр=100|
ColumnWidth=90
Style=4
ChangeWidth=1
}
Add(HubEx,115852,217,56)
{
link(onEvent,5371857:doPosition,[])
}
Add(Label,13320999,1652,70)
{
Left=35
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,9024548,1645,63)
{
Left=94
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6007472,1638,56)
{
Left=10
Top=190
Width=25
Height=20
Color=10987519
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="max"
AutoSize=1
Alignment=2
}
Add(Label,9637448,1631,49)
{
Left=11
Top=240
Width=25
Height=20
Color=16764057
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="min"
AutoSize=1
Alignment=2
}
Add(GlobalVar,682212,364,161)
{
Name="ст1"
link(onValue,10287995:doEvent1,[])
}
Add(DoData,15807324,259,161)
{
Data=Integer(100)
link(onEventData,2189399:doOperation,[])
link(Data,14614441:Text,[])
}
Add(Math,2189399,315,161)
{
OpType=2
Op2=1000
link(onResult,682212:doValue,[])
}
Add(MathParse,9740776,1106,280)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,11730515:doValue,[])
link(X1,11773117:Var,[])
link(X2,8190836:Var,[(1119,234)(1112,234)])
link(X3,7488355:Var,[(1126,245)(1112,245)])
link(X4,11574272:Var,[(1133,256)(1112,256)])
link(X5,646101:Var,[(1140,266)(1112,266)])
link(X6,11149645:Var,[(1147,276)(1112,276)])
}
Add(GlobalVar,11773117,1106,154)
{
Name="ст1"
}
Add(GlobalVar,8190836,1106,175)
{
Name="C1"
}
Add(GlobalVar,7488355,1106,196)
{
Name="C Ц"
}
Add(GlobalVar,11574272,1106,217)
{
Name="кокос С"
}
Add(GlobalVar,646101,1106,238)
{
Name="коккс У"
}
Add(GlobalVar,11149645,1106,259)
{
Name="кокс ст2"
}
Add(Hub,5198787,420,105)
{
OutCount=3
link(onEvent1,10165587:doCalc,[(466,111)(466,69)])
link(onEvent2,1544459:doCalc,[(466,118)(466,153)])
link(onEvent3,5140318:doCalc,[(466,125)(466,251)])
}
Add(GlobalVar,10406390,539,63)
{
Name="стр-ка ст2"
}
Add(Label,12685144,1624,42)
{
Left=35
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,14524777,1617,35)
{
Left=95
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6330024,1610,28)
{
Left=-1
Top=300
Width=36
Height=20
Color=9486586
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="проба"
AutoSize=1
Alignment=2
}
Add(GlobalVar,8439641,203,1015)
{
Name="C1"
link(onValue,11715060:doEvent3,[(338,1021)(338,832)])
}
Add(DoData,14468035,147,1015)
{
link(onEventData,12344338:doWork2,[])
link(Data,14875724:Text,[])
}
Add(Hub,6895129,56,56)
{
OutCount=5
link(onEvent1,14249546:doData,[])
link(onEvent2,13966058:doEvent1,[(79,69)(79,123)(2,123)(2,1014)])
}
Add(MathParse,7771489,1183,238)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,9802522:doValue,[])
link(X1,14765544:Var,[])
link(X2,6065423:Var,[(1196,192)(1189,192)])
link(X3,11865958:Var,[(1203,203)(1189,203)])
link(X4,3442056:Var,[(1210,214)(1189,214)])
link(X5,4162297:Var,[(1217,224)(1189,224)])
link(X6,15623867:Var,[(1224,234)(1189,234)])
}
Add(GlobalVar,14765544,1183,112)
{
Name="ст1"
}
Add(GlobalVar,6065423,1183,133)
{
Name="C1"
}
Add(GlobalVar,11865958,1183,154)
{
Name="C Ц"
}
Add(GlobalVar,15623867,1183,217)
{
Name="стр-ка ст2"
}
Add(GlobalVar,293551,175,1148)
{
Name="кокос С"
Data=Integer(90)
link(onValue,11715060:doEvent6,[(381,1154)(381,853)])
}
Add(GlobalVar,10812183,301,1162)
{
Name="коккс У"
Data=Integer(90)
link(onValue,11715060:doEvent9,[(381,1168)(381,874)])
}
Add(GlobalVar,12660360,175,1106)
{
Name="стр-ка С"
Data=Integer(98)
link(onValue,11715060:doEvent5,[(381,1112)(381,846)])
}
Add(GlobalVar,7615906,301,1120)
{
Name="стр-ка У"
Data=Integer(98)
link(onValue,11715060:doEvent8,[(381,1126)(381,867)])
}
Add(GlobalVar,3442056,1183,175)
{
Name="стр-ка С"
}
Add(GlobalVar,4162297,1183,196)
{
Name="стр-ка У"
}
Add(GlobalVar,11326893,1435,280)
{
Name="кокс кг"
link(onValue,11674361:doWork2,[])
}
Add(GlobalVar,9078381,1428,238)
{
Name="стр-ка кг"
link(onValue,11674361:doWork1,[(1509,244)])
}
Add(GlobalVar,10120483,504,14)
{
Name="кокс кг"
}
Add(GlobalVar,4239584,504,98)
{
Name="стр-ка кг"
}
Add(GlobalVar,9296197,539,147)
{
Name="кокс ст2"
}
Add(HubEx,11674361,1505,280)
{
Angle=1
link(onEvent,6156699:doWork1,[])
}
Add(If_else,3312741,728,427)
{
Op2=Integer(1)
link(onTrue,1766645:doTimer,[(874,433)(874,244)])
link(onFalse,9802522:doClear,[(1285,440)(1285,251)])
link(Op1,9603529:Var3,[(734,404)])
}
Add(Memory,9802522,1295,238)
{
Default=Integer(0)
link(onData,9078381:doValue,[])
}
Add(Memory,11730515,1232,280)
{
Default=Integer(0)
link(onData,11326893:doValue,[])
}
Add(If_else,14543411,784,455)
{
Op2=Integer(1)
link(onTrue,11149677:doTimer,[(902,461)(902,286)])
link(onFalse,11730515:doClear,[(1224,468)(1224,293)])
link(Op1,13468541:Var3,[(790,446)])
}
Add(CheckBox,2117759,238,364)
{
Left=2
Top=20
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Эл.Стр-ка"
Point(doColor)
Point(doFont)
link(onCheck,9225181:doEvent1,[])
}
Add(GetDataEx,9603529,238,399)
{
link(Data,2117759:Checked,[])
}
Add(GetDataEx,13468541,245,441)
{
link(Data,16297602:Checked,[])
}
Add(Label,13988717,1603,21)
{
Left=107
Top=20
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,16373010,1596,14)
{
Left=107
Top=48
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,6840745,1589,7)
{
Left=107
Top=76
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="Mn"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(GlobalVar,3372561,175,1190)
{
Name="FeMn С"
Data=Integer(78)
link(onValue,11715060:doEvent7,[(381,1196)(381,860)])
}
Add(GlobalVar,1737583,301,1204)
{
Name="FeMn У"
Data=Integer(100)
link(onValue,11715060:doEvent10,[(381,1210)(381,881)])
}
Add(MathParse,3871530,1029,322)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,2181564:doValue,[])
link(X1,11924034:Var,[])
link(X2,7368704:Var,[(1042,276)(1035,276)])
link(X3,4269061:Var,[(1049,287)(1035,287)])
link(X4,11752645:Var,[(1056,298)(1035,298)])
link(X5,9955313:Var,[(1063,308)(1035,308)])
link(X6,16182751:Var,[(1070,318)(1035,318)])
}
Add(GlobalVar,11924034,1029,196)
{
Name="ст1"
}
Add(GlobalVar,7368704,1029,217)
{
Name="Mn1"
}
Add(If_else,8882451,840,532)
{
Op2=Integer(1)
link(onTrue,7150979:doTimer,[(930,538)(930,328)])
link(onFalse,2181564:doClear,[(1145,545)(1145,335)])
link(Op1,585070:Var3,[(846,498)(485,498)(485,488)])
}
Add(Memory,2181564,1155,322)
{
Default=Integer(0)
link(onData,11011836:doValue,[])
}
Add(GlobalVar,11011836,1442,322)
{
Name="FeMn кг"
link(onValue,6156699:doWork2,[])
}
Add(GlobalVar,9955313,1029,280)
{
Name="FeMn У"
}
Add(GlobalVar,11752645,1029,259)
{
Name="FeMn С"
}
Add(HubEx,6156699,1505,322)
{
Angle=1
link(onEvent,9579955:doEvent1,[(1509,370)])
}
Add(GlobalVar,4669771,511,35)
{
Name="FeMn кг"
}
Add(MathParse,10165587,497,63)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,10406390:doValue,[])
link(X1,11888295:Value,[(503,58)(461,58)])
link(X2,10120483:Var,[])
link(X3,4669771:Var,[])
}
Add(MathParse,1544459,497,147)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,9296197:doValue,[])
link(X1,2471154:Value,[(503,139)(461,139)])
link(X2,4239584:Var,[])
link(X3,16614572:Var,[])
}
Add(GlobalVar,16614572,511,119)
{
Name="FeMn кг"
}
Add(GlobalVar,11831076,497,196)
{
Name="кокс кг"
}
Add(MathParse,5140318,497,245)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,6439411:doValue,[])
link(X1,7256806:Value,[(503,237)(461,237)])
link(X2,11831076:Var,[(510,231)(503,231)])
link(X3,2143183:Var,[])
}
Add(GlobalVar,6439411,539,245)
{
Name="FeMn ст2"
}
Add(GlobalVar,2143183,511,217)
{
Name="стр-ка кг"
}
Add(GlobalVar,16182751,1029,301)
{
Name="FeMn ст2"
}
Add(GlobalVar,4269061,1029,238)
{
Name="Mn Ц"
}
Add(GlobalVar,1369573,329,1022)
{
Name="Mn1"
link(onValue,11715060:doEvent4,[(381,1028)(381,839)])
}
Add(DoData,10075898,252,1022)
{
link(onEventData,12715042:doWork2,[])
link(Data,8147977:Text,[])
}
Add(Hub,13966058,14,1008)
{
OutCount=3
link(onEvent1,9171354:doData,[(41,1014)(41,757)(9,757)(9,720)])
link(onEvent2,14468035:doData,[])
link(onEvent3,10075898:doData,[])
}
Add(Memory,11888295,455,21)
{
}
Add(Hub,10287995,413,161)
{
OutCount=3
link(onEvent1,11888295:doValue,[(441,167)(441,27)])
link(onEvent2,2471154:doValue,[(441,174)(441,104)])
link(onEvent3,7256806:doValue,[(441,181)(441,202)])
}
Add(Memory,2471154,455,98)
{
}
Add(Memory,7256806,455,196)
{
}
Add(Timer,7150979,987,322)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,3871530:doCalc,[])
}
Add(Timer,11149677,987,280)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,9740776:doCalc,[])
}
Add(Timer,1766645,987,238)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,7771489:doCalc,[])
}
Add(Edit,14875724,147,945)
{
Left=35
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12344338:doWork1,[(193,951)])
}
Add(Edit,8147977,252,945)
{
Left=95
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12715042:doWork1,[(305,951)])
}
Add(GetDataEx,585070,252,483)
{
link(Data,4027255:Checked,[])
}
Add(Label,13329120,147,791)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,415275,147,672)
{
Left=35
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(Label,4058693,140,644)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16297211,140,756)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,11081099,280,714)
{
Left=55
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11443055,91,714)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,11400181:doCalc,[])
}
Add(Label,12709963,280,833)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11058569,91,833)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,13599546:doCalc,[])
}
Add(GlobalVar,7817347,280,763)
{
@Color=65450
Name="C Ц"
link(onValue,11715060:doEvent1,[(338,769)(338,818)])
}
Add(Hub,10730299,238,714)
{
link(onEvent1,11081099:doText,[])
link(onEvent2,7817347:doValue,[(262,727)(262,769)])
}
Add(MathParse,11400181,133,714)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,10951781:doConvert,[])
link(X2,4058693:Caption,[])
link(X3,415275:Caption,[])
}
Add(GlobalVar,5998413,273,875)
{
@Color=16776960
Name="Mn Ц"
link(onValue,11715060:doEvent2,[(338,881)(338,825)])
}
Add(Hub,8162950,238,833)
{
link(onEvent1,12709963:doText,[])
link(onEvent2,5998413:doValue,[(266,846)(266,881)])
}
Add(MathParse,13599546,133,833)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,11604620:doConvert,[])
link(X2,16297211:Caption,[])
link(X3,13329120:Caption,[])
}
Add(ConvertorEx,10951781,189,714)
{
Mode=15
Width=5
Decimals=3
link(onResult,10730299:doEvent1,[])
}
Add(ConvertorEx,11604620,189,833)
{
Mode=15
Width=5
Decimals=3
link(onResult,8162950:doEvent1,[])
}
Add(Hub,11715060,392,812)
{
InCount=10
OutCount=1
link(onEvent1,14726024:In,[])
}
Add(LineBreak,8800997,595,427)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent2,[])
Primary=[14726024,-175,385]
}
Add(Hub,13971466,63,714)
{
link(onEvent1,11443055:doPosition,[])
link(onEvent2,11058569:doPosition,[(84,727)(84,839)])
}
Add(DoData,9171354,21,714)
{
Data=Integer(50)
link(onEventData,13971466:doEvent1,[])
}
Add(HubEx,12344338,189,1015)
{
link(onEvent,8439641:doValue,[])
}
Add(HubEx,12715042,301,1022)
{
link(onEvent,1369573:doValue,[])
}
Add(LineBreak,6736418,595,406)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent1,[(678,412)(678,426)])
Primary=[15177914,-280,-301]
}


Редактировалось 3 раз(а), последний 2018-08-31 01:22:41
карма: 0

0
Ответов: 182
Рейтинг: 14
#38: 2018-08-31 09:40:39 ЛС | профиль | цитата
По ResultType, понял что где дробные числа менять не нужно
карма: 0

0
Ответов: 182
Рейтинг: 14
#39: 2018-08-31 13:15:32 ЛС | профиль | цитата
Нашел как переменные красить
карма: 0

0
Ответов: 182
Рейтинг: 14
#40: 2018-08-31 15:22:50 ЛС | профиль | цитата
Скажите как можно сделать циклические вычисления.

Add(Label,3454046,84,84)
{
Left=54
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(Label,2598496,77,77)
{
Left=115
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(MainForm,2953706,259,35)
{
Width=551
Height=399
Color=-16777194
Position=1
link(onCreate,6895129:doEvent1,[])
}
Add(CheckBox,16297602,245,413)
{
Left=2
Top=48
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Кокс"
Point(doColor)
Point(doFont)
link(onCheck,7381917:doEvent1,[])
}
Add(CheckBox,4027255,252,483)
{
Left=2
Top=76
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="FeMn"
Point(doColor)
Point(doFont)
link(onCheck,1083426:doEvent1,[])
}
Add(MultiElement,7853204,84,441)
{
@Hint=#6:Формат|
link(onEvent1,14227662:Cable,[(142,447)(142,349)])
link(onEvent2,1001967:Cable,[(155,454)(155,419)])
link(onEvent3,15553298:Cable,[(142,461)(142,496)])
}
BEGIN_SDK
Add(EditMulti,3338469,28,49)
{
EventCount=3
WorkCount=1
Width=643
Height=690
link(doWork1,9992282:doSplit,[(46,55)(46,62)])
}
Add(Font,4691505,182,140)
{
Font=[Arial,11,1,65280,204]
link(onFont,1376853:doWork2,[])
}
Add(Font,15417341,182,98)
{
Font=[Arial,11,1,0,204]
link(onFont,1376853:doWork1,[(228,104)])
}
Add(StrList,5442973,154,189)
{
Strings=#5:65535|8:10789024|
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,4305358:doEvent,[(230,202)(230,237)])
}
Add(IndexToChanel,13242610,133,98)
{
link(onEvent1,15417341:doFont,[])
link(onEvent2,4691505:doFont,[(173,111)(173,146)])
}
Add(Hub,8646046,105,133)
{
link(onEvent1,13242610:doEvent,[(126,139)(126,104)])
link(onEvent2,5442973:doGetString,[(137,146)(137,237)])
}
Add(MultiStrData,9992282,56,56)
{
link(onPart1,777246:doValue,[])
link(onPart2,8646046:doEvent1,[(95,69)(95,139)])
}
Add(Memory,777246,280,56)
{
}
Add(IndexToChanel,10506450,301,140)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire2,[(433,146)(433,174)])
link(onEvent2,3683880:Wire2,[(433,153)(433,216)])
link(onEvent3,13779428:Wire2,[(433,160)(433,265)])
link(Data,14486282:Value,[(307,124)(279,124)(279,180)(244,180)])
link(Index,13624829:Var3,[(314,110)])
}
Add(IndexToChanel,4305358,273,231)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire1,[(419,237)(419,167)])
link(onEvent2,3683880:Wire1,[(419,244)(419,209)])
link(onEvent3,13779428:Wire1,[(419,251)(419,258)])
link(Data,5442973:String,[(279,184)(213,184)(213,250)(181,250)])
link(Index,13624829:Var2,[])
}
Add(GetDataEx,13624829,280,105)
{
link(Data,777246:Value,[])
}
Add(Memory,14486282,238,140)
{
link(onData,10506450:doEvent,[])
}
Add(HubEx,1376853,224,140)
{
link(onEvent,14486282:doValue,[])
}
Add(CableWork,10633978,532,161)
{
link(Cable,3338469:onEvent1,[(608,167)(608,55)])
}
Add(CableWork,3683880,532,203)
{
link(Cable,3338469:onEvent2,[(608,209)(608,62)])
}
Add(CableWork,13779428,532,252)
{
link(Cable,3338469:onEvent3,[(608,258)(608,69)])
}
END_SDK
Add(CableEvent,14227662,168,343)
{
link(Wire1,9595767:doEvent1,[])
link(Wire2,3462522:doEvent1,[(189,356)(189,363)])
}
Add(CableEvent,1001967,168,413)
{
link(Wire1,493886:doEvent1,[(189,419)(189,426)])
link(Wire2,5027377:doEvent1,[(189,426)(189,440)])
}
Add(CableEvent,15553298,168,490)
{
link(Wire1,1918681:doEvent1,[])
link(Wire2,3328549:doEvent1,[(189,503)(189,510)])
}
Add(StrCat,5224041,336,336)
{
Str1="0;"
link(onStrCat,14628401:doWork2,[])
}
Add(StrCat,1947115,343,413)
{
Str1="1;"
link(onStrCat,9083665:doWork2,[])
}
Add(StrCat,14537579,350,483)
{
Str1="2;"
link(onStrCat,13913192:doWork2,[])
}
Add(HubEx,14628401,378,336)
{
Angle=3
link(onEvent,7853204:doWork1,[(382,326)(72,326)(72,447)])
}
Add(HubEx,9083665,385,413)
{
Angle=3
link(onEvent,14628401:doWork3,[(389,391)(382,391)])
}
Add(HubEx,13913192,392,483)
{
Angle=3
link(onEvent,9083665:doWork3,[(396,433)(389,433)])
}
Add(Edit,5020035,133,1323)
{
Left=142
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,12660360:doValue,[])
}
Add(Edit,4184594,133,1365)
{
Left=142
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,293551:doValue,[])
}
Add(Edit,12951390,133,1407)
{
Left=142
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="78"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,3372561:doValue,[])
}
Add(Edit,13766560,259,1337)
{
Left=212
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,7615906:doValue,[])
}
Add(Edit,6549760,259,1379)
{
Left=212
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,10812183:doValue,[])
}
Add(Edit,5598161,259,1421)
{
Left=212
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="100"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,1737583:doValue,[])
}
Add(Hub,3462522,196,357)
{
link(onEvent1,2117759:doFont,[(224,363)(224,356)])
}
Add(Hub,9595767,196,343)
{
link(onEvent1,2117759:doColor,[])
}
Add(Hub,5027377,196,434)
{
link(onEvent1,16297602:doFont,[(224,440)(224,433)])
}
Add(Hub,493886,196,420)
{
link(onEvent1,16297602:doColor,[])
}
Add(Hub,3328549,196,504)
{
link(onEvent1,4027255:doFont,[(224,510)(224,503)])
}
Add(Hub,1918681,196,490)
{
link(onEvent1,4027255:doColor,[])
}
Add(UpDown,5371857,511,49)
{
Left=287
Top=20
Width=26
Height=290
Ctl3D=0
Max=200
Min=1
Position=100
link(onPosition,14614441:doText,[(558,55)(558,36)(499,36)(499,104)])
}
Add(DoData,14249546,420,49)
{
Data=Integer(100)
link(onEventData,115852:doWork2,[])
}
Add(Edit,14614441,511,98)
{
Left=369
Top=319
Width=105
Height=40
Font=[Arial,24,1,0,204]
WinStyle=3
Text=""
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,15177914:In,[])
link(onEnter,115852:doWork3,[(554,111)(554,90)(473,90)])
link(Str,5371857:Position,[])
}
Add(Hub,7210031,763,301)
{
InCount=3
OutCount=4
link(onEvent1,6854205:In,[(784,307)(784,293)])
link(onEvent2,12270732:In,[])
link(onEvent3,11777822:In,[(784,321)(784,335)])
link(onEvent4,13211375:In,[(784,328)(784,356)])
}
Add(Hub,12740869,630,462)
{
OutCount=3
link(onEvent1,7210031:doEvent3,[(704,468)(704,321)])
link(onEvent2,6653746:doWork2,[(912,475)(912,594)])
link(onEvent3,3735772:doWork2,[(901,482)(901,790)])
}
Add(MultiSetParam,5690489,1330,714)
{
Parameters=#9:Эл.Стр-ка|4:Кокс|4:FeMn|0:|
Count=1
OutType=1
link(onSet1,5511638:doValue,[])
}
Add(GetIndexData,2855857,1428,658)
{
Count=3
link(Data1,3711309:Var,[])
link(Data2,2455289:Var,[])
link(Data3,13429284:Var,[])
}
Add(For,12362648,1246,707)
{
End=10
link(onEvent,6486535:doEvent1,[])
}
Add(Hub,6486535,1302,707)
{
link(onEvent1,2855857:doIndex,[(1325,713)(1325,664)])
link(onEvent2,5690489:doSet,[])
}
Add(LineBreakEx,3238583,413,770)
{
Type=2
}
Add(LineBreakEx,15170414,1806,700)
{
Type=3
link(_Data,12639502:Var3,[(1812,656)])
}
Add(MST_RowAction,4991091,469,798)
{
MSTControl="tabl"
}
Add(MST_Clear,2539529,1722,609)
{
MSTControl="tabl"
}
Add(MT_MTArrayRW,5050759,413,798)
{
link(onRead,4991091:doRowAction,[])
link(Array,3238583:getVar,[])
link(Index,2408786:Index,[(426,787)(455,787)(455,842)(307,842)])
}
Add(If_else,5621254,350,798)
{
Op2=Integer(1)
link(onTrue,5050759:doRead,[])
}
Add(MT_AddData,15248216,1421,714)
{
link(onAdd,3355436:doAdd,[])
link(Data1,5511638:Value,[(1427,703)(1412,703)(1412,758)(1378,758)])
link(Data2,2855857:Var,[])
}
Add(MT_MTArray,6247255,1764,595)
{
}
Add(MT_MTArrayRW,3355436,1764,700)
{
link(Array,12639502:Var2,[])
link(Index,12362648:Position,[(1777,688)(1599,688)(1599,766)(1252,766)])
}
Add(Memory,5511638,1372,714)
{
link(onData,15248216:doAdd,[])
}
Add(Hub,9579955,1645,595)
{
OutCount=5
link(onEvent1,6247255:doClear,[])
link(onEvent2,2539529:doClear,[(1694,608)(1694,615)])
link(onEvent3,4956049:doWork1,[(1689,615)(1689,591)])
link(onEvent4,3735772:doWork1,[(1695,622)(1695,779)(1271,779)])
link(onEvent5,7338725:In,[(1673,629)(1673,636)])
}
Add(HubEx,3735772,1267,784)
{
Angle=1
link(onEvent,5755906:doAdd,[(1271,860)(223,860)(223,804)])
}
Add(ChanelToIndex,5120309,497,413)
{
Count=3
link(onIndex,12740869:doEvent1,[(586,419)(586,468)])
}
Add(MT_Enum,2408786,294,798)
{
link(onItem,5621254:doCompare,[])
}
Add(MT_AddData,5755906,238,798)
{
Count=3
link(onAdd,2408786:doEnum,[])
link(Data1,11272390:Var2,[])
link(Data2,11898620:Var2,[])
link(Data3,12820211:Var2,[])
}
Add(Hub,7381917,294,413)
{
link(onEvent1,1947115:doStrCat,[])
link(onEvent2,5120309:doWork2,[])
}
Add(Hub,9225181,287,336)
{
link(onEvent1,5224041:doStrCat,[])
link(onEvent2,5120309:doWork1,[(413,349)(413,419)])
}
Add(Hub,1083426,301,483)
{
link(onEvent1,14537579:doStrCat,[])
link(onEvent2,5120309:doWork3,[(420,496)(420,433)])
}
Add(MTStrTbl,13946322,518,798)
{
Left=313
Top=20
Width=225
Height=290
Color=0
Font=[Arial,14,1,65280,204]
WinStyle=1
Name="tabl"
Columns=#12:Материал=120|12:кг./метр=100|
ColumnWidth=90
Style=4
ChangeWidth=1
}
Add(HubEx,115852,469,49)
{
link(onEvent,5371857:doPosition,[])
}
Add(Label,13320999,70,70)
{
Left=35
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,9024548,63,63)
{
Left=94
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6007472,56,56)
{
Left=10
Top=190
Width=25
Height=20
Color=10987519
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="max"
AutoSize=1
Alignment=2
}
Add(Label,9637448,49,49)
{
Left=11
Top=240
Width=25
Height=20
Color=16764057
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="min"
AutoSize=1
Alignment=2
}
Add(GlobalVar,682212,616,154)
{
Name="ст1"
link(onValue,5667282:doEvent1,[])
}
Add(DoData,15807324,511,154)
{
Data=Integer(100)
link(onEventData,2189399:doOperation,[])
link(Data,14614441:Text,[])
}
Add(Math,2189399,567,154)
{
OpType=2
Op2=1000
link(onResult,682212:doValue,[])
}
Add(Label,12685144,42,42)
{
Left=35
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,14524777,35,35)
{
Left=95
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6330024,28,28)
{
Left=-1
Top=300
Width=36
Height=20
Color=9486586
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="проба"
AutoSize=1
Alignment=2
}
Add(GlobalVar,8439641,203,1232)
{
Name="C1"
link(onValue,11715060:doEvent3,[(338,1238)(338,1049)])
}
Add(DoData,14468035,147,1232)
{
link(onEventData,12344338:doWork2,[])
link(Data,14875724:Text,[])
}
Add(Hub,6895129,308,49)
{
link(onEvent1,14249546:doData,[])
link(onEvent2,13966058:doEvent1,[(352,62)(352,259)(2,259)(2,1231)])
}
Add(GlobalVar,293551,175,1365)
{
Name="кокс С"
Data=Integer(90)
link(onValue,11715060:doEvent6,[(381,1371)(381,1070)])
}
Add(GlobalVar,10812183,301,1379)
{
Name="кокс У"
Data=Integer(90)
link(onValue,11715060:doEvent9,[(381,1385)(381,1091)])
}
Add(GlobalVar,12660360,175,1323)
{
Name="стр-ка С"
Data=Integer(98)
link(onValue,11715060:doEvent5,[(381,1329)(381,1063)])
}
Add(GlobalVar,7615906,301,1337)
{
Name="стр-ка У"
Data=Integer(98)
link(onValue,11715060:doEvent8,[(381,1343)(381,1084)])
}
Add(CheckBox,2117759,238,336)
{
Left=2
Top=20
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Эл.Стр-ка"
Point(doColor)
Point(doFont)
link(onCheck,9225181:doEvent1,[])
}
Add(Label,13988717,21,21)
{
Left=107
Top=20
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,16373010,14,14)
{
Left=107
Top=48
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,6840745,7,7)
{
Left=107
Top=76
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="Mn"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(GlobalVar,3372561,175,1407)
{
Name="FeMn С"
Data=Integer(78)
link(onValue,11715060:doEvent7,[(381,1413)(381,1077)])
}
Add(GlobalVar,1737583,301,1421)
{
Name="FeMn У"
Data=Integer(100)
link(onValue,11715060:doEvent10,[(381,1427)(381,1098)])
}
Add(GlobalVar,1369573,329,1239)
{
Name="Mn1"
link(onValue,11715060:doEvent4,[(381,1245)(381,1056)])
}
Add(DoData,10075898,252,1239)
{
link(onEventData,12715042:doWork2,[])
link(Data,8147977:Text,[])
}
Add(Hub,13966058,14,1225)
{
OutCount=3
link(onEvent1,9171354:doData,[(41,1231)(41,974)(9,974)(9,937)])
link(onEvent2,14468035:doData,[])
link(onEvent3,10075898:doData,[])
}
Add(Edit,14875724,147,1162)
{
Left=35
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12344338:doWork1,[(193,1168)])
}
Add(Edit,8147977,252,1162)
{
Left=95
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12715042:doWork1,[(305,1168)])
}
Add(Label,13329120,147,1008)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,415275,147,889)
{
Left=35
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(Label,4058693,140,861)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16297211,140,973)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,11081099,280,931)
{
Left=55
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11443055,91,931)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,11400181:doCalc,[])
}
Add(Label,12709963,280,1050)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11058569,91,1050)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,13599546:doCalc,[])
}
Add(GlobalVar,7817347,280,980)
{
@Color=65450
Name="C Ц"
link(onValue,11715060:doEvent1,[(338,986)(338,1035)])
}
Add(Hub,10730299,238,931)
{
link(onEvent1,11081099:doText,[])
link(onEvent2,7817347:doValue,[(262,944)(262,986)])
}
Add(MathParse,11400181,133,931)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,10951781:doConvert,[])
link(X2,4058693:Caption,[])
link(X3,415275:Caption,[])
}
Add(GlobalVar,5998413,273,1092)
{
@Color=16776960
Name="Mn Ц"
link(onValue,11715060:doEvent2,[(338,1098)(338,1042)])
}
Add(Hub,8162950,238,1050)
{
link(onEvent1,12709963:doText,[])
link(onEvent2,5998413:doValue,[(266,1063)(266,1098)])
}
Add(MathParse,13599546,133,1050)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,11604620:doConvert,[])
link(X2,16297211:Caption,[])
link(X3,13329120:Caption,[])
}
Add(ConvertorEx,10951781,189,931)
{
Mode=15
Width=5
Decimals=3
link(onResult,10730299:doEvent1,[])
}
Add(ConvertorEx,11604620,189,1050)
{
Mode=15
Width=5
Decimals=3
link(onResult,8162950:doEvent1,[])
}
Add(Hub,11715060,392,1029)
{
InCount=10
OutCount=1
link(onEvent1,14726024:In,[])
}
Add(LineBreak,3066510,679,287)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent1,[(756,293)(756,307)])
Primary=[14726024,-259,742]
}
Add(Hub,13971466,63,931)
{
link(onEvent1,11443055:doPosition,[])
link(onEvent2,11058569:doPosition,[(84,944)(84,1056)])
}
Add(DoData,9171354,21,931)
{
Data=Integer(50)
link(onEventData,13971466:doEvent1,[])
}
Add(HubEx,12344338,189,1232)
{
link(onEvent,8439641:doValue,[])
}
Add(HubEx,12715042,301,1239)
{
link(onEvent,1369573:doValue,[])
}
Add(LineBreak,10981110,679,301)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent2,[(756,307)(756,314)])
Primary=[15177914,-119,-203]
}
Add(HubEx,4956049,1176,588)
{
Angle=1
link(onEvent,6653746:doWork3,[])
}
Add(HubEx,6653746,1176,588)
{
link(onEvent,12362648:doFor,[(1182,713)])
}
Add(LineBreak,1222211,420,154)
{
Caption="Вычислить"
Color=65280
link(Out,15807324:doData,[])
Primary=[6854205,371,133]
}
Add(If_else,3312741,1029,238)
{
Op2=Integer(1)
link(onTrue,1766645:doTimer,[])
link(onFalse,9930551:doClear,[])
link(Op1,11551894:Var,[])
}
Add(GlobalVar,11598447,1659,238)
{
@Color=5636010
Name="стр-ка ст2"
}
Add(GlobalVar,12558790,1603,196)
{
Name="кокс кг"
}
Add(MathParse,4295576,1596,238)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,11598447:doValue,[])
link(X1,4005943:Var,[(1602,224)(1567,224)])
link(X2,12558790:Var,[])
link(X3,5787268:Var,[(1616,224)(1672,224)])
}
Add(MathParse,642536,1169,238)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,9930551:doValue,[])
link(X1,13018847:Var,[(1175,224)(1070,224)])
link(X2,11850117:Var,[(1182,224)(1112,224)])
link(X3,13802472:Var,[(1189,224)(1147,224)])
link(X4,8912440:Var,[(1196,224)(1189,224)])
link(X5,2967602:Var,[(1203,224)(1252,224)])
link(X6,4254090:Var,[(1210,224)(1322,224)])
}
Add(GlobalVar,13018847,1064,196)
{
Name="ст1"
}
Add(GlobalVar,11850117,1106,196)
{
Name="C1"
}
Add(GlobalVar,13802472,1141,196)
{
Name="C Ц"
}
Add(GlobalVar,4254090,1316,196)
{
@Color=65450
Name="стр-ка ст2"
}
Add(GlobalVar,8912440,1183,196)
{
Name="стр-ка С"
}
Add(GlobalVar,2967602,1246,196)
{
Name="стр-ка У"
}
Add(GlobalVar,3711309,1428,238)
{
Name="стр-ка кг"
link(onValue,4838592:doWork1,[(1516,244)])
}
Add(Memory,9930551,1232,238)
{
Default=Integer(0)
link(onData,3711309:doValue,[])
}
Add(Timer,1766645,1085,238)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,642536:doCalc,[])
}
Add(LineBreak,1488836,245,399)
{
Caption="1"
Type=1
Color=65535
link(Data,11272390:Var3,[(251,376)])
Primary=[11551894,784,-182]
}
Add(LineBreak,13751381,945,238)
{
Caption="Вычислить"
Color=65535
link(Out,3312741:doCompare,[])
Primary=[12270732,-154,70]
}
Add(GlobalVar,4005943,1561,196)
{
Name="ст1"
}
Add(GlobalVar,5787268,1666,196)
{
Name="FeMn кг"
}
Add(LineBreak,13136305,1554,238)
{
Caption="ст1"
link(Out,4295576:doCalc,[])
Primary=[15636484,-861,-98]
}
Add(GetDataEx,12639502,1764,651)
{
link(Data,6247255:Array,[])
}
Add(GetDataEx,11272390,238,371)
{
link(Data,2117759:Checked,[])
}
Add(Hub,5667282,665,154)
{
InCount=2
OutCount=3
link(onEvent1,15636484:In,[(686,160)(686,146)])
link(onEvent2,3806974:In,[])
link(onEvent3,12136494:In,[(686,174)(686,188)])
}
Add(LineBreak,14044197,616,175)
{
Caption="ст1"
link(Out,5667282:doEvent2,[(656,181)(656,167)])
Primary=[7338725,1064,455]
}
Add(If_else,14543411,1029,322)
{
Op2=Integer(1)
link(onTrue,11149677:doTimer,[])
link(onFalse,16281630:doClear,[])
link(Op1,3386:Var,[])
}
Add(GlobalVar,13522267,1603,280)
{
Name="стр-ка кг"
}
Add(GlobalVar,4231608,1666,322)
{
@Color=5636010
Name="кокс ст2"
}
Add(MathParse,1544459,1596,322)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,4231608:doValue,[])
link(X1,6516675:Var,[(1602,306)(1567,306)])
link(X2,13522267:Var,[])
link(X3,6506018:Var,[(1616,308)(1679,308)])
}
Add(MathParse,1526640,1162,322)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,16281630:doValue,[])
link(X1,15265657:Var,[(1168,308)(1070,308)])
link(X2,2635084:Var,[(1175,308)(1112,308)])
link(X3,6322844:Var,[(1182,308)(1147,308)])
link(X4,12594736:Var,[])
link(X5,294188:Var,[(1196,308)(1245,308)])
link(X6,11884920:Var,[(1203,308)(1301,308)])
}
Add(GlobalVar,15265657,1064,280)
{
Name="ст1"
}
Add(GlobalVar,2635084,1106,280)
{
Name="C1"
}
Add(GlobalVar,6322844,1141,280)
{
Name="C Ц"
}
Add(GlobalVar,12594736,1183,280)
{
Name="кокс С"
}
Add(GlobalVar,294188,1239,280)
{
Name="кокс У"
}
Add(GlobalVar,11884920,1295,280)
{
@Color=65450
Name="кокс ст2"
}
Add(GlobalVar,2455289,1435,322)
{
Name="кокс кг"
link(onValue,4838592:doWork2,[])
}
Add(Memory,16281630,1225,322)
{
Default=Integer(0)
link(onData,2455289:doValue,[])
}
Add(Timer,11149677,1085,322)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,1526640:doCalc,[])
}
Add(LineBreak,16328157,252,469)
{
Caption="1"
Type=1
Color=65535
link(Data,11898620:Var3,[(258,453)])
Primary=[3386,777,-168]
}
Add(LineBreak,9540278,945,322)
{
Caption="Вычислить"
Color=65535
link(Out,14543411:doCompare,[])
Primary=[11777822,-154,7]
}
Add(GlobalVar,6516675,1561,280)
{
Name="ст1"
}
Add(GlobalVar,6506018,1673,280)
{
Name="FeMn кг"
}
Add(LineBreak,10137862,1554,322)
{
Caption="ст1"
link(Out,1544459:doCalc,[])
Primary=[3806974,-861,-161]
}
Add(GetDataEx,11898620,245,448)
{
link(Data,16297602:Checked,[])
}
Add(HubEx,4838592,1512,322)
{
Angle=1
link(onEvent,1653769:doWork1,[])
}
Add(MathParse,5715432,1162,406)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,1997910:doValue,[])
link(X1,15562081:Var,[(1168,399)(1070,399)])
link(X2,2476705:Var,[(1175,399)(1112,399)])
link(X3,990706:Var,[(1182,399)(1154,399)])
link(X4,4291043:Var,[(1189,399)(1196,399)])
link(X5,15395198:Var,[(1196,399)(1252,399)])
link(X6,16104975:Var,[(1203,399)(1308,399)])
}
Add(GlobalVar,15562081,1064,364)
{
Name="ст1"
}
Add(GlobalVar,2476705,1106,364)
{
Name="Mn1"
}
Add(Memory,1997910,1225,406)
{
Default=Integer(0)
link(onData,13429284:doValue,[])
}
Add(GlobalVar,13429284,1442,406)
{
Name="FeMn кг"
link(onValue,1653769:doWork2,[])
}
Add(GlobalVar,15395198,1246,364)
{
Name="FeMn У"
}
Add(GlobalVar,4291043,1190,364)
{
Name="FeMn С"
}
Add(GlobalVar,16104975,1302,364)
{
@Color=65450
Name="FeMn ст2"
}
Add(GlobalVar,990706,1148,364)
{
Name="Mn Ц"
}
Add(Timer,4211830,1113,406)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,5715432:doCalc,[])
}
Add(If_else,5102031,1029,406)
{
Op2=Integer(1)
link(onTrue,4211830:doTimer,[])
link(onFalse,1997910:doClear,[])
link(Op1,2701051:Var,[])
}
Add(LineBreak,13545815,259,539)
{
Caption="1"
Type=1
Color=65535
link(Data,12820211:Var3,[(265,523)])
Primary=[2701051,770,-154]
}
Add(LineBreak,8752927,945,406)
{
Caption="Вычислить"
Color=65535
link(Out,5102031:doCompare,[])
Primary=[13211375,-154,-56]
}
Add(MathParse,1127303,1596,406)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,10476453:doValue,[])
link(X1,14067000:Var,[(1602,392)(1567,392)])
link(X2,8625879:Var,[])
link(X3,4382206:Var,[(1616,392)(1679,392)])
}
Add(GlobalVar,10476453,1673,406)
{
@Color=5636010
Name="FeMn ст2"
}
Add(GlobalVar,14067000,1561,364)
{
Name="ст1"
}
Add(GlobalVar,8625879,1603,364)
{
Name="стр-ка кг"
}
Add(GlobalVar,4382206,1673,364)
{
Name="кокс кг"
}
Add(LineBreak,16121384,1554,406)
{
Caption="ст1"
link(Out,1127303:doCalc,[])
Primary=[12136494,-861,-224]
}
Add(HubEx,1653769,1512,406)
{
Angle=1
link(onEvent,9579955:doEvent1,[(1516,601)])
}
Add(GetDataEx,12820211,252,518)
{
link(Data,4027255:Checked,[])
}
Add(InfoTip,6153446,931,168)
{
Info=#6:Расчет|
Font=[Arial,12,1,255,204]
Frame=2
Width=848
Height=298
}

карма: 0

0
Ответов: 16884
Рейтинг: 1239
#41: 2018-08-31 17:35:47 ЛС | профиль | цитата
Stalevar писал(а):
Нашел как переменные красить
Tad писал(а):
Одноимённые я крашу в свой цвет.
Легче глазам находить где кто.
Вот объясни, вот эти красные яйца для размножения ?

Редактировалось 1 раз(а), последний 2018-09-01 06:41:31
карма: 25
Немного терпения! Дежурный экстрасенс скоро свяжется с Вами!
0
Ответов: 182
Рейтинг: 14
#42: 2018-09-01 14:35:39 ЛС | профиль | цитата
Tad, схему у резаную выкладываю, красные яйца нужны.
По расчетам не могу не как сообразить с циклами.
карма: 0

0
Ответов: 16884
Рейтинг: 1239
#43: 2018-09-01 15:25:28 ЛС | профиль | цитата
Stalevar писал(а):
красные яйца нужны.
Для чего?
карма: 25
Немного терпения! Дежурный экстрасенс скоро свяжется с Вами!
0
Ответов: 182
Рейтинг: 14
#44: 2018-09-02 20:06:04 ЛС | профиль | цитата
Tad

Add(Label,3454046,84,84)
{
Left=54
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(Label,2598496,77,77)
{
Left=115
Top=210
Width=40
Height=30
Color=12644534
Font=[Calibri,10,1,0,204]
WinStyle=1
Name="нз 13"
Caption=""
AutoSize=1
Alignment=2
}
Add(MainForm,2953706,259,35)
{
Width=596
Height=399
Color=-16777194
Position=1
link(onCreate,6895129:doEvent1,[])
}
Add(CheckBox,16297602,245,413)
{
Left=2
Top=48
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Кокс"
Point(doColor)
Point(doFont)
link(onCheck,7381917:doEvent1,[])
}
Add(CheckBox,4027255,252,483)
{
Left=2
Top=76
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="FeMn"
Point(doColor)
Point(doFont)
link(onCheck,1083426:doEvent1,[])
}
Add(MultiElement,7853204,84,441)
{
@Hint=#6:Формат|
link(onEvent1,14227662:Cable,[(142,447)(142,349)])
link(onEvent2,1001967:Cable,[(155,454)(155,419)])
link(onEvent3,15553298:Cable,[(142,461)(142,496)])
}
BEGIN_SDK
Add(EditMulti,3338469,28,49)
{
EventCount=3
WorkCount=1
Width=643
Height=690
link(doWork1,9992282:doSplit,[(46,55)(46,62)])
}
Add(Font,4691505,182,140)
{
Font=[Arial,11,1,65280,204]
link(onFont,1376853:doWork2,[])
}
Add(Font,15417341,182,98)
{
Font=[Arial,11,1,0,204]
link(onFont,1376853:doWork1,[(228,104)])
}
Add(StrList,5442973,154,189)
{
Strings=#5:65535|8:10789024|
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,4305358:doEvent,[(230,202)(230,237)])
}
Add(IndexToChanel,13242610,133,98)
{
link(onEvent1,15417341:doFont,[])
link(onEvent2,4691505:doFont,[(173,111)(173,146)])
}
Add(Hub,8646046,105,133)
{
link(onEvent1,13242610:doEvent,[(126,139)(126,104)])
link(onEvent2,5442973:doGetString,[(137,146)(137,237)])
}
Add(MultiStrData,9992282,56,56)
{
link(onPart1,777246:doValue,[])
link(onPart2,8646046:doEvent1,[(95,69)(95,139)])
}
Add(Memory,777246,280,56)
{
}
Add(IndexToChanel,10506450,301,140)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire2,[(433,146)(433,174)])
link(onEvent2,3683880:Wire2,[(433,153)(433,216)])
link(onEvent3,13779428:Wire2,[(433,160)(433,265)])
link(Data,14486282:Value,[(307,124)(279,124)(279,180)(244,180)])
link(Index,13624829:Var3,[(314,110)])
}
Add(IndexToChanel,4305358,273,231)
{
Count=3
Point(Data)
Point(Index)
link(onEvent1,10633978:Wire1,[(419,237)(419,167)])
link(onEvent2,3683880:Wire1,[(419,244)(419,209)])
link(onEvent3,13779428:Wire1,[(419,251)(419,258)])
link(Data,5442973:String,[(279,184)(213,184)(213,250)(181,250)])
link(Index,13624829:Var2,[])
}
Add(GetDataEx,13624829,280,105)
{
link(Data,777246:Value,[])
}
Add(Memory,14486282,238,140)
{
link(onData,10506450:doEvent,[])
}
Add(HubEx,1376853,224,140)
{
link(onEvent,14486282:doValue,[])
}
Add(CableWork,10633978,532,161)
{
link(Cable,3338469:onEvent1,[(608,167)(608,55)])
}
Add(CableWork,3683880,532,203)
{
link(Cable,3338469:onEvent2,[(608,209)(608,62)])
}
Add(CableWork,13779428,532,252)
{
link(Cable,3338469:onEvent3,[(608,258)(608,69)])
}
END_SDK
Add(CableEvent,14227662,168,343)
{
link(Wire1,9595767:doEvent1,[])
link(Wire2,3462522:doEvent1,[(189,356)(189,363)])
}
Add(CableEvent,1001967,168,413)
{
link(Wire1,493886:doEvent1,[(189,419)(189,426)])
link(Wire2,5027377:doEvent1,[(189,426)(189,440)])
}
Add(CableEvent,15553298,168,490)
{
link(Wire1,1918681:doEvent1,[])
link(Wire2,3328549:doEvent1,[(189,503)(189,510)])
}
Add(StrCat,5224041,336,336)
{
Str1="0;"
link(onStrCat,14628401:doWork2,[])
}
Add(StrCat,1947115,343,413)
{
Str1="1;"
link(onStrCat,9083665:doWork2,[])
}
Add(StrCat,14537579,350,483)
{
Str1="2;"
link(onStrCat,13913192:doWork2,[])
}
Add(HubEx,14628401,378,336)
{
Angle=3
link(onEvent,7853204:doWork1,[(382,326)(72,326)(72,447)])
}
Add(HubEx,9083665,385,413)
{
Angle=3
link(onEvent,14628401:doWork3,[(389,391)(382,391)])
}
Add(HubEx,13913192,392,483)
{
Angle=3
link(onEvent,9083665:doWork3,[(396,433)(389,433)])
}
Add(Edit,5020035,133,1323)
{
Left=142
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,12660360:doValue,[])
}
Add(Edit,4184594,133,1365)
{
Left=142
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,293551:doValue,[])
}
Add(Edit,12951390,133,1407)
{
Left=142
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="78"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,3372561:doValue,[])
}
Add(Edit,13766560,259,1337)
{
Left=212
Top=20
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="98"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,7615906:doValue,[])
}
Add(Edit,6549760,259,1379)
{
Left=212
Top=48
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="90"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,10812183:doValue,[])
}
Add(Edit,5598161,259,1421)
{
Left=212
Top=76
Width=70
Height=28
Color=16237011
Font=[Arial,12,1,0,204]
WinStyle=4
Text="100"
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,1737583:doValue,[])
}
Add(Hub,3462522,196,357)
{
link(onEvent1,2117759:doFont,[(224,363)(224,356)])
link(onEvent2,13944145:doFont,[(308,370)(308,356)])
}
Add(Hub,9595767,196,343)
{
link(onEvent1,2117759:doColor,[])
link(onEvent2,13944145:doColor,[(308,356)(308,349)])
}
Add(Hub,5027377,196,434)
{
link(onEvent1,16297602:doFont,[(224,440)(224,433)])
link(onEvent2,10468263:doFont,[(308,447)(308,433)])
}
Add(Hub,493886,196,420)
{
link(onEvent1,16297602:doColor,[])
link(onEvent2,10468263:doColor,[(312,433)(312,426)])
}
Add(Hub,3328549,196,504)
{
link(onEvent1,4027255:doFont,[(224,510)(224,503)])
link(onEvent2,13186909:doFont,[(312,517)(312,503)])
}
Add(Hub,1918681,196,490)
{
link(onEvent1,4027255:doColor,[])
link(onEvent2,13186909:doColor,[(312,503)(312,496)])
}
Add(UpDown,5371857,511,49)
{
Left=322
Top=20
Width=26
Height=290
Ctl3D=0
Max=200
Min=1
Position=100
link(onPosition,14614441:doText,[(558,55)(558,36)(499,36)(499,104)])
}
Add(DoData,14249546,420,49)
{
Data=Integer(100)
link(onEventData,115852:doWork2,[])
}
Add(Edit,14614441,511,98)
{
Left=404
Top=319
Width=105
Height=40
Font=[Arial,24,1,0,204]
WinStyle=3
Text=""
Alignment=2
DataType=2
MaxLenField=3
ClearAfterEnter=1
link(onChange,15177914:In,[])
link(onEnter,115852:doWork3,[(554,111)(554,90)(473,90)])
link(Str,5371857:Position,[])
}
Add(Hub,7210031,763,301)
{
InCount=3
OutCount=4
link(onEvent1,6854205:In,[(784,307)(784,293)])
link(onEvent2,12270732:In,[])
link(onEvent3,11777822:In,[(784,321)(784,335)])
link(onEvent4,13211375:In,[(784,328)(784,356)])
}
Add(Hub,12740869,630,462)
{
OutCount=3
link(onEvent1,7210031:doEvent3,[(704,468)(704,321)])
link(onEvent2,6653746:doWork2,[(912,475)(912,594)])
link(onEvent3,3735772:doWork2,[(901,482)(901,790)])
}
Add(MultiSetParam,5690489,1330,714)
{
Parameters=#9:Эл.Стр-ка|4:Кокс|4:FeMn|0:|
Count=1
OutType=1
link(onSet1,5511638:doValue,[])
}
Add(GetIndexData,2855857,1428,658)
{
Count=3
link(Data1,3711309:Var,[])
link(Data2,2455289:Var,[])
link(Data3,13429284:Var,[])
}
Add(For,12362648,1246,707)
{
End=10
link(onEvent,6486535:doEvent1,[])
}
Add(Hub,6486535,1302,707)
{
link(onEvent1,2855857:doIndex,[(1325,713)(1325,664)])
link(onEvent2,5690489:doSet,[])
}
Add(LineBreakEx,3238583,413,770)
{
Type=2
}
Add(LineBreakEx,15170414,1806,700)
{
Type=3
link(_Data,12639502:Var3,[(1812,656)])
}
Add(MST_RowAction,4991091,469,798)
{
MSTControl="tabl"
}
Add(MST_Clear,2539529,1722,609)
{
MSTControl="tabl"
}
Add(MT_MTArrayRW,5050759,413,798)
{
link(onRead,4991091:doRowAction,[])
link(Array,3238583:getVar,[])
link(Index,2408786:Index,[(426,787)(455,787)(455,842)(307,842)])
}
Add(If_else,5621254,350,798)
{
Op2=Integer(1)
link(onTrue,5050759:doRead,[])
}
Add(MT_AddData,15248216,1421,714)
{
link(onAdd,3355436:doAdd,[])
link(Data1,5511638:Value,[(1427,703)(1412,703)(1412,758)(1378,758)])
link(Data2,2855857:Var,[])
}
Add(MT_MTArray,6247255,1764,595)
{
}
Add(MT_MTArrayRW,3355436,1764,700)
{
link(Array,12639502:Var2,[])
link(Index,12362648:Position,[(1777,688)(1599,688)(1599,766)(1252,766)])
}
Add(Memory,5511638,1372,714)
{
link(onData,15248216:doAdd,[])
}
Add(Hub,9579955,1645,595)
{
OutCount=5
link(onEvent1,6247255:doClear,[])
link(onEvent2,2539529:doClear,[(1694,608)(1694,615)])
link(onEvent3,4956049:doWork1,[(1689,615)(1689,591)])
link(onEvent4,3735772:doWork1,[(1695,622)(1695,779)(1271,779)])
link(onEvent5,7338725:In,[(1673,629)(1673,636)])
}
Add(HubEx,3735772,1267,784)
{
Angle=1
link(onEvent,5755906:doAdd,[(1271,860)(223,860)(223,804)])
}
Add(ChanelToIndex,5120309,497,413)
{
Count=3
link(onIndex,12740869:doEvent1,[(586,419)(586,468)])
}
Add(MT_Enum,2408786,294,798)
{
link(onItem,5621254:doCompare,[])
}
Add(MT_AddData,5755906,238,798)
{
Count=3
link(onAdd,2408786:doEnum,[])
link(Data1,11272390:Var2,[])
link(Data2,11898620:Var2,[])
link(Data3,12820211:Var2,[])
}
Add(Hub,7381917,294,413)
{
link(onEvent1,1947115:doStrCat,[])
link(onEvent2,5120309:doWork2,[])
}
Add(Hub,9225181,287,336)
{
link(onEvent1,5224041:doStrCat,[])
link(onEvent2,5120309:doWork1,[(413,349)(413,419)])
}
Add(Hub,1083426,301,483)
{
link(onEvent1,14537579:doStrCat,[])
link(onEvent2,5120309:doWork3,[(420,496)(420,433)])
}
Add(MTStrTbl,13946322,518,798)
{
Left=348
Top=20
Width=225
Height=290
Color=0
Font=[Arial,14,1,65280,204]
WinStyle=1
Name="tabl"
Columns=#12:Материал=120|12:кг./метр=100|
ColumnWidth=90
Style=4
ChangeWidth=1
}
Add(HubEx,115852,469,49)
{
link(onEvent,5371857:doPosition,[])
}
Add(Label,13320999,70,70)
{
Left=35
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,9024548,63,63)
{
Left=94
Top=165
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6007472,56,56)
{
Left=10
Top=190
Width=25
Height=20
Color=10987519
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="max"
AutoSize=1
Alignment=2
}
Add(Label,9637448,49,49)
{
Left=11
Top=240
Width=25
Height=20
Color=16764057
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="min"
AutoSize=1
Alignment=2
}
Add(GlobalVar,682212,616,154)
{
Name="ст1"
link(onValue,5667282:doEvent1,[])
}
Add(DoData,15807324,511,154)
{
Data=Integer(100)
link(onEventData,2189399:doOperation,[])
link(Data,14614441:Text,[])
}
Add(Math,2189399,567,154)
{
OpType=2
Op2=1000
link(onResult,682212:doValue,[])
}
Add(Label,12685144,42,42)
{
Left=35
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="C"
AutoSize=1
Alignment=2
}
Add(Label,14524777,35,35)
{
Left=95
Top=275
Width=60
Height=25
Color=65535
Font=[Calibri,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="нз 13"
Caption="Mn"
AutoSize=1
Alignment=2
}
Add(Label,6330024,28,28)
{
Left=-1
Top=300
Width=36
Height=20
Color=9486586
Font=[Calibri,9,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="проба"
AutoSize=1
Alignment=2
}
Add(GlobalVar,8439641,203,1232)
{
Name="C1"
link(onValue,11715060:doEvent3,[(338,1238)(338,1049)])
}
Add(DoData,14468035,147,1232)
{
link(onEventData,12344338:doWork2,[])
link(Data,14875724:Text,[])
}
Add(Hub,6895129,308,49)
{
link(onEvent1,14249546:doData,[])
link(onEvent2,13966058:doEvent1,[(352,62)(352,259)(2,259)(2,1231)])
}
Add(GlobalVar,293551,175,1365)
{
Name="кокс С"
Data=Integer(90)
link(onValue,11715060:doEvent6,[(381,1371)(381,1070)])
}
Add(GlobalVar,10812183,301,1379)
{
Name="кокс У"
Data=Integer(90)
link(onValue,11715060:doEvent9,[(381,1385)(381,1091)])
}
Add(GlobalVar,12660360,175,1323)
{
Name="стр-ка С"
Data=Integer(98)
link(onValue,11715060:doEvent5,[(381,1329)(381,1063)])
}
Add(GlobalVar,7615906,301,1337)
{
Name="стр-ка У"
Data=Integer(98)
link(onValue,11715060:doEvent8,[(381,1343)(381,1084)])
}
Add(CheckBox,2117759,238,336)
{
Left=2
Top=20
Width=105
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Caption="Эл.Стр-ка"
Point(doColor)
Point(doFont)
link(onCheck,9225181:doEvent1,[])
}
Add(Label,13988717,21,21)
{
Left=107
Top=20
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,16373010,14,14)
{
Left=107
Top=48
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,6840745,7,7)
{
Left=107
Top=76
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="Mn"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(GlobalVar,3372561,175,1407)
{
Name="FeMn С"
Data=Integer(78)
link(onValue,11715060:doEvent7,[(381,1413)(381,1077)])
}
Add(GlobalVar,1737583,301,1421)
{
Name="FeMn У"
Data=Integer(100)
link(onValue,11715060:doEvent10,[(381,1427)(381,1098)])
}
Add(GlobalVar,1369573,329,1239)
{
Name="Mn1"
link(onValue,11715060:doEvent4,[(381,1245)(381,1056)])
}
Add(DoData,10075898,252,1239)
{
link(onEventData,12715042:doWork2,[])
link(Data,8147977:Text,[])
}
Add(Hub,13966058,14,1225)
{
OutCount=3
link(onEvent1,9171354:doData,[(41,1231)(41,974)(9,974)(9,937)])
link(onEvent2,14468035:doData,[])
link(onEvent3,10075898:doData,[])
}
Add(Edit,14875724,147,1162)
{
Left=35
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12344338:doWork1,[(193,1168)])
}
Add(Edit,8147977,252,1162)
{
Left=95
Top=300
Width=60
Text="9"
Alignment=2
DataType=4
link(onChange,12715042:doWork1,[(305,1168)])
}
Add(Label,13329120,147,1008)
{
Left=95
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9.5"
AutoSize=1
Alignment=2
}
Add(Label,415275,147,889)
{
Left=35
Top=240
Width=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="9"
AutoSize=1
Alignment=2
}
Add(Label,4058693,140,861)
{
Left=35
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,16297211,140,973)
{
Left=95
Top=190
Width=60
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="10"
AutoSize=1
Alignment=2
}
Add(Label,11081099,280,931)
{
Left=55
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11443055,91,931)
{
Left=34
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,11400181:doCalc,[])
}
Add(Label,12709963,280,1050)
{
Left=115
Top=216
Width=40
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Transparent=0
Caption="10"
AutoSize=1
Alignment=2
}
Add(UpDown,11058569,91,1050)
{
Left=95
Top=210
Height=30
Ctl3D=0
Max=100
Position=50
link(onPosition,13599546:doCalc,[])
}
Add(GlobalVar,7817347,280,980)
{
@Color=65450
Name="C Ц"
link(onValue,11715060:doEvent1,[(338,986)(338,1035)])
}
Add(Hub,10730299,238,931)
{
link(onEvent1,11081099:doText,[])
link(onEvent2,7817347:doValue,[(262,944)(262,986)])
}
Add(MathParse,11400181,133,931)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,10951781:doConvert,[])
link(X2,4058693:Caption,[])
link(X3,415275:Caption,[])
}
Add(GlobalVar,5998413,273,1092)
{
@Color=16776960
Name="Mn Ц"
link(onValue,11715060:doEvent2,[(338,1098)(338,1042)])
}
Add(Hub,8162950,238,1050)
{
link(onEvent1,12709963:doText,[])
link(onEvent2,5998413:doValue,[(266,1063)(266,1098)])
}
Add(MathParse,13599546,133,1050)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,11604620:doConvert,[])
link(X2,16297211:Caption,[])
link(X3,13329120:Caption,[])
}
Add(ConvertorEx,10951781,189,931)
{
Mode=15
Width=5
Decimals=3
link(onResult,10730299:doEvent1,[])
}
Add(ConvertorEx,11604620,189,1050)
{
Mode=15
Width=5
Decimals=3
link(onResult,8162950:doEvent1,[])
}
Add(Hub,11715060,392,1029)
{
InCount=10
OutCount=1
link(onEvent1,14726024:In,[])
}
Add(LineBreak,4595285,679,287)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent1,[(756,293)(756,307)])
Primary=[14726024,-259,742]
}
Add(Hub,13971466,63,931)
{
link(onEvent1,11443055:doPosition,[])
link(onEvent2,11058569:doPosition,[(84,944)(84,1056)])
}
Add(DoData,9171354,21,931)
{
Data=Integer(50)
link(onEventData,13971466:doEvent1,[])
}
Add(HubEx,12344338,189,1232)
{
link(onEvent,8439641:doValue,[])
}
Add(HubEx,12715042,301,1239)
{
link(onEvent,1369573:doValue,[])
}
Add(LineBreak,10483685,679,301)
{
Caption="Вычислить"
Color=65535
link(Out,7210031:doEvent2,[(756,307)(756,314)])
Primary=[15177914,-119,-203]
}
Add(HubEx,4956049,1176,588)
{
Angle=1
link(onEvent,6653746:doWork3,[])
}
Add(HubEx,6653746,1176,588)
{
link(onEvent,12362648:doFor,[(1182,713)])
}
Add(LineBreak,16630061,420,154)
{
Caption="Вычислить"
Color=65280
link(Out,15807324:doData,[])
Primary=[6854205,371,133]
}
Add(If_else,3312741,1029,238)
{
Op2=Integer(1)
link(onTrue,1766645:doTimer,[])
link(onFalse,9930551:doClear,[])
link(Op1,11551894:Var,[])
}
Add(GlobalVar,11598447,1659,238)
{
@Color=5636010
Name="стр-ка ст2"
}
Add(GlobalVar,12558790,1603,196)
{
Name="кокс кг"
}
Add(MathParse,4295576,1596,238)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,11598447:doValue,[])
link(X1,4005943:Var,[(1602,224)(1567,224)])
link(X2,12558790:Var,[])
link(X3,5787268:Var,[(1616,224)(1672,224)])
}
Add(MathParse,642536,1169,238)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,9930551:doValue,[])
link(X1,13018847:Var,[(1175,224)(1070,224)])
link(X2,11850117:Var,[(1182,224)(1112,224)])
link(X3,13802472:Var,[(1189,224)(1147,224)])
link(X4,8912440:Var,[(1196,224)(1189,224)])
link(X5,2967602:Var,[(1203,224)(1252,224)])
link(X6,4254090:Var,[(1210,224)(1322,224)])
}
Add(GlobalVar,13018847,1064,196)
{
Name="ст1"
}
Add(GlobalVar,11850117,1106,196)
{
Name="C1"
}
Add(GlobalVar,13802472,1141,196)
{
Name="C Ц"
}
Add(GlobalVar,4254090,1316,196)
{
@Color=65450
Name="стр-ка ст2"
}
Add(GlobalVar,8912440,1183,196)
{
Name="стр-ка С"
}
Add(GlobalVar,2967602,1246,196)
{
Name="стр-ка У"
}
Add(GlobalVar,3711309,1428,238)
{
Name="стр-ка кг"
link(onValue,4838592:doWork1,[(1516,244)])
}
Add(Memory,9930551,1232,238)
{
Default=Integer(0)
link(onData,3711309:doValue,[])
}
Add(Timer,1766645,1085,238)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,642536:doCalc,[])
}
Add(LineBreak,6368984,245,399)
{
Caption="1"
Type=1
Color=65535
link(Data,11272390:Var3,[(251,376)])
Primary=[11551894,784,-182]
}
Add(LineBreak,14278528,945,238)
{
Caption="Вычислить"
Color=65535
link(Out,3312741:doCompare,[])
Primary=[12270732,-154,70]
}
Add(GlobalVar,4005943,1561,196)
{
Name="ст1"
}
Add(GlobalVar,5787268,1666,196)
{
Name="FeMn кг"
}
Add(LineBreak,14049389,1554,238)
{
Caption="ст1"
link(Out,4295576:doCalc,[])
Primary=[15636484,-861,-98]
}
Add(GetDataEx,12639502,1764,651)
{
link(Data,6247255:Array,[])
}
Add(GetDataEx,11272390,238,371)
{
link(Data,2117759:Checked,[])
}
Add(Hub,5667282,665,154)
{
InCount=2
OutCount=3
link(onEvent1,15636484:In,[(686,160)(686,146)])
link(onEvent2,3806974:In,[])
link(onEvent3,12136494:In,[(686,174)(686,188)])
}
Add(LineBreak,1227076,616,175)
{
Caption="ст1"
link(Out,5667282:doEvent2,[(656,181)(656,167)])
Primary=[7338725,1064,455]
}
Add(If_else,14543411,1029,322)
{
Op2=Integer(1)
link(onTrue,11149677:doTimer,[])
link(onFalse,16281630:doClear,[])
link(Op1,3386:Var,[])
}
Add(GlobalVar,13522267,1603,280)
{
Name="стр-ка кг"
}
Add(GlobalVar,4231608,1666,322)
{
@Color=5636010
Name="кокс ст2"
}
Add(MathParse,1544459,1596,322)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,4231608:doValue,[])
link(X1,6516675:Var,[(1602,306)(1567,306)])
link(X2,13522267:Var,[])
link(X3,6506018:Var,[(1616,308)(1679,308)])
}
Add(MathParse,1526640,1162,322)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,16281630:doValue,[])
link(X1,15265657:Var,[(1168,308)(1070,308)])
link(X2,2635084:Var,[(1175,308)(1112,308)])
link(X3,6322844:Var,[(1182,308)(1147,308)])
link(X4,12594736:Var,[])
link(X5,294188:Var,[(1196,308)(1245,308)])
link(X6,11884920:Var,[(1203,308)(1301,308)])
}
Add(GlobalVar,15265657,1064,280)
{
Name="ст1"
}
Add(GlobalVar,2635084,1106,280)
{
Name="C1"
}
Add(GlobalVar,6322844,1141,280)
{
Name="C Ц"
}
Add(GlobalVar,12594736,1183,280)
{
Name="кокс С"
}
Add(GlobalVar,294188,1239,280)
{
Name="кокс У"
}
Add(GlobalVar,11884920,1295,280)
{
@Color=65450
Name="кокс ст2"
}
Add(GlobalVar,2455289,1435,322)
{
Name="кокс кг"
link(onValue,4838592:doWork2,[])
}
Add(Memory,16281630,1225,322)
{
Default=Integer(0)
link(onData,2455289:doValue,[])
}
Add(Timer,11149677,1085,322)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,1526640:doCalc,[])
}
Add(LineBreak,13658748,252,469)
{
Caption="1"
Type=1
Color=65535
link(Data,11898620:Var3,[(258,453)])
Primary=[3386,777,-168]
}
Add(LineBreak,13285798,945,322)
{
Caption="Вычислить"
Color=65535
link(Out,14543411:doCompare,[])
Primary=[11777822,-154,7]
}
Add(GlobalVar,6516675,1561,280)
{
Name="ст1"
}
Add(GlobalVar,6506018,1673,280)
{
Name="FeMn кг"
}
Add(LineBreak,10080989,1554,322)
{
Caption="ст1"
link(Out,1544459:doCalc,[])
Primary=[3806974,-861,-161]
}
Add(GetDataEx,11898620,245,448)
{
link(Data,16297602:Checked,[])
}
Add(HubEx,4838592,1512,322)
{
Angle=1
link(onEvent,1653769:doWork1,[])
}
Add(MathParse,5715432,1162,406)
{
DataCount=6
MathStr="(%3-(%1/%6*%2))*%6/(%4*(%5/100)-%3)"
ResultType=0
link(onResult,1997910:doValue,[])
link(X1,15562081:Var,[(1168,399)(1070,399)])
link(X2,2476705:Var,[(1175,399)(1112,399)])
link(X3,990706:Var,[(1182,399)(1154,399)])
link(X4,4291043:Var,[(1189,399)(1196,399)])
link(X5,15395198:Var,[(1196,399)(1252,399)])
link(X6,16104975:Var,[(1203,399)(1308,399)])
}
Add(GlobalVar,15562081,1064,364)
{
Name="ст1"
}
Add(GlobalVar,2476705,1106,364)
{
Name="Mn1"
}
Add(Memory,1997910,1225,406)
{
Default=Integer(0)
link(onData,13429284:doValue,[])
}
Add(GlobalVar,13429284,1442,406)
{
Name="FeMn кг"
link(onValue,1653769:doWork2,[])
}
Add(GlobalVar,15395198,1246,364)
{
Name="FeMn У"
}
Add(GlobalVar,4291043,1190,364)
{
Name="FeMn С"
}
Add(GlobalVar,16104975,1302,364)
{
@Color=65450
Name="FeMn ст2"
}
Add(GlobalVar,990706,1148,364)
{
Name="Mn Ц"
}
Add(Timer,4211830,1113,406)
{
Interval=10
Enable=1
AutoStop=5
link(onTimer,5715432:doCalc,[])
}
Add(If_else,5102031,1029,406)
{
Op2=Integer(1)
link(onTrue,4211830:doTimer,[])
link(onFalse,1997910:doClear,[])
link(Op1,2701051:Var,[])
}
Add(LineBreak,4629477,259,539)
{
Caption="1"
Type=1
Color=65535
link(Data,12820211:Var3,[(265,523)])
Primary=[2701051,770,-154]
}
Add(LineBreak,3352527,945,406)
{
Caption="Вычислить"
Color=65535
link(Out,5102031:doCompare,[])
Primary=[13211375,-154,-56]
}
Add(MathParse,1127303,1596,406)
{
DataCount=3
MathStr="%1 + %2+%3"
ResultType=0
link(onResult,10476453:doValue,[])
link(X1,14067000:Var,[(1602,392)(1567,392)])
link(X2,8625879:Var,[])
link(X3,4382206:Var,[(1616,392)(1679,392)])
}
Add(GlobalVar,10476453,1673,406)
{
@Color=5636010
Name="FeMn ст2"
}
Add(GlobalVar,14067000,1561,364)
{
Name="ст1"
}
Add(GlobalVar,8625879,1603,364)
{
Name="стр-ка кг"
}
Add(GlobalVar,4382206,1673,364)
{
Name="кокс кг"
}
Add(LineBreak,13432116,1554,406)
{
Caption="ст1"
link(Out,1127303:doCalc,[])
Primary=[12136494,-861,-224]
}
Add(HubEx,1653769,1512,406)
{
Angle=1
link(onEvent,9579955:doEvent1,[(1516,601)])
}
Add(GetDataEx,12820211,252,518)
{
link(Data,4027255:Checked,[])
}
Add(InfoTip,6153446,931,168)
{
Info=#6:Расчет|
Font=[Arial,12,1,255,204]
Frame=2
Width=848
Height=298
}
Add(Label,13944145,434,336)
{
Left=282
Top=20
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,10468263,434,413)
{
Left=282
Top=48
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="C"
Caption="C"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}
Add(Label,13186909,434,483)
{
Left=282
Top=76
Width=35
Height=28
Color=65535
Font=[Arial,12,1,0,204]
Ctl3D=0
WinStyle=3
Name="Si"
Caption="Mn"
AutoSize=1
Alignment=2
Point(doColor)
Point(doFont)
}

карма: 0

0
44
Сообщение
...
Прикрепленные файлы
(файлы не залиты)