public void init() { try { DevExpress.Persistent.Base.PasswordCryptographer.EnableRfc2898 = true; DevExpress.Persistent.Base.PasswordCryptographer.SupportLegacySha512 = false; //INIT XAF AND DEFAULT DB SERVER initXAFServer(); //INIT WS PRIVATE INTERFACES HTTP SELFHOSTING initWSHostPrivateInterfaces(); //INIT WS PUBLIC INTERFACES HTTP SELFHOSTING initWSHostPublicInterfaces(); SetAisleList(); SetAbcTypeList(); SetStorageHeightList(); //INIT OPC opcClient = new OPCClient(); opcClient.init(); } catch (Exception e) { Console.WriteLine("Exception occurs: " + e.Message); Console.WriteLine("Press Enter to close."); Console.ReadLine(); } }
public void init() { try { log.Info("LogXServer init() begins..!"); DevExpress.Persistent.Base.PasswordCryptographer.EnableRfc2898 = true; DevExpress.Persistent.Base.PasswordCryptographer.SupportLegacySha512 = false; //INIT XAF AND DEFAULT DB SERVER initXAFServer(); log.Info("LogXServer.xafServer inited."); //INIT WS PRIVATE INTERFACES HTTP SELFHOSTING initWSHostPrivateInterfaces(); //INIT WS PUBLIC INTERFACES HTTP SELFHOSTING initWSHostPublicInterfaces(); log.Info("LogXServer.ws interfaces are inited."); //INIT OPC opcClient = new OPCClient(); opcClient.init(); log.Info("LogXServer opcClient inited"); SetAisleList(); SetAbcTypeList(); SetStorageHeightList(); log.Info("LogXServer default lists loaded"); log.Info("LogXServer init() end!"); } catch (Exception e) { log.Fatal("Error in LogXServer.init(): ", e); } }