Ignore:
Timestamp:
Jan 9, 2011, 7:13:00 AM (14 years ago)
Author:
Sam Habiel
Message:

CGView:

  • Changed the parameters required for checkin.
  • Removed references to PCC+ and Stop Code processing, as they don't apply in VISTA.

CGDocument:

  • Changed RPC call parameters to check in an appointment (BSDX CHECKIN APPOINTMENT).
  • Date passed to BSDX Checkin Appointment is now an FM Date.
  • Both necessitated server side changes.

DCheckIn:

  • Removed processing for PCC+ and Stop Codes.

CGDocumentManager

  • Removed Clinic Stop Code table loading.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r1051 r1062  
    293293            threadSplash.Start(m_ds); // pass form as parameter.
    294294
    295             //There are 20 steps to load the application. That's max for the progress bar.
    296             setMaxProgressDelegate(20);
     295            //There are 19 steps to load the application. That's max for the progress bar.
     296            setMaxProgressDelegate(19);
    297297           
    298298            // smh--not used: System.Configuration.ConfigurationManager.GetSection("appSettings");
     
    300300            setStatusDelegate("Connecting to VISTA");
    301301           
    302                         bool bRetry = true;
    303 
    304302            //Try to connect using supplied values for Server and Port
    305303            //Why am I doing this? The library BMX net uses prompts for access and verify code
     
    322320            }
    323321
    324                        
     322
     323            bool bRetry = true;
     324
    325325            // Do block is Log-in logic
    326326            do
     
    470470            dtGroups.PrimaryKey = dcKeys;
    471471
    472             //Get Access Group Types (??)
     472            //Get Access Group Types (Combines Access Types and Groups)
     473            //Optimization Note: Can eliminate Access type and Access Group Table
     474            // But they are heavily referenced throughout the code.
    473475            // Table #7
    474476            setProgressDelegate(7);
     
    491493            //ResourceGroup Table (Resource Groups by User)
    492494            // Table #8
     495            // What shows up on the tree. The groups the user has access to.
    493496            setProgressDelegate(8);
    494497            setStatusDelegate(statusConst + " Resource Groups By User");
     
    497500            //Resources by user
    498501            // Table #9
     502            // Individual Resources
    499503            setProgressDelegate(9);
    500504            setStatusDelegate(statusConst + " Resources By User");
     
    508512            //GroupResources table
    509513            // Table #10
     514            // Resource Groups and Indivdual Resources together
    510515            setProgressDelegate(10);
    511516            setStatusDelegate(statusConst + " Group Resources");
     
    559564            //Build ResourceUser table
    560565            //Table #13
     566            //Acess to Resources by [this] User
    561567            setProgressDelegate(13);
    562568            setStatusDelegate(statusConst + " Resource User");
     
    577583            //Build active provider table
    578584            //Table #14
     585            //TODO: Lazy load the provider table; no need to load in advance.
    579586            setProgressDelegate(14);
    580587            setStatusDelegate(statusConst + " Providers");
     
    583590            Debug.Write("LoadGlobalRecordsets -- Provider loaded\n");
    584591
    585             //Build the CLINIC_STOP table
     592            //Build the HOLIDAY table
    586593            //Table #15
    587594            setProgressDelegate(15);
    588             setStatusDelegate(statusConst + " Clinic Stops");
    589             // sCommandText = "SELECT BMXIEN, CODE, NAME FROM CLINIC_STOP"; //SMH
    590             sCommandText = "SELECT BMXIEN, AMIS_REPORTING_STOP_CODE, NAME FROM CLINIC_STOP";
    591             ConnectInfo.RPMSDataTable(sCommandText, "ClinicStop", m_dsGlobal);
    592             Debug.Write("LoadGlobalRecordsets -- ClinicStop loaded\n");
    593 
    594             //Build the HOLIDAY table
    595             //Table #16
    596             setProgressDelegate(16);
    597595            setStatusDelegate(statusConst + " Holiday");
    598596            sCommandText = "SELECT NAME, DATE FROM HOLIDAY WHERE DATE > '" + DateTime.Today.ToShortDateString() + "'";
     
    613611                        // Event Subsriptions
    614612            setStatusDelegate("Subscribing to Server Events");
    615             //Table #17
     613            //Table #16
     614            setProgressDelegate(16);
     615            _current.m_ConnectInfo.SubscribeEvent("BSDX SCHEDULE");
     616                        //Table #17
    616617            setProgressDelegate(17);
    617             _current.m_ConnectInfo.SubscribeEvent("BSDX SCHEDULE");
     618            _current.m_ConnectInfo.SubscribeEvent("BSDX CALL WORKSTATIONS");
    618619                        //Table #18
    619620            setProgressDelegate(18);
    620             _current.m_ConnectInfo.SubscribeEvent("BSDX CALL WORKSTATIONS");
     621            _current.m_ConnectInfo.SubscribeEvent("BSDX ADMIN MESSAGE");
    621622                        //Table #19
    622623            setProgressDelegate(19);
    623             _current.m_ConnectInfo.SubscribeEvent("BSDX ADMIN MESSAGE");
    624                         //Table #20
    625             setProgressDelegate(20);
    626624            _current.m_ConnectInfo.SubscribeEvent("BSDX ADMIN SHUTDOWN");
    627625
Note: See TracChangeset for help on using the changeset viewer.