Beispiel #1
0
        public MifareClassicDataBlockModel(int _dataBlockNumberChipBased, int _dataBlockNumberSectorBased)
        {
            DataBlockAccessCondition = new MifareClassicDataBlockAccessConditionModel();

            DataBlockNumberChipBased   = _dataBlockNumberChipBased;
            DataBlockNumberSectorBased = _dataBlockNumberSectorBased;
        }
Beispiel #2
0
        public MifareClassicDataBlockModel(
            uint _cx,
            SectorTrailer_DataBlock _blockNumber,
            AccessCondition_MifareClassicSectorTrailer _readDataBlock,
            AccessCondition_MifareClassicSectorTrailer _writeDataBlock,
            AccessCondition_MifareClassicSectorTrailer _incDataBlock,
            AccessCondition_MifareClassicSectorTrailer _decDataBlock)
        {
            DataBlockAccessCondition = new MifareClassicDataBlockAccessConditionModel();

            Cx = _cx;
            DataBlockNumberSectorBased = (int)_blockNumber;

            Read_DataBlock  = _readDataBlock;
            Write_DataBlock = _writeDataBlock;

            Increment_DataBlock = _incDataBlock;
            Decrement_DataBlock = _decDataBlock;
        }
Beispiel #3
0
 public MifareClassicDataBlockModel()
 {
     DataBlockAccessCondition = new MifareClassicDataBlockAccessConditionModel();
 }