예제 #1
0
        public void selectBinary(TestOCT val)
        {
            this.binary_         = val;
            this.binary_selected = true;


            this.plain_selected = false;

            this.unicode_selected = false;

            this.simpleType_selected = false;

            this.simpleOctType_selected = false;

            this.booleanType_selected = false;

            this.intType_selected = false;

            this.intBndType_selected = false;
        }
예제 #2
0
        public void initWithDefaults()
        {
            string param_WithDefault =
                "dd";

            WithDefault = param_WithDefault;
            long param_WithIntDef =
                120;

            WithIntDef = param_WithIntDef;
            WithSeqDefSequenceType param_WithSeqDef =

                new WithSeqDefSequenceType();

            {
                param_WithSeqDef.Name =
                    "Name"
                ;

                param_WithSeqDef.Email =
                    "Email"
                ;
            }
            ;
            WithSeqDef = param_WithSeqDef;
            TestOCT param_WithOctDef =
                new TestOCT(CoderUtils.defStringToOctetString("'01101100'B"));

            WithOctDef = param_WithOctDef;
            byte[] param_WithOctDef2 =
                CoderUtils.defStringToOctetString("'FFEEAA'H").Value;
            WithOctDef2 = param_WithOctDef2;
            System.Collections.Generic.ICollection <string> param_WithSeqOf =


                new System.Collections.Generic.List <string>();

            {
                param_WithSeqOf.Add(
                    "aa"
                    );

                param_WithSeqOf.Add(
                    "dd"
                    );
            }
            ;
            WithSeqOf = param_WithSeqOf;
            System.Collections.Generic.ICollection <TestPRN> param_WithSeqOf2 =


                new System.Collections.Generic.List <TestPRN>();

            {
                param_WithSeqOf2.Add(
                    new TestPRN("cc")
                    );

                param_WithSeqOf2.Add(
                    new TestPRN("ee")
                    );
            }
            ;
            WithSeqOf2 = param_WithSeqOf2;
            StringArray param_WithSeqOf3 =


                new StringArray();

            param_WithSeqOf3.initValue();

            {
                param_WithSeqOf3.Add(
                    "fff"
                    );

                param_WithSeqOf3.Add(
                    "ggg"
                    );
            }
            ;
            WithSeqOf3 = param_WithSeqOf3;
            WithEnumDefEnumType param_WithEnumDef =

                new WithEnumDefEnumType();

            param_WithEnumDef.Value = WithEnumDefEnumType.EnumType.two;
            WithEnumDef             = param_WithEnumDef;
        }