Пример #1
0
        public Sistema()
        {
            this.catEventos = new Eventos.CatalogoDeEventos();

            tableSimulacion = new DataTable();



            DataColumn column;

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colReloj";
            column.ReadOnly   = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);


            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colTUE";
            column.ReadOnly   = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colClientesEnCola";
            column.ReadOnly   = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colTIOS";
            column.ReadOnly   = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colAcumuladorDemoras";
            column.ReadOnly   = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colClientesAtendidos";
            column.ReadOnly   = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colTipoEvento";
            column.ReadOnly   = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column            = new DataColumn();
            column.DataType   = System.Type.GetType("System.String");
            column.ColumnName = "colNroClientesEnSistema";
            column.ReadOnly   = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);
        }
Пример #2
0
        public Sistema()
        {
            this.catEventos = new Eventos.CatalogoDeEventos();

               tableSimulacion = new DataTable();

            DataColumn column;
            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colReloj";
            column.ReadOnly = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colTUE";
            column.ReadOnly = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colClientesEnCola";
            column.ReadOnly = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colTIOS";
            column.ReadOnly = true;

            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colAcumuladorDemoras";
            column.ReadOnly = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colClientesAtendidos";
            column.ReadOnly = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colTipoEvento";
            column.ReadOnly = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);

            column = new DataColumn();
            column.DataType = System.Type.GetType("System.String");
            column.ColumnName = "colNroClientesEnSistema";
            column.ReadOnly = true;
            // Add the Column to the DataColumnCollection.
            tableSimulacion.Columns.Add(column);
        }