Hitman666 / nbCcTalkCoinAcceptor

This project contains usage instructions and code examples (C#) for communication with coin acceptor using the ccTalk protocol
29 stars 19 forks source link

Definition for AllowedCoins #10

Open Aleksandre1988 opened 6 years ago

Aleksandre1988 commented 6 years ago

Hello bro. Please help me if you can. I try to connect Coin Acceptor to my project. Doing everything good. But got some errors still i cant resolve them

  1. CS0103 The name 'CoinIndex' does not exist in the current context InfoBlock C:\Users\GSG-Tech Alex\Documents\Visual Studio 2015\Projects\InfoBlock\InfoBlock\InfoMainForm.cs 120 Active
  2. CS1061 'CoinAcceptor' does not contain a definition for 'AllowedCoins' and no extension method 'AllowedCoins' accepting a first argument of type 'CoinAcceptor' could be found (are you missing a using directive or an assembly reference?) InfoBlock C:\Users\GSG-Tech Alex\Documents\Visual Studio 2015\Projects\InfoBlock\InfoBlock\InfoMainForm.cs 120 Active So its problem for that code in NBCCTalk - _coinAcceptor.AllowedCoins = CoinIndex.One | CoinIndex.Two | CoinIndex.Three;