Dreamine.PLC.Abstractions
1.0.1
Dreamine.PLC.Abstractions 공용 계약과 추상화를 제공합니다.
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
PlcAddress.cs
이 파일의 문서화 페이지로 가기
1
namespace
Dreamine.PLC.Abstractions.Devices
;
2
35
public
readonly record
struct
PlcAddress
(
36
PlcDeviceType
DeviceType,
37
int Offset,
38
int? BitOffset =
null
)
39
{
48
public
bool
IsBitAddress
=> BitOffset.HasValue;
49
66
public
override
string
ToString
()
67
{
68
return
BitOffset.HasValue
69
? $
"{DeviceType}{Offset}.{BitOffset.Value}"
70
: $
"{DeviceType}{Offset}"
;
71
}
72
}
Dreamine.PLC.Abstractions.Devices
Definition
IPlcAddressParser.cs:3
Dreamine.PLC.Abstractions.Devices.PlcDeviceType
PlcDeviceType
Definition
PlcDeviceType.cs:12
Dreamine.PLC.Abstractions.Devices.PlcAddress
Definition
PlcAddress.cs:39
Dreamine.PLC.Abstractions.Devices.PlcAddress.ToString
override string ToString()
Definition
PlcAddress.cs:66
Dreamine.PLC.Abstractions.Devices.PlcAddress.IsBitAddress
bool IsBitAddress
Definition
PlcAddress.cs:48
Devices
PlcAddress.cs
다음에 의해 생성됨 :
1.17.0