Esempio n. 1
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);

            ListeningTCPPort = data.ReadUInt16();
            Type             = data.ReadUcs1();
            Name             = data.ReadUcs1();
            State            = data.ReadUcs1();
        }
Esempio n. 2
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);

            FixtureIdentifier = data.ReadUInt16();
            Universe          = data.ReadByte();
            data.ReadByte();
            Channel      = data.ReadUInt16();
            ChannelCount = data.ReadUInt16();
            FixtureMake  = data.ReadUcs1();
            FixtureName  = data.ReadUcs1();
        }
Esempio n. 3
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);

            if (MsexVersion > 1.1)
            {
                UUID = data.ReadUcs1();
            }
            ProductName         = data.ReadUcs2();
            ProductVersionMajor = data.ReadByte();
            ProductVersionMinor = data.ReadByte();

            if (MsexVersion > 1.1)
            {
                ProductVersionBugfix = data.ReadByte();

                int versionCount = data.ReadByte();
                for (int n = 0; n < versionCount; n++)
                {
                    SupportedMsexVersions.Add(data.ReadUInt16());
                }

                SupportedLibraryTypes = data.ReadUInt16();

                int thumbnailFormatsCount = data.ReadByte();
                for (int n = 0; n < thumbnailFormatsCount; n++)
                {
                    ThumbnailFormats.Add(data.ReadCookie());
                }

                int streamFormatsCount = data.ReadByte();
                for (int n = 0; n < streamFormatsCount; n++)
                {
                    StreamFormats.Add(data.ReadCookie());
                }
            }

            int layerCount = data.ReadByte();

            for (int n = 0; n < layerCount; n++)
            {
                DmxDescriptor dmx;
                if (DmxDescriptor.TryParse(data.ReadUcs1(), out dmx))
                {
                    DmxLayers.Add(dmx);
                }
            }
        }
Esempio n. 4
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);

            FixtureIdentifier = data.ReadUInt16();
            int filterCount = data.ReadByte();
            int goboCount   = data.ReadByte();

            for (int n = 0; n < filterCount; n++)
            {
                FrameFilters.Add(data.ReadUcs1());
            }
            for (int n = 0; n < goboCount; n++)
            {
                FrameGobos.Add(data.ReadUcs1());
            }
        }
Esempio n. 5
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);
            if (MsexVersion > CitpMsexVersions.Msex11Version)
            {
                MediaServerUid = data.ReadUcs1();
            }
            SourceIdentifier = data.ReadUInt16();
            FrameFormat      = data.ReadCookie();
            FrameWidth       = data.ReadUInt16();
            FrameHeight      = data.ReadUInt16();

            int bufferSize = data.ReadUInt16();

            FrameBuffer = data.ReadBytes(bufferSize);
        }
Esempio n. 6
0
        public override void ReadData(CitpBinaryReader data)
        {
            base.ReadData(data);

            StatusIdentifier = data.ReadUcs2();

            int deviceCount = data.ReadUInt16();

            Devices.Clear();
            for (int n = 0; n < deviceCount; n++)
            {
                DeviceInformation device = new DeviceInformation()
                {
                    DMXConnectionsString = data.ReadUcs1()
                };
                Devices.Add(device);
            }
        }
Esempio n. 7
0
 public override void ReadData(CitpBinaryReader data)
 {
     base.ReadData(data);
     UniverseIndex = data.ReadByte();
     UniverseName  = data.ReadUcs1();
 }
Esempio n. 8
0
 public override void ReadData(CitpBinaryReader data)
 {
     base.ReadData(data);
     ConnectionString = data.ReadUcs1();
 }
Esempio n. 9
0
 public override void ReadData(CitpBinaryReader data)
 {
     base.ReadData(data);
     Identifier = data.ReadUcs1();
 }
Esempio n. 10
0
 public override void ReadData(CitpBinaryReader data)
 {
     base.ReadData(data);
     Name = data.ReadUcs1();
 }