예제 #1
0
        public void Create()
        {
            WebPort = 3500;

            SqlServerConnection = new ShiolSqlServer();
            SqlServerConnection.ConnectionString = "user id=sa;password=server$123$;data source=.;initial catalog=Shiol_Datos_MLP_Cliente";
            DirPlantillas = @"D:\SGH_Sistemas\";
        }
예제 #2
0
        public void Create()
        {
            CentralType       = "TYPE1";
            LogDirectory      = System.AppDomain.CurrentDomain.BaseDirectory;
            MinCallDuration   = 20;
            ExcludedStrings   = "Date,---";
            MinLengthFrame    = 65;
            SaveAllCalls      = true;
            TryReconnectEvery = 10;
            WebPort           = 80;

            SqlServerConnection = new ShiolSqlServer();
            SqlServerConnection.ConnectionString = "user id=sa;password=server$123$;data source=.;initial catalog=Shiol_Datos_MLP_Cliente";
            SqlServerConnection.Connection       = true;

            DataFrames = new List <DataFrame>();

            DataFrame dataFrame = new DataFrame();

            dataFrame.Prefix = "@";
            dataFrame.Name   = "Trama Unica";
            dataFrame.ID     = "1";
            dataFrame.Length = 65;



            //DataFrame
            DataFrameStructure dataFrameS = new DataFrameStructure();

            dataFrameS.Date         = "0,8,MM/DD/YY";
            dataFrameS.DialedNumber = "26,13";
            dataFrameS.Anexo        = "19,3";
            dataFrameS.UserID       = dataFrameS.Anexo;
            dataFrameS.Time         = "9,7,hh:mmtt";
            dataFrameS.Duration     = "57,8,hh:mm'ss";

            dataFrame.Structure = dataFrameS;

            DataFrames.Add(dataFrame);


            ////
            dataFrame        = new DataFrame();
            dataFrame.Prefix = "N";
            dataFrame.Name   = "LLamada Saliente";
            dataFrame.ID     = "3";
            dataFrame.Length = 65;

            //DataFrame
            dataFrameS              = new DataFrameStructure();
            dataFrameS.Date         = "0,8,MM/DD/YY";
            dataFrameS.DialedNumber = "26,13";
            dataFrameS.Anexo        = "19,3";
            dataFrameS.UserID       = dataFrameS.Anexo;
            dataFrameS.Time         = "9,7,hh:mmtt";
            dataFrameS.Duration     = "57,8,hh:mm'ss";

            dataFrame.Structure = dataFrameS;

            DataFrames.Add(dataFrame);

            Communication                = new ConectionConfiguration();
            Communication.CentralName    = "SUPERXLS";
            Communication.Conexion       = "IP";
            Communication.IP             = "127.0.0.1";
            Communication.IPPort         = 2300;
            Communication.SerialSettings = "COM4,1200,8,None,None";
            Communication.User           = "******";
            Communication.Password       = "******";
        }