Skip to content

Commit

Permalink
Merge pull request #2 from gregor71/master
Browse files Browse the repository at this point in the history
Support for new bills
  • Loading branch information
diseks authored Jul 26, 2018
2 parents df4b7ae + 93d8841 commit ace9476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CashCode.Net/CashCode.Net/CashCodeBillValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,10 @@ private int CashCodeTable(byte code)
if (code == 0x02) { result = 10; } // 10 р.
else if (code == 0x03) { result = 50; } // 50 р.
else if (code == 0x04) { result = 100; } // 100 р.
else if (code == 0x0c) { result = 200; } // 200 р.
else if (code == 0x05) { result = 500; } // 500 р.
else if (code == 0x06) { result = 1000; } // 1000 р.
else if (code == 0x0d) { result = 2000; } // 2000 р.
else if (code == 0x07) { result = 5000; } // 5000 р.

return result;
Expand Down

0 comments on commit ace9476

Please sign in to comment.