public ATTEvent_t Parse(IStructReader reader) { try { logger.Info("ATTSnapshotCallConfParser.Parse: eventType=ATT_SNAPSHOT_CALL_CONF"); ATTSnapshotCallConfEvent_t snapshotCallConf = new ATTSnapshotCallConfEvent_t { deviceHistory = ReadDeviceHistory(reader) }; ATTEvent_t attEvent = new ATTEvent_t() { eventType = (ushort)eventType }; attEvent.u.snapshotCallConf = snapshotCallConf; return(attEvent); } catch (Exception err) { logger.Error(string.Format("Error in ATTSnapshotCallConfParser.Parse: {0}", err)); } return(null); }
public SnapshotCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2) { Csta = a1.snapshotCall; Att = a2.snapshotCallConf; }