28 lines
696 B
C#
28 lines
696 B
C#
using Cowain.Injecting.Model;
|
|
using HslCommunication;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Cowain.Injecting.Communication.Interface
|
|
{
|
|
public interface IScanCodeDevice
|
|
{
|
|
int Id { get; set; }
|
|
string IpAddress { get; set; }
|
|
int Port { get; set; }
|
|
string Name { get; set; }
|
|
string Command { get; set; }
|
|
string FilterCodes { get; set; }
|
|
string DeviceName { get; set; }
|
|
bool IsConnect { get; set; }
|
|
|
|
bool Connect();
|
|
void Close();
|
|
OperateResult<string> ReadCode();
|
|
void GetJsonParam(string param);
|
|
}
|
|
}
|