Changeset 864 for Scheduling/trunk/cs
- Timestamp:
- Jul 13, 2010, 9:07:11 AM (14 years ago)
- Location:
- Scheduling/trunk/cs/bsdx0200GUISourceCode
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGAVDocument.cs
r627 r864 220 220 string sSlots; 221 221 222 sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 223 sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 224 sNote = rApptInfo.Note; 222 //sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 223 //sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 224 // i18n support 225 sStart = FMDateTime.Create(rApptInfo.StartTime).FMDateString; 226 sEnd = FMDateTime.Create(rApptInfo.EndTime).FMDateString; 227 sNote = rApptInfo.Note; 225 228 sResource = rApptInfo.Resource; 226 229 sTypeID = rApptInfo.AccessTypeID.ToString(); … … 234 237 235 238 string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote; 236 DataTable dtAppt = m_DocManager.RPMSDataTable(sSql, "NewAvailability");239 DataTable dtAppt = m_DocManager.RPMSDataTable(sSql, "NewAvailability"); 237 240 238 241 int nApptID; … … 273 276 string sSlots; 274 277 275 sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 276 sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 278 //sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 279 //sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 280 // i18n support 281 sStart = FMDateTime.Create(rApptInfo.StartTime).FMDateString; 282 sEnd = FMDateTime.Create(rApptInfo.EndTime).FMDateString; 277 283 sNote = rApptInfo.Note; 278 284 sResource = rApptInfo.Resource; -
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGAVView.cs
r620 r864 1009 1009 { 1010 1010 //Convert start and end to string 1011 string sStart = dtStart.ToString("M/d/yyyy"); 1012 string sEnd = dtEnd.ToString("M/d/yyyy"); 1013 1011 //string sStart = dtStart.ToString("M/d/yyyy"); 1012 //string sEnd = dtEnd.ToString("M/d/yyyy"); 1013 //i18n 1014 string sStart = FMDateTime.Create(dtStart).DateOnly.FMDateString; 1015 string sEnd = FMDateTime.Create(dtEnd).DateOnly.FMDateString; 1014 1016 //Cancel all existing access blocks in the date range 1015 1017 string sSql = "BSDX CANCEL AV BY DATE^" + sResourceID + "^" + sStart + "^" + sEnd; -
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocument.cs
r850 r864 720 720 string sApptID; 721 721 722 sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 723 sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 722 //sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm"); 723 //sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm"); 724 725 // i18n code -- Use culture neutral FMDates 726 sStart = FMDateTime.Create(rApptInfo.StartTime).FMDateString; 727 sEnd = FMDateTime.Create(rApptInfo.EndTime).FMDateString; 728 724 729 TimeSpan sp = rApptInfo.EndTime - rApptInfo.StartTime; 725 730 sLen = sp.TotalMinutes.ToString(); … … 912 917 913 918 DateTime dStart = a.StartTime.AddDays(nMinimumDays); 919 // v 1.3 i18n support - FM Date passed insated of American Date 920 string sStart = FMDateTime.Create(dStart).DateOnly.FMDateString; 914 921 DateTime dEnd = dStart.AddDays(nIncrement); 915 922 do 916 923 { 917 string sSql = "BSDX REBOOK NEXT BLOCK^" + dStart.ToString("M/d/yyyy@H:mm")+ "^" + a.Resource + "^" + nAVType.ToString();924 string sSql = "BSDX REBOOK NEXT BLOCK^" + sStart + "^" + a.Resource + "^" + nAVType.ToString(); 918 925 DataTable dtNextBlock = this.DocManager.RPMSDataTable(sSql, "NextBlock"); 919 926 Debug.Assert(dtNextBlock.Rows.Count == 1); … … 993 1000 { 994 1001 string sApptKey = a.AppointmentKey.ToString(); 995 string sRebookedTo = dtRebookedTo.ToString("M/d/yyyy@HH:mm"); 1002 //string sRebookedTo = dtRebookedTo.ToString("M/d/yyyy@HH:mm"); 1003 // i18n 1004 string sRebookedTo = FMDateTime.Create(dtRebookedTo).FMDateString; 996 1005 string sSql = "BSDX REBOOK SET^" + sApptKey + "^" + sRebookedTo; 997 1006 System.Data.DataTable dtRebook = m_DocManager.RPMSDataTable(sSql, "AutoRebook"); -
Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj
r843 r864 433 433 </ItemGroup> 434 434 <ItemGroup> 435 <ProjectReference Include="..\..\..\ BMX\bmx_0200scr\BMX2\BMXNet\BMXNet.csproj">435 <ProjectReference Include="..\..\..\bmx_rep\BMX2\BMXNet\BMXNet.csproj"> 436 436 <Project>{DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}</Project> 437 437 <Name>BMXNet</Name> -
Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user
r850 r864 36 36 </RemoteDebugMachine> 37 37 <StartAction>Project</StartAction> 38 <StartArguments>/s=1 72.16.17.51 /p=9240 /a=shabiel12 /v=catdog.44/e=windows-1256</StartArguments>38 <StartArguments>/s=192.168.2.106 /p=9260 /a=shabiel12 /v=catdog.55 /e=windows-1256</StartArguments> 39 39 <StartPage> 40 40 </StartPage> … … 55 55 </RemoteDebugMachine> 56 56 <StartAction>Project</StartAction> 57 <StartArguments>/s=1 72.16.17.51 /p=9240 /a=shabiel12 /v=catdog.44/e=windows-1256</StartArguments>57 <StartArguments>/s=192.168.2.106 /p=9260 /a=shabiel12 /v=catdog.55 /e=windows-1256</StartArguments> 58 58 <StartPage> 59 59 </StartPage> -
Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.sln
r824 r864 4 4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClinicalScheduling", "ClinicalScheduling.csproj", "{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}" 5 5 EndProject 6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BMXNet", "..\..\..\ BMX\bmx_0200scr\BMX2\BMXNet\BMXNet.csproj", "{DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}"6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BMXNet", "..\..\..\bmx_rep\BMX2\BMXNet\BMXNet.csproj", "{DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}" 7 7 EndProject 8 8 Global -
Scheduling/trunk/cs/bsdx0200GUISourceCode/DCopyAppts.cs
r859 r864 23 23 private System.Windows.Forms.Label lblProgress; 24 24 private System.ComponentModel.IContainer components; 25 26 delegate DataTable RPMSDataTableDelegate(string CommandString, string TableName);27 25 28 26 … … 197 195 string sSql = "BSDX COPY APPOINTMENTS^" + m_ResourceID + "^" + m_HospLocationID + "^" + sFMBeginDate + "^" + sFMEndDate; 198 196 199 //DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopy");200 //Debug.Assert(dt.Rows.Count == 1);197 DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopy"); 198 Debug.Assert(dt.Rows.Count == 1); 201 199 202 200 // TODO (later): delegate is supposed to support cross thread communication -- but this doesn't work. 203 RPMSDataTableDelegated = new RPMSDataTableDelegate(m_DocManager.RPMSDataTable);204 DataTable dt = d.Invoke(sSql, "ApptCopy");205 Debug.Assert(dt.Rows.Count == 1);201 //m_DocManager d = new RPMSDataTableDelegate(m_DocManager.RPMSDataTable); 202 //DataTable dt = d.Invoke(sSql, "ApptCopy"); 203 //Debug.Assert(dt.Rows.Count == 1); 206 204 207 205 DataRow dr = dt.Rows[0]; -
Scheduling/trunk/cs/bsdx0200GUISourceCode/RPC_Calls.txt
r860 r864 1 1 Find all ""BSDX ", Subfolders, Find Results 1, "Current Project" 2 2 CGAVDocument.cs(196): string sSql = "BSDX CANCEL AVAILABILITY^" + nApptID.ToString(); 3 *CGAVDocument.cs(235): string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote;4 *CGAVDocument.cs(303): string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote;3 # CGAVDocument.cs(235): string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote; 4 # CGAVDocument.cs(303): string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote; 5 5 CGAVView.cs(622):// sSql = "BSDX RAISE EVENT^" + sEvent + "^" + sParams + "^^"; 6 6 CGAVView.cs(669): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); … … 8 8 CGAVView.cs(771): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); 9 9 CGAVView.cs(906): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); 10 *CGAVView.cs(1015): string sSql = "BSDX CANCEL AV BY DATE^" + sResourceID + "^" + sStart + "^" + sEnd;10 # CGAVView.cs(1015): string sSql = "BSDX CANCEL AV BY DATE^" + sResourceID + "^" + sStart + "^" + sEnd; 11 11 CGAVView.cs(1051): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); 12 12 CGAVView.cs(1265): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); 13 13 CGAVView.cs(1267): RaiseRPMSEvent("BSDX SCHEDULE", m_Document.DocName); 14 *CGDocument.cs(745): string sSql = "BSDX ADD NEW APPOINTMENT^" + sStart + "^" + sEnd + "^" + sPatID + "^" + sResource + "^" + sLen + "^" + sNote + "^" + sApptID ;14 # CGDocument.cs(745): string sSql = "BSDX ADD NEW APPOINTMENT^" + sStart + "^" + sEnd + "^" + sPatID + "^" + sResource + "^" + sLen + "^" + sNote + "^" + sApptID ; 15 15 CGDocument.cs(771): string sSql = "BSDX EDIT APPOINTMENT^" + nApptID.ToString() + "^" + sNote; 16 16 CGDocument.cs(804): string sSql = "BSDX CHECKIN APPOINTMENT^" + nApptID.ToString() + "^" + sCheckIn + "^"; 17 17 CGDocument.cs(833): string sSql = "BSDX CANCEL APPOINTMENT^" + nApptID.ToString(); 18 *CGDocument.cs(917): string sSql = "BSDX REBOOK NEXT BLOCK^" + dStart.ToString("M/d/yyyy@H:mm")+ "^" + a.Resource + "^" + nAVType.ToString();19 CGDocument.cs(996): string sSql = "BSDX REBOOK SET^" + sApptKey + "^" + sRebookedTo;18 # CGDocument.cs(917): string sSql = "BSDX REBOOK NEXT BLOCK^" + dStart.ToString("M/d/yyyy@H:mm")+ "^" + a.Resource + "^" + nAVType.ToString(); 19 # CGDocument.cs(996): string sSql = "BSDX REBOOK SET^" + sApptKey + "^" + sRebookedTo; 20 20 CGDocument.cs(1013): string sSql = "BSDX NOSHOW^" + nApptID.ToString(); 21 21 CGDocumentManager.cs(59): if (e.BMXEvent == "BSDX CALL WORKSTATIONS")
Note:
See TracChangeset
for help on using the changeset viewer.