mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Sp 1703 fe build device overview page curtain module (#303)
<!-- Thanks for contributing! Provide a description of your changes below and a general summary in the title Please look at the following checklist to ensure that your PR can be accepted quickly: --> ## Jira Ticket [SP-1703](https://syncrow.atlassian.net/browse/SP-1703) [SP-1704](https://syncrow.atlassian.net/browse/SP-1704) [SP-1706](https://syncrow.atlassian.net/browse/SP-1706) [SP-1705](https://syncrow.atlassian.net/browse/SP-1705) [SP-1707](https://syncrow.atlassian.net/browse/SP-1707) ## Description all about curtain module (UI + logic + integrate with API + control/batch) all is ready ## Type of Change <!--- Put an `x` in all the boxes that apply: --> - [x] ✨ New feature (non-breaking change which adds functionality) - [ ] 🛠️ Bug fix (non-breaking change which fixes an issue) - [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change) - [ ] 🧹 Code refactor - [ ] ✅ Build configuration change - [ ] 📝 Documentation - [ ] 🗑️ Chore [SP-1703]: https://syncrow.atlassian.net/browse/SP-1703?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [SP-1704]: https://syncrow.atlassian.net/browse/SP-1704?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [SP-1706]: https://syncrow.atlassian.net/browse/SP-1706?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [SP-1705]: https://syncrow.atlassian.net/browse/SP-1705?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [SP-1707]: https://syncrow.atlassian.net/browse/SP-1707?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
This commit is contained in:
@ -125,6 +125,10 @@ class Assets {
|
||||
static const String ac = 'assets/icons/AC.svg';
|
||||
//assets/icons/Curtain.svg
|
||||
static const String curtain = 'assets/icons/Curtain.svg';
|
||||
static const String openCurtain = 'assets/icons/open_curtain.svg';
|
||||
static const String pauseCurtain = 'assets/icons/pause_curtain.svg';
|
||||
static const String closeCurtain = 'assets/icons/close_curtain.svg';
|
||||
static const String reverseArrows = 'assets/icons/reverse_arrows.svg';
|
||||
//assets/icons/doorLock.svg
|
||||
static const String doorLock = 'assets/icons/doorLock.svg';
|
||||
//assets/icons/Gateway.svg
|
||||
|
@ -3,6 +3,7 @@ enum DeviceType {
|
||||
LightBulb,
|
||||
DoorLock,
|
||||
Curtain,
|
||||
Curtain2,
|
||||
Blind,
|
||||
OneGang,
|
||||
TwoGang,
|
||||
@ -44,6 +45,7 @@ enum DeviceType {
|
||||
|
||||
Map<String, DeviceType> devicesTypesMap = {
|
||||
"AC": DeviceType.AC,
|
||||
"CUR_2": DeviceType.Curtain2,
|
||||
"GW": DeviceType.Gateway,
|
||||
"CPS": DeviceType.CeilingSensor,
|
||||
"DL": DeviceType.DoorLock,
|
||||
|
Reference in New Issue
Block a user