XrayImageInterface.cs 733 字节
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Asa.eyemLib;

namespace Asa
{
    interface XrayImageInterface
    {
        bool Open();
        bool Close();

        bool GetImage(int _MaxFrameCount = 3, int MaxDelay = 5000);
        Bitmap Get48bImage();

        EyemImage GetRawBufferHandle();
        void FreeRawBufferHandle();
        void LoadRAW(string filePath);
        void SaveRAW(string filePath);

        /// <summary>
        /// 窗宽
        /// </summary>
        int WindowWidth { set; get; }
        /// <summary>
        /// 窗位
        /// </summary>
        int WindowLevel { set; get; }
    }
}