new modes beans were added

This commit is contained in:
Volkan Şahin 2016-07-13 17:41:18 +03:00
parent 0ab9557936
commit d9c54a309a
4 changed files with 36 additions and 0 deletions

View file

View file

@ -0,0 +1,12 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
class LoginMode(object):
def __init__(self, username):
self.username = username
@property
def obj_name(self):
return "LOGIN_MODE"

View file

@ -0,0 +1,12 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
class LogoutMode(object):
def __init__(self, username):
self.username = username
@property
def obj_name(self):
return "LOGOUT_MODE"

View file

@ -0,0 +1,12 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
class ShutdownMode(object):
def __init__(self):
pass
@property
def obj_name(self):
return "SHUTDOWN_MODE"