コード例 #1
0
 public static void encode(
     MonitoredItemCreateRequest monitoredItemCreateRequest, UaEncoder encoder) {
   encoder.encodeSerializable(
       "ItemToMonitor",
       monitoredItemCreateRequest._itemToMonitor != null
           ? monitoredItemCreateRequest._itemToMonitor
           : new ReadValueId());
   encoder.encodeEnumeration("MonitoringMode", monitoredItemCreateRequest._monitoringMode);
   encoder.encodeSerializable(
       "RequestedParameters",
       monitoredItemCreateRequest._requestedParameters != null
           ? monitoredItemCreateRequest._requestedParameters
           : new MonitoringParameters());
 }