xxe 2 anni fa
parent
commit
9281de65ff
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +1
    -1
      HKCardManager/Program.cs
  2. +3
    -3
      HKCardManager/UserPages/CarMangerPage.cs

+ 1
- 1
HKCardManager/Program.cs Vedi File

@@ -13,7 +13,7 @@ namespace HKCardManager
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
#if DEBUG
#if !DEBUG
var configer = (new ConfigurationBuilder()).AddJsonFile("options.json").Build();
#else
var configer = (new ConfigurationBuilder()).AddJsonFile("options.pro.json").Build();


+ 3
- 3
HKCardManager/UserPages/CarMangerPage.cs Vedi File

@@ -571,11 +571,11 @@ namespace HKCardManager.UserPages
{
if (UHFCardHelper.GetInstance().ComOpen)
{
if (!string.IsNullOrEmpty(textBox3.Text))
if (!string.IsNullOrEmpty(textBox4.Text))
{
var rr = UHFCardHelper.GetInstance().WriteCard(textBox3.Text);
var rr = UHFCardHelper.GetInstance().WriteCard(textBox4.Text);
if(rr.Res)
MessageLogNotify.GetInstance.Show($"手动制卡成功,卡号[{textBox3.Text}]");
MessageLogNotify.GetInstance.Show($"手动制卡成功,卡号[{textBox4.Text}]");
}
}
}


Caricamento…
Annulla
Salva