using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; using System.Collections; using System.Configuration.Install; using SafeMobileLib.Helpers; using Microsoft.VisualBasic.ApplicationServices; namespace SDRGatewayService { static class Program { public static SafeMobileLib.InterthreadMessageQueue gpsQueue = new SafeMobileLib.InterthreadMessageQueue(); public static SafeMobileLib.InterthreadMessageQueue smsINQueue = new SafeMobileLib.InterthreadMessageQueue(); public static SafeMobileLib.InterthreadMessageQueue smsOutQueue = new SafeMobileLib.InterthreadMessageQueue(); public static SafeMobileLib.InterthreadMessageQueue eventQueue = new SafeMobileLib.InterthreadMessageQueue(); static String filename = ""; public static String COMPANY = "SafeMobile"; public static string[] cmdArgs; /// /// The main entry point for the application. /// static void Main(string[] args) { cmdArgs = args; #if SIMOCO COMPANY = "Simoco"; #else COMPANY = "SafeMobile"; #endif ServiceBase[] ServicesToRun = new ServiceBase[] { new SDRGatewayService(args) }; ServiceBase.Run(ServicesToRun); } } }