Exemple #1
0
        private DcmTp(DcmAppRxIndicationCallback rxIndication)
        {
            this.rxIndication = rxIndication
                                ?? throw new ArgumentNullException("Dcm App Rx Indication Cannot be null");

            workState = WorkStateEnum.Idle;
        }
Exemple #2
0
 public static DcmTp Instance(DcmAppRxIndicationCallback rxIndication = null)
 {
     if (instance == null)
     {
         lock (syncRoot)
         {
             if (instance == null)
             {
                 instance = new DcmTp(rxIndication);
             }
         }
     }
     return(instance);
 }