Beispiel #1
0
 public EF_IC(byte[] value)
 {
     cardChipIdentification = new CardChipIdentification(value);
 }
Beispiel #2
0
    protected void Driver_IC(object sender, EventArgs e)
    {
        EnableAllDriversPreviewButtons();
        IC_btn.Enabled = false;
        FilesPreviewPanel.Visible = true;

        int dataBlockId = Convert.ToInt32(onlyForInternal.Value);
        string connectionString = ConfigurationSettings.AppSettings["fleetnetbaseConnectionString"];
        DataBlock dataBlock = new DataBlock(connectionString, ConfigurationManager.AppSettings["language"]);
        TextBoxTest.Text = "";
        dataBlock.OpenConnection();
        try
        {
            DDDClass.CardChipIdentification data = new DDDClass.CardChipIdentification();
            data = dataBlock.cardUnitInfo.Get_EF_IC(dataBlockId).cardChipIdentification;

            /*  TextBoxTest.Text += "icManufacturingReferences:" + data.icManufacturingReferences.ToString() + Environment.NewLine + "<br/>";
              TextBoxTest.Text += "icSerialNumber: " + data.icSerialNumber.ToString() + Environment.NewLine + "<br/>";
              TextBoxTest.Text += Environment.NewLine + "<br/>";*/
            FilesPreviewDataGrid.DataSource = DriverPreviewDataTable.DriverPreview_IC(data);
            FilesPreviewDataGrid.DataBind();
        }
        catch (Exception exc)
        {
            TextBoxTest.Text = "";
            TextBoxTest.Visible = false;

            Status.Text = exc.Message;
            StatusUpdatePanel.Update();
        }
        finally
        {
            dataBlock.CloseConnection();
            ModalPopupExtender1.Hide();
        }
    }
Beispiel #3
0
 public EF_IC()
 {
     cardChipIdentification = new CardChipIdentification();
 }