Вверх ↑
Ответов: 704
Рейтинг: 7
#1: 2019-01-06 16:52:55 ЛС | профиль | цитата
Всех с наступающим праздником!
Оказалось не в данных дело. Смоделировал схему отдельно. При прокрутке таблицы (захватить и медленно тащить) явно тормозит отсчет событий текстовом поле. Так же все процессы на системном потоке откладываются. Я что-то неправильно применяю? Критические секции поставил для развязки потоков таймера от визуальных элементов.

Add(MainForm,2953706,21,105)
{
Width=1024
link(onCreate,1412819:doEvent1,[(95,125)(95,153)])
}
Add(StringTableMT,4905930,238,147)
{
Left=170
Top=5
Width=780
Height=240
Font=[Open Sans,10,0,0,204]
Columns=#1:0|1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|2:10|2:11|2:12|2:13|2:14|2:15|2:16|2:17|2:18|2:19|2:20|2:21|2:22|2:23|2:24|2:25|2:26|2:27|2:28|2:29|2:30|2:31|2:32|2:33|2:34|2:35|2:36|2:37|
ColumnClick=1
MinColWidth=20
MaxColWidth=120
Redaction=0
IconsCheck=[]
MiscIcons=[]
Icons=[]
FileName="online"
SaveColProp=0
SaveWidth=0
Point(Matrix)
Point(Strings)
Point(doReplace)
Point(onDblClick)
Point(doAutoColWidth)
Point(doSave)
Point(StringTable)
Point(FullTextTab)
}
Add(StrList,9385151,133,98)
{
Strings=#189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|189:2=ON/145;ON/1846;ON/7647;ON/1780;ON/1349;ON/331;ON/1;temp:NA;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF/0;OFF;OFF;OFF;OFF;OFF;OFF;OFF;OFF;ON;OFF;ON;OFF;OFF;OFF;OFF;;temp:NA;temp:NA;ON;ON;ON;ON;ON;ON|
}
Add(ArrayEnum,13891179,147,147)
{
link(onItem,4905930:doAdd,[])
link(Array,9385151:Array,[])
}
Add(Counter,11129683,175,238)
{
@Color=9371647
Max=999999999
link(onNext,3001738:doEvent1,[])
}
Add(Hub,3001738,224,238)
{
@Color=9371647
OutCount=3
link(onEvent1,10185819:In,[(249,244)(249,230)])
link(onEvent3,14893338:doSafeMode,[])
}
Add(MMTimer,14921899,84,238)
{
@Hint=#23:Основной отсчет времени|
@Color=11206655
Interval=100
Enable=1
link(onTimer,11129683:doNext,[])
}
Add(Timer,15616241,259,315)
{
Interval=150
link(onTimer,2349421:doSafeMode,[])
}
Add(StrCat,6387568,364,315)
{
Str2=" событий"
link(onStrCat,3213322:doText,[])
link(Str1,1428689:Value,[])
}
Add(Memory,1428689,364,252)
{
}
Add(SafeMode,14893338,308,252)
{
Name="time"
WaitMode=1
link(onSafeMode,1428689:doValue,[])
AddHint(-4,40,34,13,Name)
}
Add(SafeMode,2349421,308,315)
{
Name="time"
WaitMode=1
link(onSafeMode,6387568:doStrCat,[])
AddHint(-8,42,34,13,Name)
}
Add(Hub,1412819,105,147)
{
link(onEvent1,13891179:doEnum,[])
link(onEvent2,14921899:doTimer,[(130,160)(130,230)(74,230)(74,244)])
}
Add(Label,3213322,420,315)
{
@Color=9371647
Left=5
Top=10
Width=190
}
Add(LineBreak,7618915,469,224)
{
Caption="Обработка данных"
Primary=[10185819,-126,0]
}

карма: 0

0