internal static IDeviceExt ToExt(this IDevice device) { return((device) switch { IDeviceExt ext => ext, IHADevice ha => new HADeviceExt(ha), ILSFSDevice lsfs => new LSFSDeviceExt(lsfs), IVTLDevice vtl => new VTLDeviceExt(vtl), _ => new DeviceExt(device) });
public LSFSDeviceExt(ILSFSDevice lsfs) : base(lsfs) { lsfsDevice = lsfs; }