コード例 #1
0
        protected override int initialize()
        {
            int iRes = 0;

            Data = new SrcKTSTUsql.SrcKTSTUsql();

            Data.Initialize(new object[] {
                new ConnectionSettings(
                    @"OraSOTIASSO-ORD"
                    , @"10.220.2.5"
                    , 1521
                    , @"ORCL"
                    , @"arch_viewer"
                    , @"1")
            }
                            );
            Data.Initialize(0
                            , new object[]
            {
                new object [] { 20049, @"TAG_000049" }
                , new object [] { 20051, @"TAG_000051" }
                , new object [] { 20053, @"TAG_000053" }
                , new object [] { 20056, @"TAG_000056" }
                , new object [] { 20057, @"TAG_000057" }
                , new object [] { 20061, @"TAG_000061" }
                , new object [] { 20062, @"TAG_000062" }
                , new object [] { 20063, @"TAG_000063" }
                , new object [] { 20064, @"TAG_000064" }
            }
                            );

            return(iRes);
        }
コード例 #2
0
        protected override int initialize()
        {
            int iRes = 0;

            Data = new SrcKTSTUsql.SrcKTSTUsql();

            Data.Initialize(new object[] {
                new ConnectionSettings(
                    @"KTS-Teplo-1"
                    , @"10.105.2.157"
                    , 1433
                    , @"e6work"
                    , @"eng6"
                    , @"eng6")
            }
                            );
            Data.Initialize(0
                            , new object[]
            {
                new object [] { 12077, @"t окр.возд." }
                , new object [] { 12609, @"t обск.воды" }
            }
                            );

            return(iRes);
        }