Skip to content

Commit

Permalink
Assembly v 5.8.1 (1.07.24)
Browse files Browse the repository at this point in the history
  • Loading branch information
adslbarxatov committed Jul 1, 2024
1 parent 592b8a8 commit 6916842
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Константы, используемые далее по тексту
env:
PROJ: ${{ github.event.repository.name }}
TAG: '5.8'
TAG: '5.8.1'

steps:
# Проверка состава репозитория (без анализа, как может показаться)
Expand Down
Binary file modified .release/KassArray.apk
Binary file not shown.
Binary file modified .release/KassArray.exe
Binary file not shown.
Binary file modified .release/KassArrayDB.dll
Binary file not shown.
Binary file modified .release/KassArrayFN.exe
Binary file not shown.
Binary file modified .release/KassArrayLL.dll
Binary file not shown.
9 changes: 3 additions & 6 deletions .release/Release.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
_Изменения для v 5.8_:
_Изменения для v 5.8.1_:
- Исправлено некорректное поведение функций контекстного меню в поле статуса *(неполное выделение выбранного значения)*;
- Добавлена серия ЗН ККТ `Атол 35Ф`;
- Добавлена серия ЗН ФН `Ин15-4 73804408`;
- Добавлен адрес CDN-площадки ЦРПТ для настройки разрешительного режима;
Expand All @@ -8,8 +9,4 @@ _Изменения для v 5.8_:
- опция включается в настройках модуля работы с ФН;
- необходимый статус можно найти по ключевым словам в разделе поиска;
- `Windows`: перестроена схема определения модели ФН для методов формирования выгрузок;
- `Android`: исправлены некоторые мелкие ошибки интерфейса;
- `Windows`: исправлены некоторые мелкие ошибки интерфейса;
- `Android`: приложение переведено на платформу `NET80 / MAUI`:
- Приложение теперь имеет единую навигационную оболочку Android;
- `Android`: приложение адаптировано для `Android 14` (API 34)
- `Android`: исправлены некоторые мелкие ошибки интерфейса
4 changes: 4 additions & 0 deletions Changes.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
KassArray: лог изменений

Версия 5.8.1:
• Исправлено некорректное поведение функций контекстного меню в поле статуса
(неполное выделение выбранного значения)

Версия 5.8:
• Добавлена серия ЗН ККТ Атол 35Ф;
• Добавлена серия ЗН ФН Ин15-4 73804408;
Expand Down
1 change: 0 additions & 1 deletion src/FNSerial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ public bool IsNotFor36Months (string FNSerialNumber)
/// <param name="FNSerialNumber">Заводской номер ФН</param>
public bool IsFNAllowed (string FNSerialNumber)
{
/*return CheckFNState (FNSerialNumber, FNSerialFlags.FNM) > 0;*/
int i = GetFNIndex (FNSerialNumber);
if (i < 0)
return false;
Expand Down
5 changes: 0 additions & 5 deletions src/KKTSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,11 +1122,6 @@ public static string BuildUserManual (UserManuals Manuals, uint ManualNumber, ul

#if !ANDROID

/*/// <summary>
/// Возвращает путь к файлу статуса ФН
/// </summary>
public static string StatusFilePath = RDGenerics.AppStartupPath + "KassArrayStatus.dat";*/

/// <summary>
/// Возвращает имя настройки, хранящей флаг переопределения действия кнопки закрытия окна
/// </summary>
Expand Down
3 changes: 1 addition & 2 deletions src/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.RD_AAOW.TextToKKT"
android:installLocation="internalOnly" android:versionCode="601525" android:versionName="5.8">
android:installLocation="internalOnly" android:versionCode="601526" android:versionName="5.8">

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34" />

Expand All @@ -25,7 +25,6 @@
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<!--<category android:name="android.intent.category.DEFAULT" />-->
</intent-filter>
</receiver>

Expand Down
2 changes: 0 additions & 2 deletions src/android/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,6 @@ protected override void OnSleep ()
AndroidSupport.AppIsRunning = false;

// Сохранение настроек
/*AppSettings.CurrentTab = (uint)((CarouselPage)MainPage).Children.IndexOf
(((CarouselPage)MainPage).CurrentPage);*/
AppSettings.CurrentTab = (uint)uiPages.IndexOf ((ContentPage)AndroidSupport.MasterPage.CurrentPage);

// ca.KKTForErrors // Обновляется в коде программы
Expand Down
19 changes: 5 additions & 14 deletions src/android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected override void OnCreate (Bundle savedInstanceState)
if (mainService == null)
{
mainService = new Intent (this, typeof (MainService));
mainService.SetPackage (this.PackageName);
mainService.SetPackage (ProgramDescription.PackageName);
}
AndroidSupport.StopRequested = false;

Expand Down Expand Up @@ -103,7 +103,7 @@ protected override void OnResume ()
if (mainService == null)
{
mainService = new Intent (this, typeof (MainService));
mainService.SetPackage (this.PackageName);
mainService.SetPackage (ProgramDescription.PackageName);
}
AndroidSupport.StopRequested = false;

Expand Down Expand Up @@ -144,13 +144,11 @@ public class MainService: Service
// Дескрипторы уведомлений
private NotificationCompat.Builder notBuilder;
private NotificationManager notManager;
/*private const int notServiceID = 4420;*/
private NotificationCompat.BigTextStyle notTextStyle;

private Intent masterIntent;
private PendingIntent masterPendingIntent;

/*private BroadcastReceiver[] bcReceivers = new BroadcastReceiver[2];*/
private BroadcastReceiver[] bcReceivers =
new BroadcastReceiver[AndroidSupport.IntentFiltersForBootReceiver.Length];

Expand Down Expand Up @@ -271,7 +269,7 @@ public override StartCommandResult OnStartCommand (Intent intent, StartCommandFl

// Прикрепление ссылки для перехода в основное приложение
masterIntent = new Intent (this, typeof (NotificationLink));
masterIntent.SetPackage (this.PackageName);
masterIntent.SetPackage (ProgramDescription.PackageName);

masterPendingIntent = PendingIntent.GetService (this, notServiceID, masterIntent,
PendingIntentFlags.Immutable);
Expand All @@ -289,10 +287,6 @@ public override StartCommandResult OnStartCommand (Intent intent, StartCommandFl
}

// Запуск петли
/*this.RegisterReceiver (bcReceivers[0] = new BootReceiver (),
new IntentFilter (Intent.ActionBootCompleted));
this.RegisterReceiver (bcReceivers[1] = new BootReceiver (),
new IntentFilter ("android.intent.action.QUICKBOOT_POWERON"));*/
for (int i = 0; i < AndroidSupport.IntentFiltersForBootReceiver.Length; i++)
{
bcReceivers[i] = new BootReceiver ();
Expand Down Expand Up @@ -395,8 +389,7 @@ private void StartMasterActivity ()
if (mainActivity == null)
{
mainActivity = new Intent (this, typeof (MainActivity));
/*mainActivity.PutExtra ("Tab", 0);*/
mainActivity.SetPackage (this.PackageName);
mainActivity.SetPackage (ProgramDescription.PackageName);
}
PendingIntent.GetActivity (this, notServiceID, mainActivity,
PendingIntentFlags.UpdateCurrent | PendingIntentFlags.Immutable).Send (); // Android S+ req
Expand All @@ -420,8 +413,6 @@ public override void OnReceive (Context context, Intent intent)
if (!AppSettings.AllowServiceToStart || (intent == null))
return;

/*if (intent.Action.Equals (Intent.ActionBootCompleted, StringComparison.CurrentCultureIgnoreCase) ||
intent.Action.Equals (Intent.ActionReboot, StringComparison.CurrentCultureIgnoreCase))*/
bool received = false;
for (int i = 0; i < AndroidSupport.IntentFiltersForBootReceiver.Length; i++)
if (intent.Action.Equals (AndroidSupport.IntentFiltersForBootReceiver[i],
Expand All @@ -436,7 +427,7 @@ public override void OnReceive (Context context, Intent intent)
if (mainService == null)
{
mainService = new Intent (context, typeof (MainService));
mainService.SetPackage (AppInfo.PackageName);
mainService.SetPackage (ProgramDescription.PackageName);
}
AndroidSupport.StopRequested = false;

Expand Down

0 comments on commit 6916842

Please sign in to comment.