50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using VisionCommon;
|
|
|
|
namespace WeldingCommon.Sequences
|
|
{
|
|
public class InitParam
|
|
{
|
|
public bool StartWithManual { get; set; } // TODO: manual 일 경우, 다음 공정으로 이동 하지 않도록 설정해야....
|
|
}
|
|
|
|
public class OutParam
|
|
{
|
|
public bool Success { get; set; }
|
|
public object Param { get; set; }
|
|
}
|
|
|
|
// Sequence 종료 되었을 때가 아닌, Sequence 실행 중 Item 을 하나씩 Update 하기 위해 Event publish 함.
|
|
public class UpdateDataGridItem
|
|
{
|
|
public int Upositionindex { get; set; }
|
|
public int UVisionX { get; set; }
|
|
public int UVisionY { get; set; }
|
|
|
|
public UpdateDataGridItem(int upositionindex, int uVisionX, int uVisionY)
|
|
{
|
|
Upositionindex = upositionindex;
|
|
UVisionX = uVisionX;
|
|
UVisionY = uVisionY;
|
|
}
|
|
}
|
|
|
|
// Data 에 있던 것을 가져 옴. ScoutSeqParams.cs
|
|
public class ScoutSeqParams
|
|
{
|
|
public FovInfo FovInfo { get; }
|
|
public eDisplayType DisplayType { get; }
|
|
|
|
public ScoutSeqParams(FovInfo fovInfo, eDisplayType displayType)
|
|
{
|
|
FovInfo = fovInfo;
|
|
DisplayType = displayType;
|
|
}
|
|
}
|
|
|
|
}
|