[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

View File

@ -0,0 +1,26 @@
import os
'''
Plugin handler for the MWS plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
# Check and set defaults
try: seedlink.param('sources.mws.comport')
except: seedlink.setParam('sources.mws.comport', '/dev/weatherstation')
try: seedlink.param('sources.mws.baudrate')
except: seedlink.setParam('sources.mws.baudrate', 19200)
try: seedlink.param('sources.mws.proc')
except: seedlink.setParam('sources.mws.proc', 'mws')
return seedlink.param('sources.mws.comport')
# Flush does nothing
def flush(self, seedlink):
pass