实例化一个自增信息的对象,包括最大值,初始值,增量值
Instantiate an object with incremental information, including the maximum value and initial value, IncreaseTick
命名空间:
HslCommunication.BasicFramework
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public SoftIncrementCount(
long max,
long start = 0,
int tick = 1
)
Public Sub New (
max As Long,
Optional start As Long = 0,
Optional tick As Integer = 1
)
public:
SoftIncrementCount(
long long max,
long long start = 0,
int tick = 1
)
new :
max : int64 *
?start : int64 *
?tick : int
(* Defaults:
let _start = defaultArg start 0
let _tick = defaultArg tick 1
*)
-> SoftIncrementCount
参数
- max
- 类型:SystemInt64
数据的最大值,必须指定 - start (Optional)
- 类型:SystemInt64
数据的起始值,默认为0 - tick (Optional)
- 类型:SystemInt32
每次的增量值
参见