mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-13 19:54:59 +00:00
Finishes converting all existing types to new DeviceFactory mechanism. #106
This commit is contained in:
@@ -770,4 +770,19 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||
_AutoAnswerEnabled = value;
|
||||
}
|
||||
}
|
||||
|
||||
public class MockVCFactory : EssentialsDeviceFactory<MockVC>
|
||||
{
|
||||
public MockVCFactory()
|
||||
{
|
||||
TypeNames = new List<string>() { "mockvc" };
|
||||
}
|
||||
|
||||
public override EssentialsDevice BuildDevice(DeviceConfig dc)
|
||||
{
|
||||
Debug.Console(1, "Factory Attempting to create new MockVC Device");
|
||||
return new VideoCodec.MockVC(dc);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user