47 lines
932 B
C#
47 lines
932 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.ServiceModel;
|
|||
|
using System.Text;
|
|||
|
using DeiNiu.wms.Logical;
|
|||
|
using System.Data;
|
|||
|
|
|||
|
namespace DeiNiu.Wcf
|
|||
|
{
|
|||
|
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码、svc 和配置文件中的类名“Setup”。
|
|||
|
public class Setup : basicService, ISetup
|
|||
|
{
|
|||
|
private static lNode _node;
|
|||
|
lNode node
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
if (_node == null || _node.operId != getOperId())
|
|||
|
{
|
|||
|
_node = new lNode(getOperId());
|
|||
|
}
|
|||
|
return _node;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public bool initialDesk()
|
|||
|
{
|
|||
|
return node.initialDesk();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public DataTable getDesks()
|
|||
|
{
|
|||
|
return node.getDesks();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
}
|