ldj/WcfService1/Setup.svc.cs

47 lines
932 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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();
}
}
}