mirror of
https://github.com/dimoniche/solarium.git
synced 2026-01-29 17:33:32 +03:00
Таймеры отсчета теперь должны идти
This commit is contained in:
parent
b97232b057
commit
8441e682f6
Binary file not shown.
5218
Flash/Exe/solarium_3_44.hex
Normal file
5218
Flash/Exe/solarium_3_44.hex
Normal file
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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
1492
solarium.dep
1492
solarium.dep
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user