| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using OTSCLRINTERFACE;
- using OTSCLRINTERFACE;
- using OTSDataType;
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OTSModelSharp.ServiceInterface
- {
- public class ScanController : IScanController
- {
- private OTSCLRINTERFACE.COTSControlFunExport scan;
- public ScanController()
- {
- this.scan = SemController.hw;
-
- }
- public CBSEImgClr AcquireBSEImage(int matrixIndex, int reads, int dwell)
- {
- CBSEImgClr bse = new CBSEImgClr();
- scan.AcquireBSEImage(matrixIndex, reads, dwell, ref bse);
-
- return bse;
- }
- public bool Init()
- {
- return scan.ScanInit();
- }
-
- public bool SetDwellTime(long val)
- {
- return scan.SetDwellTime((int)val);
- }
- public bool SetImageSize(int width,int height)
- {
- return scan.SetImageSize(width,height);
- }
- }
- }
|