public LineManager(int LineId) { this.lineId = LineId; this.myFormTimer = new FormTimer(); this.myFormTimer.CounterTick += new EventHandler(timerHandler); this.sURL = "http://" + this.getHostName() + ":8000/LineService" + this.lineId.ToString(); myLog.LogAlert(AppLog.AlertType.System, this.GetType().ToString(), "Uri = " + this.sURL); myLine0 = new LineService.AssembLine(); myLine0.Init(LineId); }
private void startSimLine(LineService.AssembLine line, string sURL) { //SimLine.SimLine simLine = new SimLine.SimLine(); // copy objects //simLine.Id = line.Id; //simLine. //myLog.LogAlert(AppLog.AlertType.System, this.GetType().ToString(), "SimLine Service starting : " + sURL); //SimLineServiceHost = new ServiceHost(simLine, new Uri(sURL)); //SimLineServiceHost.Open(); }