示例#1
0
        public override string ToStringDescriptorOnly(string prefix)
        {
            string result = "";

            result += base.ToStringDescriptorOnly(prefix);
            result += prefix + "DataBroadcastId: " + string.Format(" 0x{0:x4} ({1})\r\n", this.dataBroadcastId, this.dataBroadcastId);
            result += PSISection.ToStringByteArray(this.idSelectorBytes, 0, this.idSelectorBytes.Length, 8, prefix);
            return(result);
        }
示例#2
0
        public override string ToStringDescriptorOnly(string prefix)
        {
            string result = "";

            result += base.ToStringDescriptorOnly(prefix);
            result += prefix + "CaSystemId: " + string.Format(" 0x{0:x4} ({1})\r\n", this.caSystemId, this.caSystemId);
            result += prefix + "Reserved: " + string.Format(" 0x{0:x4} ({1})\r\n", this.reserved, this.reserved);
            result += prefix + "CaPid: " + string.Format(" 0x{0:x4} ({1})\r\n", this.caPid, this.caPid);
            result += PSISection.ToStringByteArray(this.privateDataBytes, 0, this.privateDataBytes.Length, 8, prefix);
            return(result);
        }
示例#3
0
        public virtual string ToStringDescriptorOnly(string prefix)
        {
            string result = "";

            result += prefix + "DescriptorTag: " + this.descriptorTag + string.Format(" 0x{0:x4} ({1})\r\n", (uint)this.descriptorTag, (uint)this.descriptorTag);
            result += prefix + "DescriptorLength: " + this.descriptorLength + "\r\n";
            if (this.unparseData != null)
            {
                result += PSISection.ToStringByteArray(this.unparseData, 0, this.unparseData.Length, 8, prefix);
            }
            return(result);
        }