Beispiel #1
0
 /// <summary>Creates a <see cref="RemoteImageSurrogate"/> from a given set of headers, channel reference and communication channel.</summary>
 public RemoteImageSurrogate(int ChannelRef, IFitsRemoteChannel Channel, ICHV Header, PropDict Properties) : base(Header, Properties)
 {
     Reference   = ChannelRef;
     CommChannel = Channel;
 }
Beispiel #2
0
 /// <summary>Unpacks the serialized data to an image surrogate.</summary>
 public RemoteImageSurrogate GetRemoteSurrogate(IFitsRemoteChannel RemotingChannel) =>
 new RemoteImageSurrogate(Reference, RemotingChannel, ICHV, Properties);