# -*- encoding: utf-8 -*- """ @File : loocam_url.py @Time : 2022/5/20 11:44 @Author : stephen @Email : zhangdongming@asj6.wecom.work @Software: PyCharm """ from django.urls import re_path from Controller.SensorGateway import GatewayFamilyRoomController, SubDeviceController, GatewayFamilyMemberController, \ EquipmentFamilyController, GatewayDeviceController, SmartSceneController, SmartSocketController, \ SmartSwitchController urlpatterns = [ re_path(r'^sensor/gateway/(?P.*)$', EquipmentFamilyController.EquipmentFamilyView.as_view()), re_path(r'^gateway/family/room/(?P.*)$', GatewayFamilyRoomController.GatewayFamilyRoomView.as_view()), re_path(r'^gateway/family/member/(?P.*)$', GatewayFamilyMemberController.GatewayFamilyMemberView.as_view()), re_path(r'^gateway/subdevice/(?P.*)$', SubDeviceController.GatewaySubDeviceView.as_view()), re_path(r'^gateway/device/info/(?P.*)$', GatewayDeviceController.GatewayDeviceView.as_view()), re_path(r'^smartscene/(?P.*)$', SmartSceneController.SmartSceneView.as_view()), re_path(r'^open/socket/(?P.*)$', SmartSocketController.SmartSocketView.as_view()), re_path(r'^smartswitch/(?P.*)$', SmartSwitchController.SmartSwitchView.as_view()), ]