You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.0 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using SlnMesnac.RfidUpload.Common;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* 版权所有 (c) 2024 WenJY 保留所有权利。
* CLR版本4.0.30319.42000
* 机器名称T14-GEN3-7895
* 命名空间SlnMesnac.RfidUpload.Model.apiParam
* 唯一标识923d436a-eb53-433b-87f6-f00771f525da
*
* 创建者WenJY
* 电子邮箱:
* 创建时间2024-10-29 14:57:58
* 版本V1.0.0
* 描述:
*
*--------------------------------------------------------------------
* 修改人:
* 时间:
* 修改说明:
*
* 版本V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace SlnMesnac.RfidUpload.Model.apiParam
{
/// <summary>
/// 容器入库接口参数
/// </summary>
public class BatchOpenQuery
{
private static readonly Lazy<BatchOpenQuery> lazy = new Lazy<BatchOpenQuery>(() => new BatchOpenQuery());
public static BatchOpenQuery Instance
{
get
{
return lazy.Value;
}
}
private BatchOpenQuery()
{
}
private static INIFile iNIFile = new INIFile(System.Environment.CurrentDirectory + "/App.InI");
/// <summary>
/// 机构代码
/// </summary>
public string opOrgCode
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "opOrgCode"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "opOrgCode", value.ToString()); }
}
/// <summary>
/// 登录人代码
/// </summary>
public string userCode
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "userCode"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "userCode", value.ToString()); }
}
/// <summary>
/// 登录人名称
/// </summary>
public string userName
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "userName"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "userName", value.ToString()); }
}
/// <summary>
/// 省份代码
/// </summary>
public string provice
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "provice"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "provice", value.ToString()); }
}
/// <summary>
/// 容器条码
/// </summary>
public string rqtm
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "rqtm"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "rqtm", value.ToString()); }
}
/// <summary>
/// 设备编码
/// </summary>
public string devicedId
{
get { return iNIFile.IniReadValue("BatchOpenQuery", "devicedId"); }
set { iNIFile.IniWriteValue("BatchOpenQuery", "devicedId", value.ToString()); }
}
}
}