# Path: forsun/version.py



import sys
import os
import datetime
import tzlocal
import psutil
from .version import version
        from .store import get_store_names
        from .action import get_driver_names
        from .timer import current
        from . import config
# -*- coding: utf-8 -*-
# 18/8/29
# create by: snower


current_tz = tzlocal.get_localzone()

class ForsunStatus(object):
    def __init__(self):
        self.start_time = datetime.datetime.now(current_tz)
        self.connecting_count = 0
        self.connected_count = 0
        self.requesting_count = 0
        self.requested_count = 0
        self.requested_error_count = 0
        self.http_connecting_count = 0
        self.http_connected_count = 0
        self.http_requesting_count = 0
        self.http_requested_count = 0
        self.http_requested_error_count = 0
        self.created_count = 0
        self.create_timeouted_count = 0
        self.removed_count = 0

# Path: forsun/version.py



# Path: forsun/status.py
import sys
import os
import datetime
import tzlocal
import psutil
from .version import version
        from .store import get_store_names
        from .action import get_driver_names
        from .timer import current
        from . import config

# -*- coding: utf-8 -*-
# 18/8/29
# create by: snower


current_tz = tzlocal.get_localzone()

class ForsunStatus(object):
    def __init__(self):
        self.start_time = datetime.datetime.now(current_tz)
        self.connecting_count = 0
        self.connected_count = 0
        self.requesting_count = 0
        self.requested_count = 0
        self.requested_error_count = 0
        self.http_connecting_count = 0
        self.http_connected_count = 0
        self.http_requesting_count = 0
        self.http_requested_count = 0
        self.http_requested_error_count = 0
        self.created_count = 0
        self.create_timeouted_count = 0
        self.removed_count = 0

        self.plan_count = 0