public ViscaMemoryVaddioTriSync(byte address, byte preset, byte operation, TriSyncSpeedVariable speed) : base(address, preset, operation, ViscaDefaultsVaddio.PresetLimits) { _triSyncSpeed = speed; _triSyncSpeed.VariableChanged += (s, e) => { _triSyncSpeedByte1.Value = (byte)(e.Value & 0xf0); _triSyncSpeedByte1.Value = (byte)(e.Value & 0x0f); }; _triSyncSpeedByte1 = new ViscaVariable("TriSyncSpeedByte1", (byte)(_triSyncSpeed.Value & 0xf0)); _triSyncSpeedByte2 = new ViscaVariable("TriSyncSpeedByte2", (byte)(_triSyncSpeed.Value & 0x0f)); Append(operation); Append(_triSyncSpeedByte1); Append(_triSyncSpeedByte2); }
public ViscaMemoryVaddioSetTriSync(byte address, byte preset, TriSyncSpeedVariable speed) : base(address, preset, Visca.Commands.MemoryCommandsVaddio.SetTriSync, speed) { }