123456789101112131415161718 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- from django.conf.urls import patterns, url
- from .views import *
- urlpatterns = patterns('',
- url(r'^openCabinetDoor$', openCabinetDoor, name = 'openCabinetDoor'),
- url(r'^startCharging$', startCharging, name = 'startCharging'),
- url(r'^openAndStartCharging$', openAndStartCharging, name = 'openAndStartCharging'),
- url(r'^getDevicePortInfo$', getDevicePortInfo, name = 'getDevicePortInfo'),
- url(r'^stopChargingWithOpenDoor$', stopChargingWithOpenDoor,
- name = 'stopChargingWithOpenDoor'),
- url(r'^stopChargingWithCloseDoor$', stopChargingWithCloseDoor,
- name = 'stopChargingWithCloseDoor'),
- url(r'^getPortInfoYwt$', getPortInfoYwt, name = 'getPortInfoYwt')
- )
|