Page MenuHomec4science

event.py
No OneTemporary

File Metadata

Created
Mon, Jul 14, 23:25

event.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
" module containing class Event"
##########################################################################
##########################################################################
class Event(object):
"""
class Event: this class of object is used to store information about special events that occured during the experiment
"""
# ------------------------------------------------------------------ #
# Constructors/Destructors #
# ------------------------------------------------------------------ #
def __init__(self,date, description):
"""__init__: each event is initialized with a date and a description as members """
# Members ---------------------- #
# string event_date
self.event_date = date
# string event_description
self.event_description = description
pass
def __del__(self):
"""__del__: not implemented """
pass
##########################################################################
if __name__ == '__main__':
test = Event('01_02_2017','pH a plus de 11 dans le reacteur RA durant une heure')

Event Timeline