1234567891011121314151617181920212223242526272829303132 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- """
- 使用须知:
- 1.设备调整到时间模式 功率分档全部配置为100%
- 2.设备套餐页面配置(计费规则 + 订购套餐部分)
- 3.
- """
- import logging
- from typing import TYPE_CHECKING
- from apps.web.core.adapter.policy_common import PolicyCommon
- from apps.web.core.adapter.zhixia2 import ChargingZHIXIA2Box
- logger = logging.getLogger(__name__)
- if TYPE_CHECKING:
- pass
- class DCPOLICYBox(PolicyCommon, ChargingZHIXIA2Box):
- def start_device_realiable(self, order):
- return super(DCPOLICYBox, self).start_device_realiable(order)
- @property
- def look_at_money(self):
- return self.device.devTypeFeatures.get('look_at_money', True)
|