# Path: Qt.py

# 
# Path: ts2/utils.py
# class Context:
# class FormatException(Exception):
# class MissingDependencyException(Exception):
# class DurationProba(QtCore.QObject):
#     GAME = 10
#     EDITORS = [20, 21, 22, 23, 24, 25]
#     EDITOR_GENERAL = 20
#     EDITOR_SCENERY = 21
#     EDITOR_ROUTES = 22
#     EDITOR_TRAINTYPES = 23
#     EDITOR_SERVICES = 24
#     EDITOR_TRAINS = 25
#     def __init__(self, arg):
#     def __init__(self, arg):
# def cumsum(lis):
#     def __init__(self, data):
#     def __str__(self):
#     def list(self):
#     def isNull(self):
#     def yieldValue(self):
# def to_json(data):
# def from_json(json_str):


from Qt import QtCore, Qt
from ts2 import utils

    @property
    def trackCode(self):
        """Returns the trackCode of this ServiceLine"""
        return self._trackCode

    @trackCode.setter
    def trackCode(self, value):
        """Setter function for the trackCode property"""
        if self.simulation.context == utils.Context.EDITOR_SERVICES:
            self._trackCode = value

    @property
    def mustStop(self):
        """Returns true if this service is supposed to stop at the place of
        this ServiceLine"""
        return self._stop

    @mustStop.setter
    def mustStop(self, value):
        """Setter function for the mustStop property"""
        if self.simulation.context == utils.Context.EDITOR_SERVICES:
            self._stop = value

    @property
    def scheduledDepartureTime(self):
        """Returns the scheduled departure time of this service at the place
        of this ServiceLine, as a QTime"""
        return self._scheduledDepartureTime


# Path: Qt.py

# 
# Path: ts2/utils.py
# class Context:
# class FormatException(Exception):
# class MissingDependencyException(Exception):
# class DurationProba(QtCore.QObject):
#     GAME = 10
#     EDITORS = [20, 21, 22, 23, 24, 25]
#     EDITOR_GENERAL = 20
#     EDITOR_SCENERY = 21
#     EDITOR_ROUTES = 22
#     EDITOR_TRAINTYPES = 23
#     EDITOR_SERVICES = 24
#     EDITOR_TRAINS = 25
#     def __init__(self, arg):
#     def __init__(self, arg):
# def cumsum(lis):
#     def __init__(self, data):
#     def __str__(self):
#     def list(self):
#     def isNull(self):
#     def yieldValue(self):
# def to_json(data):
# def from_json(json_str):


# Path: ts2/trains/service.py
from Qt import QtCore, Qt
from ts2 import utils


    @property
    def trackCode(self):
        """Returns the trackCode of this ServiceLine"""
        return self._trackCode

    @trackCode.setter
    def trackCode(self, value):
        """Setter function for the trackCode property"""
        if self.simulation.context == utils.Context.EDITOR_SERVICES:
            self._trackCode = value

    @property
    def mustStop(self):
        """Returns true if this service is supposed to stop at the place of
        this ServiceLine"""
        return self._stop

    @mustStop.setter
    def mustStop(self, value):
        """Setter function for the mustStop property"""
        if self.simulation.context == utils.Context.EDITOR_SERVICES:
            self._stop = value

    @property
    def scheduledDepartureTime(self):
        """Returns the scheduled departure time of this service at the place
        of this ServiceLine, as a QTime"""
        return self._scheduledDepartureTime


    @property