Stalevar писал(а):
Начал парстиь прям так
Add(MainForm,2953706,112,140)
{
Width=662
Height=392
link(onCreate,13075869:doSearch,[])
}
Add(StrList,16278415,168,105)
{
Strings=#2268:[{"CraneId":13,"TagName":"CraneX","Description":"Смещение","DataType":"метры","TagValue":"13613"},{"CraneId":13,"TagName":"CraneY","Description":"Телега","DataType":"метры","TagValue":"870"},{"CraneId":13,"TagName":"CraneZ","Description":"Подъем","DataType":"метры","TagValue":"1365"},{"CraneId":13,"TagName":"CraneWeight","Description":"Вес, брутто","DataType":"тонн","TagValue":"-12320"},{"CraneId":13,"TagName":"CraneSignalCounter","Description":"Счетчик связи","DataType":null,"TagValue":"23"},{"CraneId":13,"TagName":"CraneWeightStability","Description":"стабильность веса","DataType":null,"TagValue":"1"},{"CraneId":13,"TagName":"CraneLadleStability","Description":"стабильность веса при подъеме ковша","DataType":null,"TagValue":"1"},{"CraneId":13,"TagName":"CraneAcpHealth","Description":"АЦП контроллера","DataType":null,"TagValue":"1"},{"CraneId":13,"TagName":"CranePositionReliable","Description":"положение крана","DataType":null,"TagValue":"1"},{"CraneId":13,"TagName":"CraneLadleUp","Description":"ковш","DataType":null,"TagValue":"0"},{"CraneId":14,"TagName":"CraneX","Description":"Смещение","DataType":"метры","TagValue":"8428"},{"CraneId":14,"TagName":"CraneY","Description":"Телега","DataType":"метры","TagValue":"1536"},{"CraneId":14,"TagName":"CraneZ","Description":"Подъем","DataType":"метры","TagValue":"515"},{"CraneId":14,"TagName":"CraneWeight","Description":"Вес, брутто","DataType":"тонн","TagValue":"3481"},{"CraneId":14,"TagName":"CraneSignalCounter","Description":"Счетчик связи","DataType":null,"TagValue":"74"},{"CraneId":14,"TagName":"CraneWeightStability","Description":"стабильность веса","DataType":null,"TagValue":"0"},{"CraneId":14,"TagName":"CraneLadleStability","Description":"стабильность веса при подъеме ковша","DataType":null,"TagValue":"1"},{"CraneId":14,"TagName":"CraneAcpHealth","Description":"АЦП контроллера","DataType":null,"TagValue":"1"},{"CraneId":14,"TagName":"CranePositionReliable","Description":"положение крана","DataType":null,"TagValue":"0"},{"CraneId":14,"TagName":"CraneLadleUp","Description":"ковш","DataType":null,"TagValue":"0"},{"CraneId":13,"TagName":"CraneMoves","Description":"","DataType":null,"TagValue":"0"},{"CraneId":14,"TagName":"CraneMoves","Description":"","DataType":null,"TagValue":"0"}]|
}
Add(BlockFind,13075869,168,154)
{
IncludeBlock=1
StartBlock="{"
EndBlock="}"
link(onSearch,7957658:doMTString,[])
link(onEndSearch,8087646:doColAction,[(214,167)(214,188)])
link(Text,16278415:Text,[])
}
Add(MTStrTbl,6848466,420,196)
{
Width=646
Height=353
Align=5
Name="asd"
Columns=#7:CraneId|7:TagName|11:Description|8:DataType|8:TagValue|0:|
link(CodePageSet,13604614:GetData,[])
}
Add(MT_String,7957658,224,140)
{
Delimeter=","
link(onResult,6119259:doRowAction,[])
}
Add(MST_RowAction,6119259,287,140)
{
MSTControl="asd"
}
Add(EventFromData,13604614,420,147)
{
link(onEvent,16555728:doSplit,[])
}
Add(StrPart,16555728,483,147)
{
Char=":"
link(onSplit,12012804:doReplace,[])
}
Add(Replace,12012804,539,147)
{
SubStr="""
link(onReplace,13604614:doData,[(578,153)(578,139)(410,139)(410,153)])
}
Add(MST_ColAction,8087646,224,182)
{
Action=9
Index=-2
MSTControl="asd"
}