private void readImageInfo() { sd.theImage.dRA = to.targetObjectRA; sd.theImage.dDec = to.targetObjectDec; sd.theImage.RA = Util.HoursToHMS(to.targetObjectRA, ":", ":"); sd.theImage.Dec = Util.HoursToHMS(to.targetObjectDec, ":", ":"); sd.theImage.Alt = Util.HoursToHMS(to.targetObjectAlt, " ", " "); sd.theImage.Az = Util.HoursToHMS(to.targetObjectAz, " ", " "); sd.theImage.arcSecsPerPixX = (sd.ImagingCam.PixelSizeX / Properties.Settings.Default.imaging_telescope_focal_length) * 0.206 * 1000; sd.theImage.arcSecsPerPixY = (sd.ImagingCam.PixelSizeY / Properties.Settings.Default.imaging_telescope_focal_length) * 0.206 * 1000; sd.theImage.BinX = sd.ImagingCam.BinX; sd.theImage.BinY = sd.ImagingCam.BinY; sd.theImage.MaxADU = sd.ImagingCam.MaxADU; sd.theImage.Description = sd.ImagingCam.Description; //sd.theImage.LastExposureDuration = sd.ImagingCam.LastExposureDuration; //sd.theImage.LastExposureStartTime = sd.ImagingCam.LastExposureStartTime; sd.theImage.PixelSizeX = sd.ImagingCam.PixelSizeX; sd.theImage.PixelSizeY = sd.ImagingCam.PixelSizeY; sd.theImage.StartX = sd.ImagingCam.StartX; sd.theImage.StartY = sd.ImagingCam.StartY; sd.theImage.Min = sd.ImagingCam.Min; sd.theImage.Max = sd.ImagingCam.Max; if (sd.ImagingCam.CanSetCCDTemperature) { sd.theImage.CCDTemperature = sd.ImagingCam.CCDTemperature; sd.theImage.CanSetCCDTemperature = sd.ImagingCam.CanSetCCDTemperature; sd.theImage.SetCCDTemperature = sd.ImagingCam.SetCCDTemperature; } sd.theImage.objectName = to.targetObjectName; }