コード例 #1
0
            public void SmpteOffsetEvent()
            {
                var  ticks = 6276540u;
                byte hr    = 223;
                byte mn    = 145;
                byte se    = 126;
                byte fr    = 36;
                byte ff    = 255;

                var x = new SmpteOffsetEvent(ticks, hr, mn, se, fr, ff);
                var y = ReDeserialize(x);

                Assert.That(x.Ticks == y.Ticks);
                Assert.That(x.hr == y.hr);
                Assert.That(x.mn == y.mn);
                Assert.That(x.se == y.se);
                Assert.That(x.fr == y.fr);
                Assert.That(x.ff == y.ff);
            }
コード例 #2
0
 public SmpteOffsetEventLabel(SmpteOffsetEvent smpteOffsetEvent) : base(smpteOffsetEvent)
 {
 }