Таймеры отсчета теперь должны идти

This commit is contained in:
Dmitriy 2023-08-04 03:53:08 +03:00
parent b97232b057
commit 8441e682f6
7 changed files with 5985 additions and 774 deletions

Binary file not shown.

5218
Flash/Exe/solarium_3_44.hex Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1141,27 +1141,20 @@ void UserPrintFirstMenu(CPU_INT08U recentchannel)
// ïîëó÷èòü âðåìÿ äî îêîí÷àíèÿ çàíÿòîñòè êàíàëà
CPU_INT32U GetChannelsTimeForFree(CPU_INT08U ch)
{
CPU_INT32U payedtime = ChannelsPayedTime[ch];
CPU_INT32U beforetime = 0;
CPU_INT32U aftertime = 0;
CPU_INT32U res = 0;
GetData(&TimeOutBeforeDesc, &beforetime, ch, DATA_FLAG_DIRECT_INDEX);
GetData(&TimeOutAfterDesc, &aftertime, ch, DATA_FLAG_DIRECT_INDEX);
aftertime *= 60;
switch (ChannelsState[ch])
{
case CHANNEL_STATE_EMPTY:
break;
case CHANNEL_STATE_PAUSE_BEFORE:
res = beforetime;
res = ChannelsCounters[ch];
break;
case CHANNEL_STATE_WORK:
res = payedtime;
res = ChannelsCounters[ch];
break;
case CHANNEL_STATE_PAUSE_AFTER:
res = aftertime;
res = ChannelsCounters[ch];
break;
}

View File

@ -1,7 +1,7 @@
#ifndef _VERSION_H_
#define _VERSION_H_
#define DEVICE_FW_VERSION "03.43"
#define DEVICE_FW_VERSION "03.44"
#endif // #ifndef _VERSION_H_

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -650,7 +650,7 @@
</option>
<option>
<name>OOCOutputFile</name>
<state>solarium_3_43.hex</state>
<state>solarium_3_44.hex</state>
</option>
<option>
<name>OOCCommandLineProducer</name>
@ -668,7 +668,7 @@
<data>
<extensions></extensions>
<cmdline></cmdline>
<hasPrio>128</hasPrio>
<hasPrio>1</hasPrio>
<buildSequence>inputOutputBased</buildSequence>
</data>
</settings>