예제 #1
0
 def __init__(self, cmdr, is_beta, system, entry, client):
     Emitter.__init__(self, cmdr, is_beta, system, None, None, None, entry,
                      None, None, None, client)
     self.system = system
     self.cmdr = cmdr
     self.is_beta = is_beta
     self.entry = entry.copy()
     self.client = client
     self.modelreport = "hdreports"
예제 #2
0
    def __init__(self,cmdr, is_beta, system, station, entry,client,lat,lon,body,state,x,y,z,DistFromStarLS):
        self.state=state
        self.allegiance=allegiance
        self.DistFromStarLS=DistFromStarLS
        debug("Material rep star dist "+str(self.DistFromStarLS))
        debug("Material rep FacState "+str(self.state))
        debug("Material rep FacAllegiance "+str(self.allegiance))
        Emitter.__init__(self,cmdr, is_beta, system, x,y,z, entry, body, lat, lon,client)       

        self.modelreport="materialreports"
예제 #3
0
 def __init__(self, parent, cmdr, is_beta, client, gridrow):
     "Initialise the ``Patrol``."
     Frame.__init__(self, parent)
     self.client = client
     self.commander = cmdr
     self.is_beta = is_beta
     self.grid(row=gridrow, column=0)
     self.button = Button(
         self,
         text="Click here to scan all your journals for Hyperdictions")
     self.button.bind('<Button-1>', self.run)
     self.button.grid(row=0, column=0)
     Emitter.setRoute(is_beta, client)
예제 #4
0
    def __init__(self, cmdr, is_beta, system, station, entry, client, body, lat, lon):
        Emitter.__init__(self, cmdr, is_beta, system, None, None, None, entry, None, None, None, client)
        self.system = system
        self.cmdr = cmdr
        self.station = station
        self.is_beta = is_beta
        self.entry = entry.copy()
        self.client = client
        self.eventAltName = entry.get("Name")
        if entry.get("bodyName"):
            self.body = entry.get("BodyName")
        else:
            self.body = body

        if entry.get("Latitude"):
            self.lat = entry.get("Latitude")
        else:
            self.lat = lat

        if entry.get("Longitude"):
            self.lon = entry.get("Longitude")
        else:
            self.lon = lon
        self.modelreport = "reportevents"
예제 #5
0
    def __init__(self, cmdr, is_beta, client):

        self.modelreport = "clientreports"
        Emitter.__init__(self, cmdr, is_beta, None, None, None, None, None,
                         None, None, None, client)
예제 #6
0
 def __init__(self, cmdr, is_beta, system, x, y, z, entry, body, lat, lon, client):
     Emitter.__init__(self, cmdr, is_beta, system, x, y,
                      z, entry, body, lat, lon, client)
     self.modelreport = "xxreports"
     self.modeltype = "xxtypes"
예제 #7
0
 def __init__(self, cmdr, is_beta, system, entry, client):
     Emitter.__init__(self, cmdr, is_beta, system, None, None, None, entry,
                      None, None, None, client)
     self.modelreport = "killreports"