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 HADeviceExt(IHADevice ha) : base(ha)
 {
     haDevice   = ha;
     Refreshed += PartnerRefreshed;
 }