Create custom thresholds for registered devices and stores them on the DeviceEventThresholdtable. See the table definition bellow:
DeviceEventThreshold Table
Field Name
Data Type
Description
ID
Int
Primary Key
Device ID
Int
ID for registered device
isVibrate
Bool
Enabled or Disabled Vibration
isSound
Bool
Enabled or Disabled Sound
isFlash
Bool
Enabled or Disabled Flash
VibrateThreshold
Int
Threshold for Device to Trigger
SoundThreshold
Int
Threshold for Device to Trigger
FlashThreshold
Int
Threshold for Device to Trigger
The Device(Phone) class should be the base class that should be called to perform all of the operations. All preliminary functionality should be exclusively accessible through Device(Phone) class.
The data from this table should be created on registered devices and pass down to the Device(Phone) class to performs load or saving operations. Registered devices should be able to create a new instance of the device(Phone) which should be used to save and get settings from the DeviceEventThreshold.
Registered Device
[ ] On The Registered Device Class We should Add a new function to Get data from DeviceEventThreshold.
[ ] On The Registered DeviceClass We should Add a new function to Save data from DeviceEventThreshold.
Device(Phone)
[ ] On The Device Class We should Add a new function to Get data from DeviceEventThreshold.
[ ] On The Device Class We should Add a new function to Save data from DeviceEventThreshold.
Thresholds
Create custom thresholds for registered devices and stores them on the
DeviceEventThreshold
table. See the table definition bellow:DeviceEventThreshold
TableThe Device(Phone) class should be the base class that should be called to perform all of the operations. All preliminary functionality should be exclusively accessible through Device(Phone) class.
The data from this table should be created on registered devices and pass down to the Device(Phone) class to performs load or saving operations. Registered devices should be able to create a new instance of the device(Phone) which should be used to save and get settings from the
DeviceEventThreshold
.Registered Device
DeviceEventThreshold
.DeviceEventThreshold
.Device(Phone)
DeviceEventThreshold
.DeviceEventThreshold
.