Skip to content
  • 当前项目
    • 正在载入...
  • 登录

张东亮 / SO1037-LiftController

%e6%8c%9a%e9%94%a6%e7%a7%91%e6%8a%80
转到一个项目
切换导航栏
切换导航栏固定状态
  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 项目
  • 活动
  • 版本库
  • 流水线
  • 图表
  • 问题 0
  • 合并请求 0
  • 维基
  • 网络
  • 创建新的问题
  • 作业
  • 提交
  • 问题看板
  • 文件
  • 提交
  • 网络
  • 比较
  • 分支
  • 标签
切换分支/标签
  • SO1037-LiftController
  • source
  • DeviceLibrary
  • Context
  • ServiceContext.cs
  • 张东亮's avatar
    init · 757c5c07
    张东亮 提交于 2022-01-11 16:22:46 +0800
    757c5c07 浏览文件
ServiceContext.cs 414 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using System;
using DeviceLibrary.Service;
using System.ServiceModel.Web;
using Common;

namespace DeviceLibrary.Context
{
    public class ServiceContext
    {
        private LiftService liftService = new LiftService();
        public void Open(string baseurl)
        {
            liftService.Open(baseurl);
        }
        public void Close()
        {
            liftService.Close();
        }
    }
}