Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create gate/reader device #6

Closed
brentstineman opened this issue Oct 4, 2018 · 1 comment
Closed

Create gate/reader device #6

brentstineman opened this issue Oct 4, 2018 · 1 comment
Assignees
Labels
Work Item Tasks to be completed

Comments

@brentstineman
Copy link
Owner

Using the base device as the parent, create the simulated gate and ticket reader device and its device twin. This includes documentation related to the configuration, compilation, and registration of the simulated device and its IOT Hub device twin.

This simulated device will include a method that is triggered somewhat randomly by a trigger that simulates a "validate ticket" action. The frequency of the trigger will be based on the values contained in a locally stored JSON metadata file.

When an event is triggered, the kiosk device will determine which "direction" it is set to (either entry or exit from the platform). If in entry mode, it will validate the ticket by sending a message to an action logic method and wait for either a positive for negative response. if successful, the gate will send a "open gate" notification message.

@brentstineman
Copy link
Owner Author

This work should include that the Fake Scheduler inherits from the real scheduler and overrides as needed. This will help eliminate some redundant code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Work Item Tasks to be completed
Projects
None yet
Development

No branches or pull requests

1 participant