Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Update Project Properties
Browse files Browse the repository at this point in the history
  • Loading branch information
F4pl0 committed Nov 5, 2019
1 parent ee325c1 commit feb20b2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions IngenicoPOS/IngenicoPOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<AssemblyVersion>1.0.1.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# ingenico-pos-dotnet-lib
.netstandard2.0 Class library for communication with Asseco Group Ingenico POS Device written in C#
## Info
* Developed in Visual Studio 2019
* C# netstandard2.0
* Tested on Ingenico ict-220 **Probably works on other models**

## Usage
### Donwloading the package from NuGet
### Manually downloading with dependencies

## Development
1. Clone the repository with
```
git clone https://github.com/F4pl0/ingenico-pos-dotnet-lib.git
```
2. Open in Visual Studio 2019 (*To eliminate compatibility issues*)
3. Get Dependent NuGet Packages (If they aren't already in the project)

**Happy Development**

### Dependencies
* NuGet **MSTest.TestAdapter** *Tests only*
* NuGet **MSTest.TestFramework** *Tests only*
* NuGet **System.IO.Ports** *Required for library*

## Tests
1. **Test01Connection**
Tests the connectivity with the device on the *PORT* port.
2. **Test02Sale**
Upon connecting, tests the `POS.Sale( Int64 Amount )` Which returns `SaleResponse`.
The main test is to check whether the `SaleResponse.Success` is `true`

0 comments on commit feb20b2

Please sign in to comment.