push gatway devices

This commit is contained in:
ashrafzarkanisala
2024-08-26 21:23:32 +03:00
parent 2777dc1a5f
commit 191801d9a8
17 changed files with 424 additions and 22 deletions

View File

@ -0,0 +1,19 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="3Gang switch">
<path id="Vector" d="M38.0142 39.2553L35.3682 40H20.9308H19.9999H19.0691H1.24111C0.555643 40 0 39.4444 0 38.7589V1.24111C0 0.555643 0.555643 0 1.24111 0H19.0682H20.1226H20.9543H35.4255L38.2625 1.24111C38.9479 1.24111 39.5036 1.79675 39.5036 2.48221L39.2553 38.0142C39.2553 38.6997 38.6997 39.2553 38.0142 39.2553Z" fill="#E9E9E9"/>
<g id="Group">
<path id="Vector_2" d="M38.7589 0H35.0356C35.721 0 36.2767 0.555643 36.2767 1.24111V38.7589C36.2767 39.4444 35.721 40 35.0356 40H38.7589C39.4444 40 40 39.4444 40 38.7589V1.24111C40 0.555643 39.4444 0 38.7589 0Z" fill="#D1D1D1"/>
</g>
<g id="Group_2">
<path id="Vector_3" opacity="0.6" d="M8.64062 31.8319V33.3212C8.64062 34.0067 8.22091 34.5623 7.70312 34.5623H3.57813C3.06034 34.5623 2.64062 34.0067 2.64062 33.3212V31.8319C2.64062 31.1465 3.06034 30.5908 3.57813 30.5908H7.70312C8.22091 30.5908 8.64062 31.1465 8.64062 31.8319Z" fill="#023DFE" fill-opacity="0.5"/>
</g>
<g id="Group_3">
<path id="Vector_4" opacity="0.6" d="M27.6406 31.8319V33.3212C27.6406 34.0067 28.0603 34.5623 28.5781 34.5623H32.7031C33.2209 34.5623 33.6406 34.0067 33.6406 33.3212V31.8319C33.6406 31.1465 33.2209 30.5908 32.7031 30.5908H28.5781C28.0603 30.5908 27.6406 31.1465 27.6406 31.8319Z" fill="#023DFE" fill-opacity="0.5"/>
</g>
<g id="Group_4">
<path id="Vector_5" opacity="0.6" d="M15.0625 31.8319V33.3212C15.0625 34.0067 15.4822 34.5623 16 34.5623H20.125C20.6428 34.5623 21.0625 34.0067 21.0625 33.3212V31.8319C21.0625 31.1465 20.6428 30.5908 20.125 30.5908H16C15.4822 30.5908 15.0625 31.1465 15.0625 31.8319Z" fill="#023DFE" fill-opacity="0.5"/>
</g>
<path id="Vector_6" d="M23.125 0H24.9867V40H23.125V0Z" fill="#D1D1D1"/>
<path id="Vector_7" d="M11.1719 0H13.0335V40H11.1719V0Z" fill="#D1D1D1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

14
assets/icons/AC.svg Normal file
View File

@ -0,0 +1,14 @@
<svg width="40" height="25" viewBox="0 0 40 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M37.1885 0H2.81145C1.2612 0 0 1.2612 0 2.81145V15.3139C0 16.8642 1.2612 18.1254 2.81145 18.1254H37.1885C38.7388 18.1254 40 16.8642 40 15.3139V2.81145C39.9999 1.26128 38.7387 0 37.1885 0Z" fill="#E0E0E0"/>
<path d="M37.1885 15.5898H2.81145C1.2612 15.5898 0 14.3286 0 12.7784V15.314C0 16.8643 1.2612 18.1255 2.81145 18.1255H37.1885C38.7388 18.1255 40 16.8643 40 15.314V12.7784C39.9999 14.3286 38.7387 15.5898 37.1885 15.5898Z" fill="#C4C4C4"/>
<path d="M35.1954 12.538H4.80466C4.48037 12.538 4.21747 12.8008 4.21747 13.1252V17.5383C4.21747 17.8626 4.48037 18.1255 4.80466 18.1255H35.1954C35.5197 18.1255 35.7826 17.8626 35.7826 17.5383V13.1252C35.7826 12.8008 35.5197 12.538 35.1954 12.538Z" fill="#66BAEA"/>
<path d="M4.21747 15.4244V17.5383C4.21747 17.8626 4.48037 18.1255 4.80466 18.1255H35.1954C35.5197 18.1255 35.7826 17.8626 35.7826 17.5383V15.4244H4.21747Z" fill="#3AAAE4"/>
<path d="M35.7826 14.7445H4.21747V15.9189H35.7826V14.7445Z" fill="#67676B"/>
<path d="M35.1953 4.7743H33.4587C33.1344 4.7743 32.8715 4.51148 32.8715 4.18712C32.8715 3.86275 33.1344 3.59993 33.4587 3.59993H35.1953C35.5196 3.59993 35.7825 3.86275 35.7825 4.18712C35.7825 4.5114 35.5196 4.7743 35.1953 4.7743Z" fill="#AAAAAA"/>
<path d="M30.7795 4.7743H19.6655C19.3412 4.7743 19.0783 4.51148 19.0783 4.18712C19.0783 3.86275 19.3412 3.59993 19.6655 3.59993H30.7795C31.1038 3.59993 31.3667 3.86275 31.3667 4.18712C31.3667 4.5114 31.1038 4.7743 30.7795 4.7743Z" fill="#AAAAAA"/>
<path d="M9.15122 24.2655C8.96755 24.2655 8.78662 24.1795 8.67208 24.0184C8.48426 23.7541 8.54618 23.3874 8.8105 23.1996C10.4395 22.0418 10.4583 20.3011 10.4583 20.2836C10.4583 19.9593 10.7212 19.6964 11.0455 19.6964C11.3698 19.6964 11.6327 19.9593 11.6327 20.2836C11.6327 20.3796 11.6083 22.6518 9.49085 24.1569C9.38766 24.2302 9.26889 24.2655 9.15122 24.2655Z" fill="#66BAEA"/>
<path d="M15.2499 24.2654C14.9256 24.2654 14.6627 24.0026 14.6627 23.6782V20.2837C14.6627 19.9593 14.9256 19.6965 15.2499 19.6965C15.5742 19.6965 15.8371 19.9593 15.8371 20.2837V23.6782C15.8371 24.0025 15.5742 24.2654 15.2499 24.2654Z" fill="#66BAEA"/>
<path d="M20.1651 24.2654C19.8408 24.2654 19.5779 24.0026 19.5779 23.6782V20.2837C19.5779 19.9593 19.8408 19.6965 20.1651 19.6965C20.4894 19.6965 20.7523 19.9593 20.7523 20.2837V23.6782C20.7523 24.0025 20.4894 24.2654 20.1651 24.2654Z" fill="#66BAEA"/>
<path d="M30.8487 24.2655C30.731 24.2655 30.6122 24.2302 30.509 24.1568C28.3915 22.6517 28.3672 20.3796 28.3672 20.2836C28.3672 19.9592 28.6301 19.6964 28.9544 19.6964C29.2778 19.6964 29.5402 19.9578 29.5416 20.2809C29.5425 20.359 29.5824 22.0574 31.1894 23.1995C31.4537 23.3874 31.5157 23.754 31.3278 24.0183C31.2133 24.1794 31.0324 24.2654 30.8487 24.2655Z" fill="#66BAEA"/>
<path d="M24.7501 24.2654C24.4258 24.2654 24.1629 24.0026 24.1629 23.6782V20.2837C24.1629 19.9593 24.4258 19.6965 24.7501 19.6965C25.0744 19.6965 25.3373 19.9593 25.3373 20.2837V23.6782C25.3373 24.0025 25.0744 24.2654 24.7501 24.2654Z" fill="#66BAEA"/>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

17
assets/icons/Curtain.svg Normal file
View File

@ -0,0 +1,17 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.9087 0.468437H0.924357C0.924357 0.468437 0.446232 13.0778 2.10561 20.1434V20.1466H2.10248C0.789982 23.3247 0.577482 38.6122 1.09936 38.7903C1.97748 39.0903 3.44936 39.5622 4.72748 38.6622C5.34936 39.3622 8.16498 39.4841 8.29311 38.5372C10.1619 39.4184 11.5306 39.0997 11.4962 38.5403C10.8837 28.5153 7.96811 21.2997 7.96811 21.2997C7.96811 21.2997 18.7119 13.7684 19.9087 0.468437Z" fill="#448CF2"/>
<path d="M37.715 20.1466H37.7119V20.1434C39.3713 13.0778 38.8931 0.468437 38.8931 0.468437H19.9088C21.1056 13.7684 31.8494 21.2997 31.8494 21.2997C31.8494 21.2997 28.9338 28.5153 28.3213 38.5403C28.2869 39.0997 29.6556 39.4184 31.5244 38.5372C31.6525 39.4841 34.4681 39.3622 35.09 38.6622C36.3681 39.5622 37.84 39.0903 38.7181 38.7903C39.24 38.6122 39.0275 23.3247 37.715 20.1466Z" fill="#448CF2"/>
<path d="M7.67471 30.7491C7.55108 30.7614 7.43739 30.8223 7.35864 30.9184C7.27988 31.0145 7.2425 31.1379 7.25471 31.2616C7.68284 35.5541 7.82346 38.5291 7.82502 38.5588C7.83057 38.6793 7.8824 38.7931 7.96971 38.8764C8.05703 38.9597 8.1731 39.0061 8.29377 39.0059H8.31565C8.37717 39.0031 8.43754 38.9882 8.4933 38.9621C8.54906 38.9359 8.59912 38.899 8.64062 38.8535C8.68213 38.808 8.71425 38.7548 8.73517 38.6969C8.75608 38.6389 8.76538 38.5775 8.76252 38.5159C8.76252 38.4863 8.6194 35.4881 8.18877 31.1697C8.1832 31.1081 8.16541 31.0482 8.13643 30.9936C8.10746 30.939 8.06788 30.8907 8.02002 30.8515C7.97216 30.8123 7.91697 30.7831 7.85768 30.7655C7.79839 30.7479 7.73619 30.7423 7.67471 30.7491Z" fill="#2F66D3"/>
<path d="M8.54471 20.8356C8.36125 20.8452 8.17737 20.8438 7.99409 20.8313C7.74096 20.8175 7.4394 20.7875 7.10503 20.745C7.08848 20.7432 7.07277 20.7368 7.0597 20.7264C7.04663 20.7161 7.03673 20.7023 7.03112 20.6867C7.02552 20.671 7.02443 20.654 7.028 20.6378C7.03156 20.6215 7.03963 20.6066 7.05128 20.5947C7.48433 20.1585 7.89376 19.6995 8.27784 19.2197C8.32305 19.1645 8.35474 19.0995 8.37041 19.0299C8.38607 18.9603 8.38527 18.8881 8.36806 18.8188C8.35085 18.7496 8.31771 18.6854 8.27129 18.6312C8.22486 18.577 8.16643 18.5345 8.10065 18.5069L8.0919 18.5034C7.99905 18.465 7.89629 18.4573 7.79878 18.4817C7.70127 18.5061 7.61417 18.5611 7.55034 18.6388C7.05728 19.2606 6.51264 19.8397 5.92221 20.37C5.86275 20.4211 5.79254 20.4581 5.7168 20.4784C5.64106 20.4986 5.56173 20.5015 5.48471 20.4869C5.25065 20.4434 5.01128 20.3963 4.77003 20.3463C4.75014 20.3423 4.7314 20.3339 4.71521 20.3217C4.69901 20.3095 4.68576 20.2938 4.67646 20.2758C4.66715 20.2578 4.66202 20.2379 4.66145 20.2177C4.66088 20.1974 4.66488 20.1773 4.67315 20.1588C5.32596 18.6922 6.03128 15.8231 6.40753 13.4575C6.42704 13.3347 6.39699 13.2092 6.32396 13.1086C6.25094 13.008 6.14094 12.9405 6.01815 12.9209C5.89536 12.9014 5.76985 12.9315 5.66923 13.0045C5.5686 13.0775 5.50111 13.1875 5.48159 13.3103C5.03378 16.1253 4.2869 18.7934 3.77128 19.89C3.74261 19.9498 3.69406 19.9978 3.63393 20.0258C3.57379 20.0538 3.50581 20.06 3.44159 20.0434C3.12346 19.9634 2.49471 19.7409 2.05565 19.5819C1.99706 19.5607 1.93484 19.5514 1.87261 19.5544C1.81038 19.5575 1.74938 19.5729 1.69314 19.5997C1.63691 19.6265 1.58658 19.6643 1.54506 19.7107C1.50353 19.7572 1.47166 19.8114 1.45128 19.8703L1.44753 19.8816C1.40607 19.9987 1.41268 20.1275 1.46591 20.2399C1.51913 20.3522 1.61465 20.4388 1.73159 20.4809C2.19221 20.6463 2.88784 20.8725 3.21721 20.955C3.27788 20.9694 3.33221 21.0032 3.37196 21.0512C3.41171 21.0993 3.43473 21.159 3.43753 21.2212C3.46878 22.1344 3.4244 23.2616 3.38721 24.2009C3.36128 24.8547 3.33878 25.4197 3.34971 25.7534C3.35361 25.8751 3.40471 25.9906 3.4922 26.0752C3.57969 26.1599 3.6967 26.2072 3.81846 26.2072C3.84721 26.2072 3.87128 26.2072 3.94346 26.1553C4.04898 26.0774 4.13473 25.9757 4.19383 25.8586C4.25294 25.7415 4.28374 25.6121 4.28378 25.4809C4.28628 25.1684 4.30378 24.7278 4.32315 24.2362C4.35846 23.3488 4.39909 22.2987 4.37846 21.3909C4.37814 21.3704 4.38248 21.3501 4.39115 21.3316C4.39983 21.313 4.41261 21.2966 4.42853 21.2837C4.44445 21.2708 4.4631 21.2617 4.48306 21.257C4.50303 21.2524 4.52379 21.2523 4.54378 21.2569C4.75846 21.3016 4.97159 21.3441 5.18159 21.3837C5.27569 21.4016 5.36302 21.4451 5.43394 21.5094C5.50487 21.5738 5.55661 21.6565 5.58346 21.7484C6.19732 23.8123 6.60411 25.9321 6.79784 28.0766C6.80931 28.1922 6.86333 28.2995 6.94943 28.3776C7.03552 28.4556 7.14755 28.4989 7.26378 28.4991C7.31333 28.5003 7.36246 28.4896 7.407 28.4678C7.45155 28.446 7.4902 28.4139 7.51971 28.3741C7.59215 28.2893 7.64622 28.1904 7.67849 28.0837C7.71076 27.977 7.72054 27.8648 7.70721 27.7541C7.51113 25.7213 7.12667 23.7111 6.55878 21.7494C6.5549 21.7346 6.55469 21.7191 6.55818 21.7042C6.56167 21.6893 6.56874 21.6755 6.57878 21.664C6.58883 21.6525 6.60154 21.6436 6.61581 21.6381C6.63008 21.6326 6.64547 21.6307 6.66065 21.6325C7.15128 21.7019 7.58628 21.7484 7.9419 21.7681C8.09471 21.7759 8.22659 21.78 8.34221 21.78C8.43128 21.78 8.51065 21.7775 8.58284 21.7728C8.69286 21.7685 8.79819 21.7271 8.88162 21.6552C8.96505 21.5834 9.02166 21.4854 9.04221 21.3772C9.0534 21.3073 9.04862 21.2358 9.02824 21.1681C9.00787 21.1003 8.97242 21.0381 8.92456 20.986C8.8767 20.9339 8.81766 20.8933 8.75188 20.8672C8.68609 20.8412 8.61527 20.8304 8.54471 20.8356Z" fill="#2F66D3"/>
<path d="M5.04935 34.9497L5.03966 34.5122C5.03831 34.4506 5.02484 34.3899 5.00004 34.3336C4.97523 34.2772 4.93956 34.2263 4.89508 34.1838C4.85059 34.1412 4.79816 34.1078 4.74077 34.0855C4.68338 34.0632 4.62216 34.0524 4.5606 34.0537C4.49904 34.0551 4.43836 34.0686 4.382 34.0934C4.32565 34.1182 4.27474 34.1538 4.23217 34.1983C4.1896 34.2428 4.1562 34.2953 4.1339 34.3526C4.11159 34.41 4.10081 34.4713 4.10216 34.5328L4.11185 34.9703C4.16216 37.3234 4.19935 38.4937 4.2731 38.7809C4.29862 38.8803 4.35662 38.9682 4.43788 39.0308C4.51913 39.0934 4.61898 39.127 4.72154 39.1262C4.75911 39.1262 4.79654 39.1218 4.8331 39.1131C4.95298 39.0831 5.05646 39.0076 5.12157 38.9026C5.18668 38.7976 5.20831 38.6713 5.18185 38.5506C5.1206 38.2622 5.07404 36.1059 5.04935 34.9497Z" fill="#2F66D3"/>
<path d="M3.9931 27.9903C3.86878 27.9903 3.74955 28.0397 3.66165 28.1276C3.57374 28.2155 3.52435 28.3347 3.52435 28.4591C3.52435 29.0841 3.84154 31.6716 3.83998 32.4903C3.83998 32.6146 3.88936 32.7339 3.97727 32.8218C4.06518 32.9097 4.18441 32.9591 4.30873 32.9591C4.43305 32.9591 4.55228 32.9097 4.64018 32.8218C4.72809 32.7339 4.77748 32.6146 4.77748 32.4903C4.77904 31.6153 4.50123 29.0878 4.46185 28.4591C4.45899 28.3356 4.40869 28.2181 4.32139 28.1308C4.2341 28.0435 4.11652 27.9932 3.9931 27.9903Z" fill="#2F66D3"/>
<path d="M6.94627 6.14187C6.88521 6.13304 6.82301 6.13635 6.76324 6.15161C6.70346 6.16687 6.64728 6.19378 6.59793 6.2308C6.54857 6.26781 6.50701 6.31421 6.47562 6.36732C6.44424 6.42044 6.42364 6.47922 6.41502 6.54031C6.38034 6.78594 6.15065 10.1497 5.91002 11.1841C5.88193 11.3051 5.90305 11.4323 5.96874 11.5378C6.03443 11.6433 6.13931 11.7184 6.26034 11.7466C6.29526 11.7547 6.33103 11.7588 6.3669 11.7587C6.4727 11.7587 6.57536 11.7228 6.6582 11.657C6.74103 11.5912 6.79917 11.4993 6.82315 11.3962C7.08065 10.2884 7.31346 6.88344 7.34315 6.67125C7.36047 6.54846 7.32843 6.42381 7.25405 6.32459C7.17966 6.22537 7.06899 6.15967 6.94627 6.14187Z" fill="#2F66D3"/>
<path d="M32.1428 30.7491C32.2665 30.7614 32.3801 30.8223 32.4589 30.9184C32.5377 31.0145 32.575 31.1379 32.5628 31.2616C32.1347 35.5541 31.9941 38.5291 31.9925 38.5588C31.987 38.6793 31.9351 38.7931 31.8478 38.8764C31.7605 38.9597 31.6444 39.0061 31.5238 39.0059H31.5019C31.4404 39.0031 31.38 38.9882 31.3242 38.9621C31.2685 38.9359 31.2184 38.899 31.1769 38.8535C31.1354 38.808 31.1033 38.7548 31.0824 38.6969C31.0614 38.6389 31.0522 38.5775 31.055 38.5159C31.055 38.4863 31.1981 35.4881 31.6288 31.1697C31.6343 31.1081 31.6521 31.0482 31.6811 30.9936C31.7101 30.939 31.7497 30.8907 31.7975 30.8515C31.8454 30.8123 31.9006 30.7831 31.9599 30.7655C32.0191 30.7479 32.0813 30.7423 32.1428 30.7491Z" fill="#2F66D3"/>
<path d="M34.7681 34.9497L34.7778 34.5122C34.7792 34.4506 34.7927 34.3899 34.8175 34.3336C34.8423 34.2772 34.8779 34.2263 34.9224 34.1838C34.9669 34.1412 35.0193 34.1078 35.0767 34.0855C35.1341 34.0632 35.1953 34.0524 35.2569 34.0537C35.3185 34.0551 35.3791 34.0686 35.4355 34.0934C35.4919 34.1182 35.5428 34.1538 35.5853 34.1983C35.6279 34.2428 35.6613 34.2953 35.6836 34.3526C35.7059 34.41 35.7167 34.4713 35.7153 34.5328L35.7056 34.9703C35.6553 37.3234 35.6181 38.4937 35.5444 38.7809C35.5189 38.8803 35.4609 38.9682 35.3796 39.0308C35.2984 39.0934 35.1985 39.127 35.096 39.1262C35.0584 39.1262 35.021 39.1218 34.9844 39.1131C34.8645 39.0831 34.761 39.0076 34.6959 38.9026C34.6308 38.7976 34.6092 38.6713 34.6356 38.5506C34.6969 38.2622 34.7435 36.1059 34.7681 34.9497Z" fill="#2F66D3"/>
<path d="M35.8244 27.9903C35.9487 27.9903 36.0679 28.0397 36.1558 28.1276C36.2437 28.2155 36.2931 28.3347 36.2931 28.4591C36.2931 29.0841 35.9759 31.6716 35.9775 32.4903C35.9775 32.6146 35.9281 32.7339 35.8402 32.8218C35.7523 32.9097 35.633 32.9591 35.5087 32.9591C35.3844 32.9591 35.2652 32.9097 35.1773 32.8218C35.0894 32.7339 35.04 32.6146 35.04 32.4903C35.04 31.6153 35.3162 29.0878 35.3556 28.4591C35.3585 28.3356 35.4088 28.2181 35.4961 28.1308C35.5834 28.0435 35.7009 27.9932 35.8244 27.9903Z" fill="#2F66D3"/>
<path d="M32.8713 6.14187C32.9943 6.12449 33.1193 6.1567 33.2186 6.23141C33.3179 6.30613 33.3835 6.41724 33.401 6.54031C33.4356 6.78594 33.6653 10.1497 33.906 11.1841C33.934 11.3051 33.9129 11.4323 33.8472 11.5378C33.7815 11.6433 33.6767 11.7184 33.5556 11.7466C33.5207 11.7547 33.485 11.7588 33.4491 11.7587C33.3433 11.7587 33.2406 11.7228 33.1578 11.657C33.0749 11.5912 33.0168 11.4993 32.9928 11.3962C32.7353 10.2884 32.5025 6.88344 32.4728 6.67125C32.4555 6.54822 32.4878 6.42337 32.5625 6.3241C32.6372 6.22484 32.7483 6.1593 32.8713 6.14187Z" fill="#2F66D3"/>
<path d="M11.9269 11.4344C11.8085 11.3965 11.6799 11.4071 11.5694 11.464C11.4588 11.5209 11.3754 11.6194 11.3375 11.7378C10.7983 13.367 10.0646 14.9253 9.1522 16.3787C9.08664 16.4844 9.06573 16.6117 9.09407 16.7328C9.1224 16.8538 9.19766 16.9587 9.30329 17.0242C9.40892 17.0898 9.53627 17.1107 9.65732 17.0824C9.77837 17.054 9.8832 16.9788 9.94876 16.8731C10.9015 15.3544 11.6674 13.7263 12.23 12.0241C12.2488 11.9654 12.2559 11.9037 12.2509 11.8423C12.2458 11.781 12.2288 11.7212 12.2006 11.6664C12.1725 11.6117 12.1338 11.563 12.0868 11.5232C12.0399 11.4834 11.9855 11.4532 11.9269 11.4344Z" fill="#2F66D3"/>
<path d="M31.2728 20.8356C31.4563 20.8452 31.6401 20.8438 31.8234 20.8313C32.0766 20.8175 32.3781 20.7875 32.7125 20.745C32.729 20.7432 32.7447 20.7368 32.7578 20.7264C32.7709 20.7161 32.7808 20.7023 32.7864 20.6867C32.792 20.671 32.7931 20.654 32.7895 20.6378C32.786 20.6215 32.7779 20.6066 32.7662 20.5947C32.3332 20.1585 31.9238 19.6995 31.5397 19.2197C31.4945 19.1645 31.4628 19.0995 31.4471 19.0299C31.4314 18.9603 31.4322 18.8881 31.4495 18.8188C31.4667 18.7496 31.4998 18.6854 31.5462 18.6312C31.5927 18.577 31.6511 18.5345 31.7169 18.5069L31.7256 18.5034C31.8185 18.465 31.9212 18.4573 32.0187 18.4817C32.1162 18.5061 32.2033 18.5611 32.2672 18.6388C32.7602 19.2606 33.3049 19.8397 33.8953 20.37C33.9548 20.4211 34.025 20.4581 34.1007 20.4784C34.1765 20.4986 34.2558 20.5015 34.3328 20.4869C34.5669 20.4434 34.8062 20.3963 35.0475 20.3463C35.0674 20.3423 35.0861 20.3339 35.1023 20.3217C35.1185 20.3095 35.1318 20.2938 35.1411 20.2758C35.1504 20.2578 35.1555 20.2379 35.1561 20.2177C35.1566 20.1974 35.1526 20.1773 35.1444 20.1588C34.4916 18.6922 33.7862 15.8231 33.41 13.4575C33.3905 13.3347 33.4205 13.2092 33.4936 13.1086C33.5666 13.008 33.6766 12.9405 33.7994 12.9209C33.9222 12.9014 34.0477 12.9315 34.1483 13.0045C34.2489 13.0775 34.3164 13.1875 34.3359 13.3103C34.7837 16.1253 35.5306 18.7934 36.0462 19.89C36.075 19.9501 36.1238 19.9984 36.1842 20.0264C36.2447 20.0544 36.313 20.0604 36.3775 20.0434C36.6956 19.9634 37.3244 19.7409 37.7634 19.5819C37.822 19.5607 37.8842 19.5514 37.9465 19.5544C38.0087 19.5575 38.0697 19.5729 38.1259 19.5997C38.1822 19.6265 38.2325 19.6643 38.274 19.7107C38.3155 19.7572 38.3474 19.8114 38.3678 19.8703L38.3716 19.8816C38.4126 19.9986 38.4058 20.1271 38.3526 20.2391C38.2994 20.3511 38.2041 20.4376 38.0875 20.4797C37.6269 20.645 36.9312 20.8713 36.6019 20.9538C36.5415 20.9684 36.4875 21.0024 36.4481 21.0504C36.4086 21.0984 36.3858 21.1579 36.3831 21.22C36.3519 22.1331 36.3962 23.2603 36.4334 24.1997C36.4594 24.8534 36.4819 25.4184 36.4709 25.7522C36.467 25.8739 36.4159 25.9893 36.3284 26.074C36.241 26.1587 36.1239 26.206 36.0022 26.2059C35.9734 26.2059 35.9494 26.2059 35.8772 26.1541C35.7713 26.0766 35.685 25.9753 35.6254 25.8584C35.5657 25.7415 35.5343 25.6122 35.5337 25.4809C35.5312 25.1684 35.5137 24.7278 35.4944 24.2362C35.4591 23.3488 35.4184 22.2987 35.4391 21.3909C35.4394 21.3704 35.435 21.3501 35.4264 21.3316C35.4177 21.313 35.4049 21.2966 35.389 21.2837C35.3731 21.2708 35.3544 21.2617 35.3345 21.257C35.3145 21.2524 35.2937 21.2523 35.2737 21.2569C35.0591 21.3016 34.8459 21.3441 34.6359 21.3837C34.5418 21.4016 34.4545 21.4451 34.3836 21.5094C34.3126 21.5738 34.2609 21.6565 34.2341 21.7484C33.6202 23.8123 33.2134 25.9321 33.0197 28.0766C33.0082 28.1922 32.9542 28.2995 32.8681 28.3776C32.782 28.4556 32.67 28.4989 32.5537 28.4991C32.5042 28.5003 32.4551 28.4896 32.4105 28.4678C32.366 28.446 32.3273 28.4139 32.2978 28.3741C32.2254 28.2893 32.1713 28.1904 32.139 28.0837C32.1067 27.977 32.097 27.8648 32.1103 27.7541C32.3064 25.7213 32.6908 23.7111 33.2587 21.7494C33.2626 21.7346 33.2628 21.7191 33.2593 21.7042C33.2559 21.6893 33.2488 21.6755 33.2387 21.664C33.2287 21.6525 33.216 21.6436 33.2017 21.6381C33.1874 21.6326 33.172 21.6307 33.1569 21.6325C32.6662 21.7019 32.2312 21.7484 31.8756 21.7681C31.7228 21.7759 31.5909 21.78 31.4753 21.78C31.3862 21.78 31.3069 21.7775 31.2347 21.7728C31.1247 21.7685 31.0193 21.7271 30.9359 21.6552C30.8525 21.5834 30.7959 21.4854 30.7753 21.3772C30.7641 21.3073 30.7689 21.2358 30.7893 21.1681C30.8096 21.1003 30.8451 21.0381 30.893 20.986C30.9408 20.9339 30.9999 20.8933 31.0656 20.8672C31.1314 20.8412 31.2022 20.8304 31.2728 20.8356Z" fill="#2F66D3"/>
<path d="M27.8906 11.4344C28.009 11.3965 28.1376 11.4071 28.2482 11.464C28.3587 11.5209 28.4421 11.6194 28.48 11.7378C29.0192 13.367 29.7529 14.9253 30.6653 16.3787C30.7309 16.4844 30.7518 16.6117 30.7235 16.7328C30.6951 16.8538 30.6199 16.9587 30.5142 17.0242C30.4086 17.0898 30.2813 17.1107 30.1602 17.0824C30.0392 17.054 29.9343 16.9788 29.8688 16.8731C28.916 15.3544 28.1501 13.7263 27.5875 12.0241C27.5687 11.9654 27.5616 11.9037 27.5666 11.8423C27.5717 11.781 27.5888 11.7212 27.6169 11.6664C27.6451 11.6117 27.6837 11.563 27.7307 11.5232C27.7777 11.4834 27.832 11.4532 27.8906 11.4344Z" fill="#2F66D3"/>
<path d="M39.2056 0.9375H0.46875C0.34443 0.9375 0.225201 0.888114 0.137294 0.800206C0.049386 0.712299 0 0.59307 0 0.46875C0 0.34443 0.049386 0.225201 0.137294 0.137294C0.225201 0.049386 0.34443 1.85252e-09 0.46875 0H39.2056C39.3299 1.85252e-09 39.4492 0.049386 39.5371 0.137294C39.625 0.225201 39.6744 0.34443 39.6744 0.46875C39.6744 0.59307 39.625 0.712299 39.5371 0.800206C39.4492 0.888114 39.3299 0.9375 39.2056 0.9375Z" fill="#2F66D3"/>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

19
assets/icons/Gateway.svg Normal file
View File

@ -0,0 +1,19 @@
<svg width="40" height="38" viewBox="0 0 40 38" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.9375 37.5C5.28977 37.5 4.76562 36.9759 4.76562 36.3281V33.9844C4.76562 33.3366 5.28977 32.8125 5.9375 32.8125C6.58523 32.8125 7.10938 33.3366 7.10938 33.9844V36.3281C7.10938 36.9759 6.58523 37.5 5.9375 37.5Z" fill="#5C6699"/>
<path d="M34.0625 37.5C33.4148 37.5 32.8906 36.9759 32.8906 36.3281V33.9844C32.8906 33.3366 33.4148 32.8125 34.0625 32.8125C34.7102 32.8125 35.2344 33.3366 35.2344 33.9844V36.3281C35.2344 36.9759 34.7102 37.5 34.0625 37.5Z" fill="#404A80"/>
<path d="M7.20319 22.7268L0.171944 6.32055C-0.0821186 5.72656 0.192569 5.03766 0.787647 4.78242C1.37585 4.52836 2.06937 4.79961 2.32804 5.39813L9.35929 21.8044C9.61335 22.3984 9.33866 23.0873 8.74358 23.3425C8.16148 23.5939 7.46468 23.3323 7.20319 22.7268Z" fill="#5C6699"/>
<path d="M31.2564 23.3425C30.6613 23.0873 30.3866 22.3984 30.6407 21.8044L37.6719 5.39813C37.9306 4.79961 38.6195 4.5261 39.2123 4.78242C39.8074 5.03766 40.0821 5.72656 39.828 6.32055L32.7968 22.7268C32.5352 23.3325 31.8384 23.5938 31.2564 23.3425Z" fill="#404A80"/>
<path d="M36.4844 35.1562H3.51562C1.57703 35.1562 0 33.5792 0 31.6406V24.6094C0 22.6708 1.57703 21.0938 3.51562 21.0938H36.4844C38.423 21.0938 40 22.6708 40 24.6094V31.6406C40 33.5792 38.423 35.1562 36.4844 35.1562Z" fill="#C1DCFF"/>
<path d="M36.4844 21.0938H20V35.1562H36.4844C38.423 35.1562 40 33.5792 40 31.6406V24.6094C40 22.6708 38.423 21.0938 36.4844 21.0938Z" fill="#D5E8FE"/>
<path d="M20.824 16.7507C20.6958 16.6226 20.4166 16.4062 20 16.4062C19.5834 16.4062 19.3042 16.6226 19.176 16.7507C18.7183 17.2084 17.9766 17.2084 17.5189 16.7507C17.0612 16.293 17.0612 15.5513 17.5189 15.0936C17.9034 14.708 18.7388 14.0625 20 14.0625C21.2612 14.0625 22.0966 14.708 22.4811 15.0936C22.9388 15.5513 22.9388 16.293 22.4811 16.7507C22.0234 17.2084 21.2817 17.2085 20.824 16.7507Z" fill="#80BFFF"/>
<path d="M30.7734 6.81156C27.8941 3.92992 24.0672 2.34375 20 2.34375C15.9327 2.34375 12.1058 3.92992 9.22655 6.81156C8.76881 7.2693 8.02717 7.2693 7.56944 6.81156C7.1117 6.35383 7.1117 5.61219 7.56944 5.15445C10.8928 1.83109 15.3056 0 20 0C24.6944 0 29.1072 1.83109 32.4305 5.15445C32.8883 5.61219 32.8883 6.35383 32.4305 6.81156C31.9728 7.2693 31.2312 7.2693 30.7734 6.81156Z" fill="#80BFFF"/>
<path d="M27.4569 10.1246C25.4634 8.12992 22.8152 7.03125 20 7.03125C17.1847 7.03125 14.5365 8.12992 12.543 10.1246C12.0853 10.5823 11.3436 10.5823 10.8859 10.1246C10.4282 9.66687 10.4282 8.92523 10.8859 8.4675C13.3212 6.02992 16.5599 4.6875 20 4.6875C23.44 4.6875 26.6787 6.02992 29.114 8.4675C29.5718 8.92523 29.5718 9.66687 29.114 10.1246C28.6563 10.5823 27.9147 10.5823 27.4569 10.1246Z" fill="#80BFFF"/>
<path d="M24.1405 13.4376C21.9249 11.2198 18.0751 11.2198 15.8595 13.4376C15.4018 13.8954 14.6602 13.8954 14.2024 13.4376C13.7447 12.981 13.7447 12.2383 14.2024 11.7805C17.3015 8.67921 22.6985 8.67921 25.7976 11.7805C26.2553 12.2383 26.2553 12.981 25.7976 13.4376C25.3399 13.8954 24.5983 13.8954 24.1405 13.4376Z" fill="#80BFFF"/>
<path d="M24.6875 30.4688C24.0398 30.4688 23.5156 29.9446 23.5156 29.2969V26.9531C23.5156 26.3054 24.0398 25.7812 24.6875 25.7812C25.3352 25.7812 25.8594 26.3054 25.8594 26.9531V29.2969C25.8594 29.9446 25.3352 30.4688 24.6875 30.4688Z" fill="#6699FF"/>
<path d="M29.375 30.4688C28.7273 30.4688 28.2031 29.9446 28.2031 29.2969V26.9531C28.2031 26.3054 28.7273 25.7812 29.375 25.7812C30.0227 25.7812 30.5469 26.3054 30.5469 26.9531V29.2969C30.5469 29.9446 30.0227 30.4688 29.375 30.4688Z" fill="#6699FF"/>
<path d="M34.0625 30.4688C33.4148 30.4688 32.8906 29.9446 32.8906 29.2969V26.9531C32.8906 26.3054 33.4148 25.7812 34.0625 25.7812C34.7102 25.7812 35.2344 26.3054 35.2344 26.9531V29.2969C35.2344 29.9446 34.7102 30.4688 34.0625 30.4688Z" fill="#6699FF"/>
<path d="M20.824 16.7507C21.2817 17.2084 22.0233 17.2085 22.4811 16.7507C22.9388 16.293 22.9388 15.5513 22.4811 15.0936C22.0966 14.708 21.2612 14.0625 20 14.0625V16.4062C20.4166 16.4062 20.6958 16.6226 20.824 16.7507Z" fill="#6699FF"/>
<path d="M24.1405 13.4377C24.5982 13.8954 25.3398 13.8955 25.7976 13.4377C26.2553 12.981 26.2553 12.2383 25.7976 11.7805C24.248 10.2298 22.1241 9.45453 20 9.45453V11.7742C21.5163 11.7742 23.0327 12.3287 24.1405 13.4377Z" fill="#6699FF"/>
<path d="M27.457 10.1246C27.9147 10.5823 28.6562 10.5824 29.1141 10.1246C29.5718 9.66687 29.5718 8.92523 29.1141 8.4675C26.6788 6.02992 23.4401 4.6875 20 4.6875V7.03125C22.8152 7.03125 25.4634 8.12992 27.457 10.1246Z" fill="#6699FF"/>
<path d="M30.7734 6.81156C31.2312 7.2693 31.9727 7.26938 32.4305 6.81156C32.8883 6.35383 32.8883 5.61219 32.4305 5.15445C29.1072 1.83109 24.6944 0 20 0V2.34375C24.0673 2.34375 27.8941 3.92992 30.7734 6.81156Z" fill="#6699FF"/>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

15
assets/icons/Light.svg Normal file
View File

@ -0,0 +1,15 @@
<svg width="35" height="40" viewBox="0 0 35 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22.0001 30.5834C22.5001 28.9167 23.5001 27.4167 24.8335 26.25C27.3335 24.1666 28.9168 21 28.9168 17.5C28.9168 11 23.5002 5.66664 16.8335 6C10.9168 6.25 6.08341 11.25 5.91677 17.1666C5.83341 20.8334 7.41677 24.0834 10.0001 26.25C11.4168 27.4166 12.4168 28.9166 12.9168 30.5834H22.0001Z" fill="#FFD15C"/>
<path d="M16.3334 30.75H17.0834L13.75 18.3334C13.8334 18.3334 13.9167 18.3334 14 18.3334C14.4167 18.3334 14.8334 18.1667 15.1667 17.8334C15.3333 17.6667 15.5 17.5834 15.75 17.5834C16 17.5834 16.1667 17.6667 16.3334 17.8334C16.9168 18.5 17.9168 18.5 18.5 17.8334C18.6667 17.6667 18.8334 17.5834 19.0834 17.5834C19.25 17.5834 19.5 17.6667 19.6668 17.8334C20.0001 18.1667 20.3334 18.3334 20.8334 18.3334C20.9168 18.3334 21 18.3334 21.0834 18.3334L17.8334 30.75H18.5834L22 17.75C22 17.5834 22 17.4166 21.8334 17.3334C21.6668 17.25 21.5 17.3334 21.4168 17.4167C21.2501 17.5834 21.0834 17.6667 20.9168 17.6667C20.6668 17.6667 20.5001 17.5834 20.2501 17.4167C19.9168 17.0834 19.5835 16.9167 19.1668 16.9167C18.75 16.9167 18.4168 17.0834 18.0834 17.4167C17.75 17.7501 17.25 17.7501 16.9168 17.4167C16.6668 17.0834 16.2501 16.9167 15.8334 16.9167C15.4168 16.9167 15 17.0834 14.75 17.4167C14.5834 17.5834 14.3334 17.6667 14.0834 17.6667C13.9168 17.6667 13.6668 17.5834 13.5834 17.4167C13.5 17.3334 13.3334 17.2501 13.1668 17.3334C13.0001 17.4167 12.9168 17.5834 13.0001 17.75L16.3334 30.75Z" fill="white"/>
<path d="M14.8334 38.25C15.2501 39.25 16.2501 40 17.4167 40C18.5834 40 19.5834 39.25 20.0001 38.25H14.8334Z" fill="#344A5E"/>
<path d="M20.5001 38.3334H14.4167C13.5834 38.3334 12.9167 37.6667 12.9167 36.8334V30.5H22.0001V36.8334C22.0001 37.6666 21.3334 38.3334 20.5001 38.3334Z" fill="#344A5E"/>
<path d="M21.9168 33.6666H12.9168C12.4168 33.6666 12.0001 33.25 12.0001 32.75C12.0001 32.25 12.4168 31.8334 12.9168 31.8334H21.9168C22.4168 31.8334 22.8334 32.25 22.8334 32.75C22.8334 33.25 22.4168 33.6666 21.9168 33.6666Z" fill="#415A6B"/>
<path d="M21.9168 36.5834H12.9168C12.4168 36.5834 12.0001 36.1667 12.0001 35.6667C12.0001 35.1667 12.4168 34.7501 12.9168 34.7501H21.9168C22.4168 34.7501 22.8334 35.1667 22.8334 35.6667C22.8334 36.1666 22.4168 36.5834 21.9168 36.5834Z" fill="#415A6B"/>
<path d="M17.4167 0C17.0001 0 16.5834 0.333359 16.5834 0.833359V3.66672C16.5834 4.08336 16.9167 4.50008 17.4167 4.50008C17.9167 4.50008 18.2501 4.16672 18.2501 3.66672V0.833359C18.2501 0.333359 17.8334 0 17.4167 0Z" fill="#FFD15C"/>
<path d="M6.25007 5.08336C5.91671 4.75 5.41671 4.75 5.08343 5.08336C4.75014 5.41672 4.75007 5.91672 5.08343 6.25L7.08343 8.25C7.41678 8.58336 7.91679 8.58336 8.25007 8.25C8.58335 7.91664 8.58343 7.41664 8.25007 7.08336L6.25007 5.08336Z" fill="#FFD15C"/>
<path d="M3.66672 16.5834H0.833359C0.416719 16.5834 0 16.9167 0 17.4167C0 17.8334 0.333359 18.2501 0.833359 18.2501H3.66672C4.08336 18.2501 4.50008 17.9167 4.50008 17.4167C4.50008 17 4.08336 16.5834 3.66672 16.5834Z" fill="#FFD15C"/>
<path d="M7.08333 26.5834L5.08333 28.5834C4.74997 28.9167 4.74997 29.4167 5.08333 29.75C5.41669 30.0833 5.91669 30.0834 6.24997 29.75L8.24997 27.75C8.58333 27.4166 8.58333 26.9166 8.24997 26.5834C7.91661 26.2501 7.41669 26.25 7.08333 26.5834Z" fill="#FFD15C"/>
<path d="M27.7501 26.5834C27.4167 26.25 26.9167 26.25 26.5833 26.5834C26.25 26.9167 26.25 27.4167 26.5833 27.75L28.5833 29.75C28.9167 30.0834 29.4167 30.0834 29.75 29.75C30.0833 29.4166 30.0833 28.9166 29.75 28.5834L27.7501 26.5834Z" fill="#FFD15C"/>
<path d="M34.0001 16.5834H31.1667C30.7501 16.5834 30.3334 16.9167 30.3334 17.4167C30.3334 17.8334 30.6667 18.2501 31.1667 18.2501H34.0001C34.4167 18.2501 34.8335 17.9167 34.8335 17.4167C34.8334 17 34.5001 16.5834 34.0001 16.5834Z" fill="#FFD15C"/>
<path d="M28.5833 5.08336L26.5833 7.08336C26.25 7.41672 26.25 7.91672 26.5833 8.25C26.9167 8.58336 27.4167 8.58336 27.75 8.25L29.75 6.25C30.0833 5.91664 30.0833 5.41664 29.75 5.08336C29.4166 4.75008 28.9167 4.75 28.5833 5.08336Z" fill="#FFD15C"/>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

24
assets/icons/doorLock.svg Normal file
View File

@ -0,0 +1,24 @@
<svg width="30" height="39" viewBox="0 0 30 39" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.25 0H1.25C0.559644 0 0 0.559644 0 1.25V37.5C0 38.1904 0.559644 38.75 1.25 38.75H16.25C16.9404 38.75 17.5 38.1904 17.5 37.5V1.25C17.5 0.559644 16.9404 0 16.25 0Z" fill="#7A838B"/>
<path d="M6.875 36.875C5.54892 36.875 4.27715 36.3482 3.33947 35.4105C2.40178 34.4729 1.875 33.2011 1.875 31.875V0H1.25C0.918479 0 0.600537 0.131696 0.366117 0.366117C0.131696 0.600537 0 0.918479 0 1.25V37.5C0 37.8315 0.131696 38.1495 0.366117 38.3839C0.600537 38.6183 0.918479 38.75 1.25 38.75H16.25C16.5815 38.75 16.8995 38.6183 17.1339 38.3839C17.3683 38.1495 17.5 37.8315 17.5 37.5V36.875H6.875Z" fill="#5D6972"/>
<path d="M5.625 36.25C8.04125 36.25 10 34.2912 10 31.875C10 29.4588 8.04125 27.5 5.625 27.5C3.20875 27.5 1.25 29.4588 1.25 31.875C1.25 34.2912 3.20875 36.25 5.625 36.25Z" fill="#5D6972"/>
<path d="M6.875 35C9.29125 35 11.25 33.0412 11.25 30.625C11.25 28.2088 9.29125 26.25 6.875 26.25C4.45875 26.25 2.5 28.2088 2.5 30.625C2.5 33.0412 4.45875 35 6.875 35Z" fill="#D6E4E8"/>
<path d="M26.25 28.125H7.5C6.11929 28.125 5 29.2443 5 30.625C5 32.0057 6.11929 33.125 7.5 33.125H26.25C27.6307 33.125 28.75 32.0057 28.75 30.625C28.75 29.2443 27.6307 28.125 26.25 28.125Z" fill="#D6E4E8"/>
<path d="M28.125 31.25H9.37503C8.99865 31.2527 8.62659 31.1697 8.287 31.0074C7.9474 30.8451 7.64916 30.6077 7.41482 30.3131C7.18049 30.0186 7.0162 29.6746 6.93437 29.3072C6.85255 28.9398 6.85534 28.5587 6.94253 28.1925C6.3479 28.3335 5.82549 28.6874 5.47404 29.1873C5.12258 29.6872 4.96641 30.2986 5.03505 30.9059C5.10368 31.5131 5.39237 32.0742 5.84654 32.4831C6.30072 32.8919 6.88893 33.1203 7.50003 33.125H26.25C26.8154 33.124 27.3637 32.9313 27.8055 32.5786C28.2473 32.2258 28.5565 31.7336 28.6825 31.1825C28.4998 31.226 28.3128 31.2487 28.125 31.25Z" fill="#BACED3"/>
<path d="M3.75 6.25C4.44036 6.25 5 5.69036 5 5C5 4.30964 4.44036 3.75 3.75 3.75C3.05964 3.75 2.5 4.30964 2.5 5C2.5 5.69036 3.05964 6.25 3.75 6.25Z" fill="#62B5E8"/>
<path d="M8.75 6.25C9.44036 6.25 10 5.69036 10 5C10 4.30964 9.44036 3.75 8.75 3.75C8.05964 3.75 7.5 4.30964 7.5 5C7.5 5.69036 8.05964 6.25 8.75 6.25Z" fill="#62B5E8"/>
<path d="M13.75 6.25C14.4404 6.25 15 5.69036 15 5C15 4.30964 14.4404 3.75 13.75 3.75C13.0596 3.75 12.5 4.30964 12.5 5C12.5 5.69036 13.0596 6.25 13.75 6.25Z" fill="#62B5E8"/>
<path d="M3.75 11.25C4.44036 11.25 5 10.6904 5 10C5 9.30964 4.44036 8.75 3.75 8.75C3.05964 8.75 2.5 9.30964 2.5 10C2.5 10.6904 3.05964 11.25 3.75 11.25Z" fill="#62B5E8"/>
<path d="M8.75 11.25C9.44036 11.25 10 10.6904 10 10C10 9.30964 9.44036 8.75 8.75 8.75C8.05964 8.75 7.5 9.30964 7.5 10C7.5 10.6904 8.05964 11.25 8.75 11.25Z" fill="#62B5E8"/>
<path d="M13.75 11.25C14.4404 11.25 15 10.6904 15 10C15 9.30964 14.4404 8.75 13.75 8.75C13.0596 8.75 12.5 9.30964 12.5 10C12.5 10.6904 13.0596 11.25 13.75 11.25Z" fill="#62B5E8"/>
<path d="M3.75 16.25C4.44036 16.25 5 15.6904 5 15C5 14.3096 4.44036 13.75 3.75 13.75C3.05964 13.75 2.5 14.3096 2.5 15C2.5 15.6904 3.05964 16.25 3.75 16.25Z" fill="#62B5E8"/>
<path d="M8.75 16.25C9.44036 16.25 10 15.6904 10 15C10 14.3096 9.44036 13.75 8.75 13.75C8.05964 13.75 7.5 14.3096 7.5 15C7.5 15.6904 8.05964 16.25 8.75 16.25Z" fill="#62B5E8"/>
<path d="M13.75 16.25C14.4404 16.25 15 15.6904 15 15C15 14.3096 14.4404 13.75 13.75 13.75C13.0596 13.75 12.5 14.3096 12.5 15C12.5 15.6904 13.0596 16.25 13.75 16.25Z" fill="#62B5E8"/>
<path d="M3.75 20H11.25V25H3.75V20Z" fill="#5D6972"/>
<path d="M5 18.75H12.5V23.75H5V18.75Z" fill="#D6E4E8"/>
<path d="M6.25 20V18.75H5V23.75H12.5V22.5H8.75C8.08696 22.5 7.45107 22.2366 6.98223 21.7678C6.51339 21.2989 6.25 20.663 6.25 20Z" fill="#BACED3"/>
<path d="M22.5 25.625C23.1904 25.625 23.75 25.0654 23.75 24.375C23.75 23.6846 23.1904 23.125 22.5 23.125C21.8096 23.125 21.25 23.6846 21.25 24.375C21.25 25.0654 21.8096 25.625 22.5 25.625Z" fill="#6DBC53"/>
<path d="M27.3125 20.4C27.3709 20.3423 27.4174 20.2736 27.4493 20.1979C27.4812 20.1222 27.4978 20.041 27.4983 19.9588C27.4988 19.8767 27.483 19.7953 27.452 19.7192C27.421 19.6432 27.3753 19.574 27.3175 19.5156C26.6877 18.8772 25.9374 18.3702 25.1101 18.0242C24.2827 17.6782 23.3949 17.5 22.4981 17.5C21.6013 17.5 20.7135 17.6782 19.8862 18.0242C19.0588 18.3702 18.3085 18.8772 17.6787 19.5156C17.621 19.574 17.5753 19.6431 17.5443 19.7192C17.5133 19.7952 17.4976 19.8765 17.498 19.9586C17.4984 20.0407 17.515 20.1219 17.5468 20.1976C17.5787 20.2733 17.6251 20.3419 17.6834 20.3997C17.7418 20.4574 17.8109 20.5031 17.887 20.5341C17.963 20.5651 18.0443 20.5809 18.1264 20.5804C18.2085 20.58 18.2897 20.5634 18.3654 20.5316C18.4411 20.4998 18.5098 20.4534 18.5675 20.395C19.081 19.874 19.6929 19.4603 20.3677 19.1779C21.0424 18.8955 21.7666 18.7501 22.4981 18.7501C23.2296 18.7501 23.9538 18.8955 24.6286 19.1779C25.3034 19.4603 25.9153 19.874 26.4287 20.395C26.5453 20.5128 26.7039 20.5796 26.8696 20.5805C27.0353 20.5814 27.1946 20.5165 27.3125 20.4Z" fill="#6DBC53"/>
<path d="M15.8 18.5575C15.8569 18.6167 15.9248 18.6642 16 18.6971C16.0752 18.7301 16.1561 18.7479 16.2382 18.7496C16.3202 18.7513 16.4018 18.7368 16.4783 18.7069C16.5547 18.6771 16.6246 18.6325 16.6838 18.5756C18.2524 17.0827 20.3351 16.25 22.5007 16.25C24.6662 16.25 26.7489 17.0827 28.3175 18.5756C28.376 18.6359 28.446 18.6838 28.5233 18.7164C28.6007 18.7491 28.6839 18.7658 28.7678 18.7656C28.8518 18.7654 28.9349 18.7482 29.0121 18.7152C29.0893 18.6822 29.159 18.6339 29.2172 18.5734C29.2753 18.5128 29.3207 18.4411 29.3505 18.3626C29.3803 18.2841 29.394 18.2004 29.3908 18.1165C29.3876 18.0326 29.3674 17.9502 29.3317 17.8742C29.2959 17.7983 29.2452 17.7303 29.1825 17.6744C27.3811 15.9583 24.9886 15.0012 22.5007 15.0012C20.0127 15.0012 17.6202 15.9583 15.8188 17.6744C15.6993 17.789 15.6302 17.9465 15.6267 18.1121C15.6232 18.2776 15.6855 18.4379 15.8 18.5575Z" fill="#6DBC53"/>
<path d="M25 22.3481C25.1221 22.3482 25.2415 22.3125 25.3435 22.2454C25.4455 22.1784 25.5257 22.083 25.574 21.9709C25.6224 21.8588 25.6369 21.735 25.6158 21.6148C25.5946 21.4946 25.5387 21.3832 25.455 21.2944C25.0786 20.8862 24.6216 20.5605 24.113 20.3377C23.6045 20.1149 23.0552 19.9999 22.5 19.9999C21.9448 19.9999 21.3955 20.1149 20.8869 20.3377C20.3784 20.5605 19.9214 20.8862 19.545 21.2944C19.4313 21.415 19.3702 21.576 19.3751 21.7417C19.38 21.9074 19.4506 22.0644 19.5712 22.1781C19.6919 22.2918 19.8528 22.353 20.0186 22.348C20.1843 22.3431 20.3413 22.2725 20.455 22.1519C20.7145 21.8677 21.0304 21.6407 21.3825 21.4855C21.7346 21.3302 22.1152 21.25 22.5 21.25C22.8848 21.25 23.2654 21.3302 23.6175 21.4855C23.9696 21.6407 24.2855 21.8677 24.545 22.1519C24.6035 22.2139 24.674 22.2633 24.7522 22.297C24.8305 22.3308 24.9148 22.3482 25 22.3481Z" fill="#6DBC53"/>
</svg>

After

Width:  |  Height:  |  Size: 6.6 KiB

19
assets/icons/sensors.svg Normal file
View File

@ -0,0 +1,19 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M23.9062 27.0312H16.0938C14.3679 27.0312 12.9688 25.6321 12.9688 23.9062V16.0938C12.9688 14.3679 14.3679 12.9688 16.0938 12.9688H23.9062C25.6321 12.9688 27.0312 14.3679 27.0312 16.0938V23.9062C27.0312 25.6321 25.6321 27.0312 23.9062 27.0312Z" fill="#7E8596"/>
<path d="M20 23.9062V16.0938C20 14.3679 21.3991 12.9688 23.125 12.9688H16.0938C14.3679 12.9688 12.9688 14.3679 12.9688 16.0938V23.9062C12.9688 25.6321 14.3679 27.0312 16.0938 27.0312H23.125C21.3991 27.0312 20 25.6321 20 23.9062Z" fill="#636978"/>
<path d="M20 16.875L18.4375 20L20 23.125H23.125V16.875H20Z" fill="#FFF04A"/>
<path d="M16.875 16.875H20V23.125H16.875V16.875Z" fill="#FFDA45"/>
<path d="M28.5651 4.71953C28.4152 4.71953 28.2652 4.66234 28.1508 4.54797C25.9736 2.37086 23.079 1.17188 20.0001 1.17188C16.9212 1.17188 14.0265 2.37086 11.8492 4.54797C11.6204 4.77672 11.2494 4.7768 11.0206 4.54789C10.7918 4.31906 10.7918 3.94805 11.0206 3.7193C13.4192 1.32086 16.6081 0 20.0001 0C23.3919 0 26.5809 1.32086 28.9795 3.71922C29.2083 3.94812 29.2083 4.31906 28.9795 4.54781C28.865 4.66234 28.715 4.71953 28.5651 4.71953Z" fill="#87C7FF"/>
<path d="M25.7101 7.57461C25.5601 7.57461 25.4101 7.51742 25.2958 7.40305C23.8811 5.98852 22.0004 5.20953 20 5.20953C17.9995 5.20953 16.1187 5.9886 14.7042 7.40305C14.4754 7.63188 14.1044 7.6318 13.8756 7.40297C13.6468 7.17414 13.6468 6.80313 13.8756 6.57438C15.5115 4.9386 17.6865 4.03766 20.0001 4.03766C22.3135 4.03766 24.4885 4.93852 26.1243 6.57438C26.3533 6.80321 26.3533 7.17422 26.1244 7.40297C26.01 7.51742 25.86 7.57461 25.7101 7.57461Z" fill="#87C7FF"/>
<path d="M22.855 10.4297C22.7051 10.4297 22.5551 10.3725 22.4406 10.2581C21.0949 8.91226 18.9051 8.91226 17.5593 10.2581C17.3305 10.4869 16.9595 10.4869 16.7307 10.2581C16.5019 10.0292 16.5019 9.65828 16.7307 9.42945C18.5334 7.62687 21.4666 7.62687 23.2694 9.42945C23.4982 9.65835 23.4982 10.0293 23.2694 10.2581C23.1549 10.3725 23.0049 10.4297 22.855 10.4297Z" fill="#87C7FF"/>
<path d="M19.9999 40C16.608 40 13.4191 38.6791 11.0206 36.2808C10.7918 36.0519 10.7918 35.6809 11.0206 35.4522C11.2494 35.2233 11.6205 35.2234 11.8492 35.4521C14.0264 37.6291 16.921 38.8281 19.9999 38.8281C23.0788 38.8281 25.9735 37.6291 28.1508 35.452C28.3796 35.2232 28.7506 35.2233 28.9794 35.4521C29.2081 35.6809 29.2082 36.052 28.9793 36.2807C26.5808 38.6791 23.3919 40 19.9999 40Z" fill="#87C7FF"/>
<path d="M18.8406 35.8803C18.8129 35.8803 18.7851 35.8784 18.7569 35.8744C16.9 35.6088 15.212 34.7621 13.8756 33.4257C13.6468 33.1969 13.6468 32.8259 13.8756 32.5971C14.1044 32.3682 14.4754 32.3683 14.7042 32.597C15.86 33.7528 17.3187 34.4849 18.9228 34.7143C19.2432 34.7602 19.4657 35.057 19.4199 35.3773C19.3781 35.6694 19.1275 35.8803 18.8406 35.8803Z" fill="#87C7FF"/>
<path d="M21.1594 35.8803C20.8725 35.8803 20.6219 35.6695 20.5801 35.3773C20.5343 35.0569 20.7569 34.7602 21.0772 34.7143C22.6812 34.4849 24.14 33.7527 25.2957 32.597C25.5246 32.3683 25.8955 32.3683 26.1244 32.597C26.3532 32.8259 26.3532 33.1969 26.1244 33.4257C24.788 34.762 23.1001 35.6087 21.243 35.8744C21.215 35.8783 21.1869 35.8803 21.1594 35.8803Z" fill="#87C7FF"/>
<path d="M20 31.9226C18.816 31.9226 17.632 31.4719 16.7306 30.5705C16.5018 30.3416 16.5018 29.9707 16.7306 29.7419C16.9594 29.5131 17.3304 29.5131 17.5592 29.7419C18.905 31.0877 21.0948 31.0877 22.4405 29.7419C22.6694 29.5131 23.0403 29.5131 23.2692 29.7419C23.498 29.9708 23.498 30.3417 23.2692 30.5705C22.3679 31.472 21.1839 31.9226 20 31.9226Z" fill="#87C7FF"/>
<path d="M35.8664 29.151C35.7165 29.151 35.5665 29.0938 35.4521 28.9795C35.2232 28.7505 35.2232 28.3796 35.452 28.1509C37.6291 25.9736 38.8281 23.079 38.8281 20.0001C38.8281 16.9212 37.6291 14.0265 35.452 11.8492C35.2232 11.6204 35.2232 11.2494 35.4521 11.0206C35.6809 10.7919 36.0519 10.7918 36.2807 11.0207C38.6791 13.4192 40 16.6081 40 20.0001C40 23.392 38.6791 26.5809 36.2808 28.9795C36.1663 29.0938 36.0163 29.151 35.8664 29.151Z" fill="#87C7FF"/>
<path d="M33.0113 26.296C32.8614 26.296 32.7114 26.2388 32.597 26.1244C32.3681 25.8956 32.3681 25.5246 32.597 25.2959C34.0114 23.8812 34.7905 22.0005 34.7905 20.0001C34.7905 17.9997 34.0114 16.1189 32.597 14.7043C32.3681 14.4755 32.3681 14.1044 32.597 13.8757C32.8259 13.6469 33.1969 13.6469 33.4256 13.8758C35.0614 15.5116 35.9624 17.6866 35.9624 20.0002C35.9624 22.3137 35.0615 24.4886 33.4256 26.1245C33.3113 26.2387 33.1613 26.296 33.0113 26.296Z" fill="#87C7FF"/>
<path d="M30.1562 23.4409C30.0063 23.4409 29.8563 23.3837 29.7419 23.2694C29.513 23.0405 29.513 22.6695 29.7419 22.4407C31.0877 21.0949 31.0877 18.9052 29.7419 17.5595C29.513 17.3305 29.513 16.9596 29.7419 16.7308C29.9708 16.502 30.3417 16.502 30.5705 16.7308C32.3732 18.5335 32.3732 21.4667 30.5705 23.2695C30.4562 23.3837 30.3062 23.4409 30.1562 23.4409Z" fill="#87C7FF"/>
<path d="M4.13367 29.151C3.98367 29.151 3.83375 29.0938 3.71938 28.9794C1.32086 26.5808 0 23.3919 0 19.9999C0 16.608 1.32086 13.4191 3.71922 11.0206C3.94805 10.7917 4.31906 10.7918 4.54781 11.0205C4.77664 11.2494 4.77664 11.6204 4.54781 11.8491C2.37086 14.0264 1.17188 16.9211 1.17188 19.9999C1.17188 23.0788 2.37086 25.9735 4.54797 28.1508C4.7768 28.3796 4.7768 28.7506 4.54797 28.9794C4.43359 29.0937 4.28359 29.151 4.13367 29.151Z" fill="#87C7FF"/>
<path d="M6.98867 26.296C6.83875 26.296 6.68875 26.2388 6.57438 26.1244C4.93852 24.4885 4.03766 22.3135 4.03766 20C4.03766 17.6865 4.93852 15.5115 6.57438 13.8755C6.80321 13.6468 7.17422 13.6468 7.40297 13.8755C7.6318 14.1045 7.6318 14.4754 7.40297 14.7042C5.98852 16.1188 5.20953 17.9995 5.20953 20C5.20953 22.0004 5.98852 23.8812 7.40305 25.2958C7.63188 25.5246 7.63188 25.8956 7.40305 26.1244C7.2886 26.2388 7.1386 26.296 6.98867 26.296Z" fill="#87C7FF"/>
<path d="M9.84374 23.4409C9.69382 23.4409 9.54382 23.3838 9.42944 23.2694C7.62671 21.4666 7.62671 18.5334 9.42944 16.7307C9.65827 16.502 10.0293 16.502 10.258 16.7307C10.4869 16.9596 10.4869 17.3305 10.258 17.5594C8.91226 18.9052 8.91226 21.0949 10.258 22.4406C10.4869 22.6695 10.4869 23.0405 10.258 23.2693C10.1437 23.3838 9.99366 23.4409 9.84374 23.4409Z" fill="#87C7FF"/>
</svg>

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
import 'package:syncrow_web/pages/device_managment/ac/view/ac_device_control.dart';
import 'package:syncrow_web/pages/device_managment/all_devices/models/devices_model.dart';
import 'package:syncrow_web/pages/device_managment/ceiling_sensor/view/ceiling_sensor_controls.dart';
import 'package:syncrow_web/pages/device_managment/gateway/view/gateway_view.dart';
import 'package:syncrow_web/pages/device_managment/living_room_switch/view/living_room_device_control.dart';
import 'package:syncrow_web/pages/device_managment/wall_sensor/view/wall_sensor_conrtols.dart';
@ -14,7 +15,9 @@ mixin RouteControlsBasedCode {
device: device,
);
case 'GW':
return const SizedBox();
return GateWayControls(
gatewayId: device.uuid!,
);
case 'DL':
return const SizedBox();
case 'WPS':

View File

@ -0,0 +1,30 @@
import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:syncrow_web/pages/visitor_password/model/device_model.dart';
import 'package:syncrow_web/services/devices_mang_api.dart';
part 'gate_way_event.dart';
part 'gate_way_state.dart';
class GateWayBloc extends Bloc<GateWayEvent, GateWayState> {
GateWayBloc() : super(GateWayInitial()) {
on<GateWayFetch>((event, emit) {});
on<GatWayById>(_getGatWayById);
}
FutureOr<void> _getGatWayById(
GatWayById event, Emitter<GateWayState> emit) async {
emit(GatewayLoadingState());
try {
List<DeviceModel> devicesList =
await DevicesManagementApi.getDevicesByGatewayId(event.getWayId);
emit(UpdateGatewayState(list: devicesList));
} catch (e) {
emit(ErrorState(message: e.toString()));
return;
}
}
}

View File

@ -0,0 +1,20 @@
part of 'gate_way_bloc.dart';
sealed class GateWayEvent extends Equatable {
const GateWayEvent();
@override
List<Object> get props => [];
}
class GateWayLoading extends GateWayEvent {}
class GateWayFetch extends GateWayEvent {
final String deviceId;
const GateWayFetch(this.deviceId);
}
class GatWayById extends GateWayEvent {
final String getWayId;
const GatWayById(this.getWayId);
}

View File

@ -0,0 +1,26 @@
part of 'gate_way_bloc.dart';
sealed class GateWayState extends Equatable {
const GateWayState();
@override
List<Object> get props => [];
}
final class GateWayInitial extends GateWayState {}
class GatewayLoadingState extends GateWayState {}
class UpdateGatewayState extends GateWayState {
final List<DeviceModel> list;
const UpdateGatewayState({required this.list});
@override
List<Object> get props => [list];
}
class ErrorState extends GateWayState {
final String message;
const ErrorState({required this.message});
@override
List<Object> get props => [message];
}

View File

@ -0,0 +1,98 @@
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:syncrow_web/pages/device_managment/gateway/bloc/gate_way_bloc.dart';
import 'package:syncrow_web/pages/device_managment/shared/device_controls_container.dart';
import 'package:syncrow_web/pages/visitor_password/model/device_model.dart';
import 'package:syncrow_web/utils/color_manager.dart';
import 'package:syncrow_web/utils/helpers/responsice_layout_helper/responsive_layout_helper.dart';
class GateWayControls extends StatelessWidget with HelperResponsiveLayout {
const GateWayControls({super.key, required this.gatewayId});
final String gatewayId;
@override
Widget build(BuildContext context) {
final isLarge = isLargeScreenSize(context);
final isMedium = isMediumScreenSize(context);
return BlocProvider(
create: (context) => GateWayBloc()..add(GatWayById(gatewayId)),
child: BlocBuilder<GateWayBloc, GateWayState>(
builder: (context, state) {
if (state is GatewayLoadingState) {
return const Center(child: CircularProgressIndicator());
} else if (state is UpdateGatewayState) {
return GridView.builder(
padding: const EdgeInsets.symmetric(horizontal: 50),
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: isLarge
? 3
: isMedium
? 2
: 1,
mainAxisExtent: 150,
crossAxisSpacing: 12,
mainAxisSpacing: 12,
),
itemCount: state.list.length,
itemBuilder: (context, index) {
final device = state.list[index];
return _DeviceItem(device: device);
},
);
} else {
return const Center(child: Text('Error fetching devices'));
}
},
),
);
}
}
class _DeviceItem extends StatelessWidget {
const _DeviceItem({
required this.device,
});
final DeviceModel device;
@override
Widget build(BuildContext context) {
return DeviceControlsContainer(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: 60,
height: 60,
decoration: const BoxDecoration(
shape: BoxShape.circle,
color: ColorsManager.whiteColors,
),
margin: const EdgeInsets.symmetric(horizontal: 4),
padding: const EdgeInsets.all(4),
child: ClipOval(
child: SvgPicture.asset(
device.icon,
fit: BoxFit.fill,
),
),
),
const Spacer(),
Text(
device.name ?? 'Unknown Device',
textAlign: TextAlign.center,
style: const TextStyle(
fontWeight: FontWeight.bold,
fontSize: 14,
),
),
],
),
);
}
}

View File

@ -1,4 +1,6 @@
import 'package:syncrow_web/utils/constants/assets.dart';
import 'package:syncrow_web/utils/constants/const.dart';
import 'package:syncrow_web/utils/enum/device_types.dart';
class DeviceModel {
dynamic productUuid;
@ -47,6 +49,27 @@ class DeviceModel {
// Deserialize from JSON
factory DeviceModel.fromJson(Map<String, dynamic> json) {
String tempIcon = '';
DeviceType type = devicesTypesMap[json['productType']] ?? DeviceType.Other;
if (type == DeviceType.LightBulb) {
tempIcon = Assets.lightBulb;
} else if (type == DeviceType.CeilingSensor ||
type == DeviceType.WallSensor) {
tempIcon = Assets.sensors;
} else if (type == DeviceType.AC) {
tempIcon = Assets.ac;
} else if (type == DeviceType.DoorLock) {
tempIcon = Assets.doorLock;
} else if (type == DeviceType.Curtain) {
tempIcon = Assets.curtain;
} else if (type == DeviceType.ThreeGang) {
tempIcon = Assets.gangSwitch;
} else if (type == DeviceType.Gateway) {
tempIcon = Assets.gateway;
} else {
tempIcon = Assets.logo;
}
return DeviceModel(
productUuid: json['productUuid'],
productType: json['productType'],
@ -55,7 +78,7 @@ class DeviceModel {
categoryName: json['categoryName'],
createTime: json['createTime'],
gatewayId: json['gatewayId'],
icon: json['icon'],
icon: tempIcon,
ip: json['ip'],
lat: json['lat'],
localKey: json['localKey'],

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:syncrow_web/pages/device_managment/all_devices/models/device_status.dart';
import 'package:syncrow_web/pages/device_managment/all_devices/models/devices_model.dart';
import 'package:syncrow_web/pages/visitor_password/model/device_model.dart';
import 'package:syncrow_web/services/api/http_service.dart';
import 'package:syncrow_web/utils/constants/api_const.dart';
@ -46,7 +47,6 @@ class DevicesManagementApi {
}
//deviceControl
Future<bool> deviceControl(String uuid, Status status) async {
try {
final response = await HTTPService().post(
@ -63,4 +63,23 @@ class DevicesManagementApi {
return false;
}
}
static Future<List<DeviceModel>> getDevicesByGatewayId(
String gatewayId) async {
final response = await HTTPService().get(
path: ApiEndpoints.gatewayApi.replaceAll('{gatewayUuid}', gatewayId),
showServerMessage: false,
expectedResponseModel: (json) {
List<DeviceModel> devices = [];
if (json == null || json.isEmpty || json == []) {
return devices;
}
for (var device in json['devices']) {
devices.add(DeviceModel.fromJson(device));
}
return devices;
},
);
return response;
}
}

View File

@ -33,4 +33,5 @@ abstract class ApiEndpoints {
'$baseUrl/device/{uuid}/functions/status';
static const String deviceControl = '$baseUrl/device/{uuid}/control';
static const String gatewayApi = '/device/gateway/{gatewayUuid}/devices';
}

View File

@ -13,10 +13,12 @@ class Assets {
static const String rightLine = "assets/images/right_line.png";
static const String google = "assets/images/google.svg";
static const String facebook = "assets/images/facebook.svg";
static const String invisiblePassword = "assets/images/Password_invisible.svg";
static const String invisiblePassword =
"assets/images/Password_invisible.svg";
static const String visiblePassword = "assets/images/Password_visible.svg";
static const String accessIcon = "assets/images/access_icon.svg";
static const String spaseManagementIcon = "assets/images/spase_management_icon.svg";
static const String spaseManagementIcon =
"assets/images/spase_management_icon.svg";
static const String devicesIcon = "assets/images/devices_icon.svg";
static const String moveinIcon = "assets/images/movein_icon.svg";
static const String constructionIcon = "assets/images/construction_icon.svg";
@ -29,13 +31,15 @@ class Assets {
static const String emptyTable = "assets/images/empty_table.svg";
// General assets
static const String motionlessDetection = "assets/icons/motionless_detection.svg";
static const String motionlessDetection =
"assets/icons/motionless_detection.svg";
static const String acHeating = "assets/icons/ac_heating.svg";
static const String acPowerOff = "assets/icons/ac_power_off.svg";
static const String acFanMiddle = "assets/icons/ac_fan_middle.svg";
static const String switchAlarmSound = "assets/icons/switch_alarm_sound.svg";
static const String resetOff = "assets/icons/reset_off.svg";
static const String sensitivityOperationIcon = "assets/icons/sesitivity_operation_icon.svg";
static const String sensitivityOperationIcon =
"assets/icons/sesitivity_operation_icon.svg";
static const String motionDetection = "assets/icons/motion_detection.svg";
static const String freezing = "assets/icons/freezing.svg";
static const String indicator = "assets/icons/indicator.svg";
@ -56,7 +60,8 @@ class Assets {
static const String celsiusDegrees = "assets/icons/celsius_degrees.svg";
static const String masterState = "assets/icons/master_state.svg";
static const String acPower = "assets/icons/ac_power.svg";
static const String farDetectionFunction = "assets/icons/far_detection_function.svg";
static const String farDetectionFunction =
"assets/icons/far_detection_function.svg";
static const String nobodyTime = "assets/icons/nobody_time.svg";
// Automation functions
@ -64,36 +69,65 @@ class Assets {
"assets/icons/automation_functions/temp_password_unlock.svg";
static const String doorlockNormalOpen =
"assets/icons/automation_functions/doorlock_normal_open.svg";
static const String doorbell = "assets/icons/automation_functions/doorbell.svg";
static const String doorbell =
"assets/icons/automation_functions/doorbell.svg";
static const String remoteUnlockViaApp =
"assets/icons/automation_functions/remote_unlock_via_app.svg";
static const String doubleLock = "assets/icons/automation_functions/double_lock.svg";
static const String selfTestResult = "assets/icons/automation_functions/self_test_result.svg";
static const String lockAlarm = "assets/icons/automation_functions/lock_alarm.svg";
static const String presenceState = "assets/icons/automation_functions/presence_state.svg";
static const String currentTemp = "assets/icons/automation_functions/current_temp.svg";
static const String presence = "assets/icons/automation_functions/presence.svg";
static const String doubleLock =
"assets/icons/automation_functions/double_lock.svg";
static const String selfTestResult =
"assets/icons/automation_functions/self_test_result.svg";
static const String lockAlarm =
"assets/icons/automation_functions/lock_alarm.svg";
static const String presenceState =
"assets/icons/automation_functions/presence_state.svg";
static const String currentTemp =
"assets/icons/automation_functions/current_temp.svg";
static const String presence =
"assets/icons/automation_functions/presence.svg";
static const String residualElectricity =
"assets/icons/automation_functions/residual_electricity.svg";
static const String hijackAlarm = "assets/icons/automation_functions/hijack_alarm.svg";
static const String passwordUnlock = "assets/icons/automation_functions/password_unlock.svg";
static const String hijackAlarm =
"assets/icons/automation_functions/hijack_alarm.svg";
static const String passwordUnlock =
"assets/icons/automation_functions/password_unlock.svg";
static const String remoteUnlockRequest =
"assets/icons/automation_functions/remote_unlock_req.svg";
static const String cardUnlock = "assets/icons/automation_functions/card_unlock.svg";
static const String cardUnlock =
"assets/icons/automation_functions/card_unlock.svg";
static const String motion = "assets/icons/automation_functions/motion.svg";
static const String fingerprintUnlock =
"assets/icons/automation_functions/fingerprint_unlock.svg";
// Presence Sensor Assets
static const String sensorMotionIcon = "assets/icons/sensor_motion_ic.svg";
static const String sensorPresenceIcon = "assets/icons/sensor_presence_ic.svg";
static const String sensorPresenceIcon =
"assets/icons/sensor_presence_ic.svg";
static const String sensorVacantIcon = "assets/icons/sensor_vacant_ic.svg";
static const String illuminanceRecordIcon = "assets/icons/illuminance_record_ic.svg";
static const String presenceRecordIcon = "assets/icons/presence_record_ic.svg";
static const String helpDescriptionIcon = "assets/icons/help_description_ic.svg";
static const String illuminanceRecordIcon =
"assets/icons/illuminance_record_ic.svg";
static const String presenceRecordIcon =
"assets/icons/presence_record_ic.svg";
static const String helpDescriptionIcon =
"assets/icons/help_description_ic.svg";
static const String lightPulp = "assets/icons/light_pulb.svg";
static const String acDevice = "assets/icons/ac_device.svg";
static const String acAirConditioner = "assets/icons/ac_air.svg";
static const String acSun = "assets/icons/ac_sun.svg";
//assets/icons/3GangSwitch.svg
static const String gangSwitch = "assets/icons/3GangSwitch.svg";
//assets/icons/AC.svg
static const String ac = "assets/icons/AC.svg";
//assets/icons/Curtain.svg
static const String curtain = "assets/icons/Curtain.svg";
//assets/icons/doorLock.svg
static const String doorLock = "assets/icons/doorLock.svg";
//assets/icons/Gateway.svg
static const String gateway = "assets/icons/Gateway.svg";
//assets/icons/Light.svg
static const String lightBulb = "assets/icons/Light.svg";
//assets/icons/sensors.svg
static const String sensors = "assets/icons/sensors.svg";
}

View File

@ -0,0 +1,21 @@
enum DeviceType {
AC,
LightBulb,
DoorLock,
Curtain,
Blind,
ThreeGang,
Gateway,
CeilingSensor,
WallSensor,
Other,
}
Map<String, DeviceType> devicesTypesMap = {
"AC": DeviceType.AC,
"GW": DeviceType.Gateway,
"CPS": DeviceType.CeilingSensor,
"DL": DeviceType.DoorLock,
"WPS": DeviceType.WallSensor,
"3G": DeviceType.ThreeGang,
};