problem detect com
This commit is contained in:
parent
3d295abe86
commit
0e64bb9068
1 changed files with 9 additions and 4 deletions
|
|
@ -70,9 +70,7 @@ namespace eDosStation
|
|||
|
||||
thisStation.AllowMultipleEPD = cbAllowMultipleEPD.IsChecked != null ? cbAllowMultipleEPD.IsChecked.Value : false;
|
||||
|
||||
|
||||
thisStation.WriteConfig32 = cbWriteConfig32.IsChecked != null ? cbWriteConfig32.IsChecked.Value : false;
|
||||
|
||||
//thisStation.WriteConfig32 = cbWriteConfig32.IsChecked != null ? cbWriteConfig32.IsChecked.Value : false;
|
||||
thisStation.Update();
|
||||
this.Close();
|
||||
if (thisStation.Error > 0)
|
||||
|
|
@ -88,9 +86,16 @@ namespace eDosStation
|
|||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string eDosCom = devcon.FindEdosCom();
|
||||
string eDosCom = null;
|
||||
|
||||
try
|
||||
{
|
||||
eDosCom = devcon.FindEdosCom();
|
||||
}
|
||||
catch { }
|
||||
try
|
||||
{
|
||||
|
||||
using (var a = new LSWDesfirePublic.CCard())
|
||||
{
|
||||
a.GetReaderList();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue