diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..3f6f04b Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/README.md b/README.md index f38eb88..5f70c20 100644 --- a/README.md +++ b/README.md @@ -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# diff --git a/libs/ASControllerSDK.dll b/libs/ASControllerSDK.dll index 42fb315..7c050d2 100644 Binary files a/libs/ASControllerSDK.dll and b/libs/ASControllerSDK.dll differ diff --git a/sample/AromaShooterControllerSample/ControllerSample.csproj b/sample/AromaShooterControllerSample/ControllerSample.csproj index f522034..894656c 100644 --- a/sample/AromaShooterControllerSample/ControllerSample.csproj +++ b/sample/AromaShooterControllerSample/ControllerSample.csproj @@ -35,7 +35,7 @@ - + False ..\..\libs\ASControllerSDK.dll