首次提交:添加src文件夹代码
This commit is contained in:
24
Cowain.Bake.Common/Interface/ICommonFun.cs
Normal file
24
Cowain.Bake.Common/Interface/ICommonFun.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Cowain.Bake.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Unity;
|
||||
using static Cowain.Bake.Common.Models.MESModel;
|
||||
|
||||
namespace Cowain.Bake.Common.Interface
|
||||
{
|
||||
public interface ICommonFun
|
||||
{
|
||||
void ModifyOrderNum();
|
||||
bool ManualTaskCmd(TTaskRecord task, short cmd);
|
||||
|
||||
void InitWindows();
|
||||
|
||||
void SetBatteryCodeLen();
|
||||
string ManualMesOutUnBinding(TPalletInfo palletInfo, TBatteryInfo battery);
|
||||
|
||||
MESReturnCmdModel SendData(string info); //发送
|
||||
}
|
||||
}
|
||||
13
Cowain.Bake.Common/Interface/IDeviceDebug.cs
Normal file
13
Cowain.Bake.Common/Interface/IDeviceDebug.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Cowain.Bake.Common.Interface
|
||||
{
|
||||
public interface IDeviceDebug
|
||||
{
|
||||
object ExecDebug(string trigJson, string json); //Variable node string trigInfo, string replyJosn
|
||||
}
|
||||
}
|
||||
14
Cowain.Bake.Common/Interface/IRecvMesHttp.cs
Normal file
14
Cowain.Bake.Common/Interface/IRecvMesHttp.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Cowain.Bake.Common.Interface
|
||||
{
|
||||
public interface IRecvMesHttp
|
||||
{
|
||||
string RecvInfo(HttpListenerRequest request);
|
||||
}
|
||||
}
|
||||
18
Cowain.Bake.Common/Interface/IServerManager.cs
Normal file
18
Cowain.Bake.Common/Interface/IServerManager.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Unity;
|
||||
|
||||
namespace Cowain.Bake.Common.Interface
|
||||
{
|
||||
public interface IServerManager
|
||||
{
|
||||
string Name { get; set; }
|
||||
IUnityContainer _unityContainer { set; get; }
|
||||
|
||||
void Start();
|
||||
void Stop();
|
||||
}
|
||||
}
|
||||
16
Cowain.Bake.Common/Interface/ITrigService.cs
Normal file
16
Cowain.Bake.Common/Interface/ITrigService.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Cowain.Bake.Model.Models;
|
||||
using Opc.Ua;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Cowain.Bake.Common.Interface
|
||||
{
|
||||
public interface ITrigService
|
||||
{
|
||||
void RecvTrigInfo(DataValue data, Variable node); //Variable node string trigInfo, string replyJosn
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user