using System;
using System.Collections.Generic;
using System.Text;
namespace YLShipBuildLandMap.Services.SystemSetting
{
public interface ISNServices
{
///
/// 获取下一个序列号带key(可指定序列号位数)
///
/// 序列号的类别标识
///
string GetSN(string key, int postfixLength = 2, string text = "");
///
/// 获取下一个序列号带key同时更新(可指定序列号位数)
///
/// 序列号的类别标识
///
string SetSN(string key, int postfixLength = 2, string text = "");
///
/// 获取下一位序列号不带key(可指定序列号位数)
///
/// 序列号的类别标识
///
string GetSNValue(string key, int postfixLength = 2);
///
/// 设置下一个序列号,同时更新(带skip)
/// 把序列号向后跳过一定的数量,该方法主要用于批量建立序列号
///
///
///
///
void SkipSN(string key, int skipCount);
///
/// 获取下一个序列号不带key同时更新(可指定序列号位数)
///
/// 序列号的类别标识
///
string SetDialySN(string key, int postfixLength = 2);
///
/// 获取下一个序列号带key同时更新,不带key(可指定序列号位数)
///
///
///
string SetSNValue(string key, int postfixLength = 2, string text = "");
}
}