Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanh-aj committed Jan 31, 2019
1 parent c051407 commit 3fee195
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Binary file added .vs/slnx.sqlite
Binary file not shown.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,24 @@ aromaShooterController.Setup();
```
### Diffuse scents

#### Diffuse all Aroma Shooter
Using *Diffuse APIs* :
```C#
aromaShooterController.Diffuse(durration, ports, booster);
```

For example, the following code will diffuse cartridge 1, 2, and 3 for 3 seconds.
```
aromaShooterController.Diffuse(3000, new int[]{1, 2, 3}, true);
```
#### Diffuse a specific Aroma Shooter
```C#
aromaShooterController.Diffuse(ports, duration, booster, aromashooter_serial);
```

For example, the following code will diffuse cartridge 1, 2, and 3 for 3 seconds at Aroma Shooter with serial id "ASN1UA0001"
```C#
aromaShooterController.Diffuse(new int[] { 1, 2, 3}, 3000, true, "ASN1UA0001");
```

### Stop diffusing
```C#
Expand Down
Binary file modified libs/ASControllerSDK.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="ASControllerSDK, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="ASControllerSDK, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\libs\ASControllerSDK.dll</HintPath>
</Reference>
Expand Down

0 comments on commit 3fee195

Please sign in to comment.