Example #1
0
 private void NetStart3()
 {
     softControlsServer = new HslCommunication.Enthernet.NetSoftUpdateServer();
     softControlsServer.FileUpdatePath = Application.StartupPath + @"\Controls";
     //softUpdateServer.LogNet = lognet;
     softControlsServer.ServerStart(18469);
 }
Example #2
0
 private void NetStart2( )
 {
     softUpdateServer = new HslCommunication.Enthernet.NetSoftUpdateServer( );
     softUpdateServer.FileUpdatePath = Application.StartupPath + @"\Demo";
     softUpdateServer.LogNet         = lognet;
     softUpdateServer.ServerStart(18468);
 }
Example #3
0
 private void NetStart2( )
 {
     softUpdateServer = new HslCommunication.Enthernet.NetSoftUpdateServer( );
     softUpdateServer.FileUpdatePath           = Application.StartupPath + @"\Demo";
     softUpdateServer.LogNet                   = new HslCommunication.LogNet.LogNetSingle("logs.txt");
     softUpdateServer.LogNet.BeforeSaveToFile += LogNet_BeforeSaveToFile;
     softUpdateServer.ServerStart(18468);
 }