Esempio n. 1
0
        /*----------------------------------------------------------------------------
        *       %%Function: DvdInfoRetrieve
        *       %%Qualified: UniversalUpc.UpcInvCore.DvdInfoRetrieve
        *       %%Contact: rlittle
        *
        *   Get information for this DVD scan code
        *  ----------------------------------------------------------------------------*/
        public async Task <DvdInfo> DvdInfoRetrieve(string sScanCode)
        {
            EnsureServiceConnection();

            USR_DvdInfo usrd = await m_api.GetDvdScanInfo(sScanCode);

            DvdInfo dvdInfo = usrd.TheValue;

            return(dvdInfo);
        }
Esempio n. 2
0
        public static USR_DvdInfo FromTCSR(USR usr)
        {
            USR_DvdInfo usrs = new USR_DvdInfo();

            usrs.Reason        = usr.Reason;
            usrs.Result        = usr.Result;
            usrs.CorrelationID = usr.CorrelationID;

            return(usrs);
        }