///
/// Copyright (c) 2016 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
namespace Workplace
{
public interface ICheckItem
{
///
/// Part to be scanned / checked
///
SharedDatabase.Entities.Part Part { get; }
///
/// ID of a part in this workstep:
/// 0 undefined
/// 1 reference part
/// 2..99 parts with unique codes
/// 100.. parts with batch numbers
///
int IxPolozky { get; set; }
///
/// List of forbidden black listed codes
///
IList BlackListedCodes { get; set; }
///
/// Scanned or obtained code of the part
///
string ScannedCode { get; set; } /// Read/Set the scanned code
void ClearCode(); /// Clear the code
void SubmitCode(string code); /// Set the code and proceed like enter button is pressed
void ResetFocus();
void SetFocus();
}
}