Ignore:
Timestamp:
Jan 26, 2011, 6:01:39 AM (14 years ago)
Author:
Sam Habiel
Message:

New exe and dll
calendarGrid: Minor documentation updates.
CGAppointments: Object now supports Deep cloning
CGDocument:

  1. Major changes on how m_pAvArrays is handled. Now it is locked whenever it is updated or queried. Some refactoring to make sure there are no db calls during the locks so that the locks won't be expensive.
  2. Removed ClearResources, an unused method.
  3. Appointment aCopy walkin property is set to true if the appointment is a walkin. This makes sure that the grid draws it correctly between it is added to the appointment array and we fetch new data from the server.
  4. Create appointment is not responsible anymore for requesting updates from the server. All requests to update data must be done through CGView, as it is the only party interested in displaying accurate data on the grid. Just send the create appt event to the server.
  5. CheckInAppointment: Same thing. Now responsible for requesting updates from the server. Just send the checkin event to the server.

CGDocumentManager: Removed tracing. Done in BMX Library only now.
CGView:

  1. CGAppointment fetched from Document, not from the copy maintained by the calendarGrid.
  2. RefreshDocument calls before an appointment is made have been removed (need to find another way to make sure that the appointment has just not been booked). RefreshDocument & UpdateArrays are called async after appointments are made.
  3. Appointment List passed to Calendar grid is now a copy, to prevent issues with concurrent access.
  4. Message if a patient has apppointment at the same time vastly improved.
File:
1 edited

Legend:

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

    r1073 r1083  
    11821182            DataTable dtOut;
    11831183
    1184 #if TRACE
    1185             DateTime sendTime = DateTime.Now;
    1186 #endif
    11871184                        try
    11881185                        {
     
    11981195                                throw ex;
    11991196                        }
    1200 
    1201 #if TRACE
    1202             DateTime receiveTime = DateTime.Now;
    1203             TimeSpan executionTime = receiveTime - sendTime;
    1204             Debug.Write("CGDocumentManager::RPMSDataTable Execution Time: " + executionTime.Milliseconds + " ms.\n");
    1205 #endif
    12061197
    12071198            return dtOut;
Note: See TracChangeset for help on using the changeset viewer.