PanasonicHelperCalculateComplexAddress 方法 |
位地址转换方法,101等同于10.1等同于10*16+1=161
Bit address conversion method, 101 is equivalent to 10.1 is equivalent to 10 * 16 + 1 = 161
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static int CalculateComplexAddress(
string address,
int fromBase = 16
)
Public Shared Function CalculateComplexAddress (
address As String,
Optional fromBase As Integer = 16
) As Integer
public:
static int CalculateComplexAddress(
String^ address,
int fromBase = 16
)
static member CalculateComplexAddress :
address : string *
?fromBase : int
(* Defaults:
let _fromBase = defaultArg fromBase 16
*)
-> int
参数
- address
- 类型:SystemString
地址信息 - fromBase (Optional)
- 类型:SystemInt32
倍率信息
返回值
类型:
Int32实际的位地址信息
参见