add AdcDeviceNetClient class
This commit is contained in:
@@ -369,6 +369,17 @@ public:
|
||||
return isKey(ACK_KEY_IDX);
|
||||
}
|
||||
|
||||
// ACK KEY_NAME ...
|
||||
bool isACK(std::string_view key) const
|
||||
{
|
||||
auto ats = attrs();
|
||||
if (std::ranges::size(ats)) {
|
||||
return isKey(ACK_KEY_IDX) && (key == *ats.begin());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool isSET() const
|
||||
{
|
||||
return isKey(SET_KEY_IDX);
|
||||
|
||||
Reference in New Issue
Block a user