Esempio n. 1
0
 public outputFormatVideo(Int32 type)
     : this()
 {
     setType(type);
     this.tag          = new epgTag(0x50);
     this.componentTag = new epgVideoComponentTag(0);
 }
Esempio n. 2
0
 public outputFormatVideo()
 {
     this.tag           = new epgTag(0x50);
     this.componentTag  = new epgVideoComponentTag(0);
     this.componentType = new epgVideoComponentType(0xb3);
     this.videoType     = new epgVideoType("HD動画");
     this.paramList     = new List <epgUnit>();
 }
Esempio n. 3
0
        public outputFormatVideo(Int32 type, ref Random rnd)
            : this()
        {
            int v = type;

            if (v == 0)
            {
                v = this.videoTypeAry[rnd.Next(this.videoTypeAry.Count())];
            }
            setType(v);
            this.tag          = new epgTag(0x50);
            this.componentTag = new epgVideoComponentTag(0);
        }
Esempio n. 4
0
        public outputFormatVideo(string type)
            : this()
        {
            string name = "HD映像";
            Int32  num  = 0xb3;

            if (type == "HD")
            {
                name = "HD";
                num  = 0xb3;
            }
            else // if (type == "SD")
            {
                name = "SD";
                num  = 1;
            }
            this.tag           = new epgTag(0x50);
            this.componentTag  = new epgVideoComponentTag(0);
            this.componentType = new epgVideoComponentType(num);
            this.videoType     = new epgVideoType(name);
        }