BSDX Scheduling changes for version 2.0.1.

This commit is contained in:
faisal 2016-04-28 13:49:25 +00:00
parent 39a445ec8e
commit 5c5c4e21a7
16 changed files with 160 additions and 29 deletions

View File

@ -27,7 +27,7 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyVersion("2.0.1.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
@ -57,5 +57,5 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.1.0")]
[assembly: ComVisibleAttribute(false)]

View File

@ -389,6 +389,7 @@ namespace IndianHealthService.ClinicalScheduling
path = path.Substring(0, path.LastIndexOf('\\'));
//path = path.Substring(0, path.LastIndexOf('\\'));
path = path + '\\' + "Putty\\putty.exe";
if (System.IO.File.Exists(path))
{
string prms = "-ssh -l " + m_SshUser + " -pw " + m_SshPassword + " -L " + m_Port + ":127.0.0.1:" + m_Port + " " + m_Server;
@ -920,8 +921,15 @@ DoneTrying:
setProgressDelegate(21);
_current.RemoteSession.EventServices.Subscribe("BSDX ADMIN SHUTDOWN");
_current.RemoteSession.EventServices.EventPollingInterval = 5000; //in milliseconds
_current.RemoteSession.EventServices.IsEventPollingEnabled = true;
string result = _current.RemoteSession.TransmitRPC("VEFA GET BMX POLL INTERVAL","");
bool eventPoolEnabled = false;
if (result.Split('^')[0] == "1")
{
eventPoolEnabled = true;
}
int eventPoolInterval = Convert.ToInt32(result.Split('^')[1]);
_current.RemoteSession.EventServices.EventPollingInterval = (eventPoolInterval * 1000); //in milliseconds
_current.RemoteSession.EventServices.IsEventPollingEnabled = eventPoolEnabled;
//PORT TODO: No Autofire in BMX 4.0
//_current.RemoteSession.EventServices. = 12; //AutoFire every 12*5 seconds

View File

@ -4041,6 +4041,11 @@ namespace IndianHealthService.ClinicalScheduling
private void mnuRefresh_Click(object sender, EventArgs e)
{
//this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = 50000;
//this.m_DocManager.RemoteSession.EventServices.RefreshEventPoll();
this.DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
this.DocManager.RemoteSession.EventServices.RefreshEventPoll();
this.DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
ForceRefreshGrid();
}

View File

@ -52,8 +52,8 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>2.0.0.%2a</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>

View File

@ -36,8 +36,7 @@
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartArguments>/s=166.78.184.181 /p=9260 /su=client9260 /sp=not#1sostrong</StartArguments>
<StartPage>
</StartPage>
<StartProgram>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\IEExec.exe</StartProgram>

View File

@ -111,6 +111,10 @@ namespace IndianHealthService.ClinicalScheduling
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label lblWorkstations;
private System.Windows.Forms.DataGrid grdWorkStations;
private TabPage tpConfiguration;
private CheckBox chkEventPolling;
private Label lblEventPollInterval;
private NumericUpDown nudEventPolling;
private System.Windows.Forms.TextBox txtSendMessage;
#endregion Fields
@ -384,6 +388,13 @@ namespace IndianHealthService.ClinicalScheduling
cboBSDXClinic.DisplayMember = "RESOURCE_NAME";
cboBSDXClinic.ValueMember = "RESOURCEID";
string result = docManager.RemoteSession.TransmitRPC("VEFA GET BMX POLL INTERVAL", "");
if (result.Split('^')[0] == "1")
{
chkEventPolling.Checked = true;
nudEventPolling.Enabled = true;
nudEventPolling.Value = Convert.ToInt32(result.Split('^')[1]);
}
}
private void DManagement_Load(object sender, System.EventArgs e)
@ -513,6 +524,10 @@ namespace IndianHealthService.ClinicalScheduling
this.cmdWorkStationsMessage = new System.Windows.Forms.Button();
this.cmdWorkStationsShutdown = new System.Windows.Forms.Button();
this.cmdWorkStationsRefresh = new System.Windows.Forms.Button();
this.tpConfiguration = new System.Windows.Forms.TabPage();
this.nudEventPolling = new System.Windows.Forms.NumericUpDown();
this.lblEventPollInterval = new System.Windows.Forms.Label();
this.chkEventPolling = new System.Windows.Forms.CheckBox();
this.pnlPageBottom.SuspendLayout();
this.tabMain.SuspendLayout();
this.tpResources.SuspendLayout();
@ -545,6 +560,8 @@ namespace IndianHealthService.ClinicalScheduling
this.pnlWorkstations.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel1.SuspendLayout();
this.tpConfiguration.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudEventPolling)).BeginInit();
this.SuspendLayout();
//
// pnlPageBottom
@ -573,6 +590,7 @@ namespace IndianHealthService.ClinicalScheduling
this.tabMain.Controls.Add(this.tpAccessGroups);
this.tabMain.Controls.Add(this.tpTransferAppts);
this.tabMain.Controls.Add(this.tpWorkStations);
this.tabMain.Controls.Add(this.tpConfiguration);
this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabMain.Location = new System.Drawing.Point(0, 0);
this.tabMain.Name = "tabMain";
@ -1182,6 +1200,63 @@ namespace IndianHealthService.ClinicalScheduling
this.cmdWorkStationsRefresh.Text = "&Refresh";
this.cmdWorkStationsRefresh.Click += new System.EventHandler(this.cmdWorkStationsRefresh_Click);
//
// tpConfiguration
//
this.tpConfiguration.BackColor = System.Drawing.SystemColors.Control;
this.tpConfiguration.Controls.Add(this.nudEventPolling);
this.tpConfiguration.Controls.Add(this.lblEventPollInterval);
this.tpConfiguration.Controls.Add(this.chkEventPolling);
this.tpConfiguration.Location = new System.Drawing.Point(4, 22);
this.tpConfiguration.Name = "tpConfiguration";
this.tpConfiguration.Padding = new System.Windows.Forms.Padding(3);
this.tpConfiguration.Size = new System.Drawing.Size(696, 428);
this.tpConfiguration.TabIndex = 7;
this.tpConfiguration.Text = "Configuration";
//
// nudEventPolling
//
this.nudEventPolling.Enabled = false;
this.nudEventPolling.Location = new System.Drawing.Point(374, 24);
this.nudEventPolling.Maximum = new decimal(new int[] {
9999999,
0,
0,
0});
this.nudEventPolling.Minimum = new decimal(new int[] {
5,
0,
0,
0});
this.nudEventPolling.Name = "nudEventPolling";
this.nudEventPolling.Size = new System.Drawing.Size(74, 20);
this.nudEventPolling.TabIndex = 11;
this.nudEventPolling.Value = new decimal(new int[] {
5,
0,
0,
0});
this.nudEventPolling.ValueChanged += new System.EventHandler(this.nudEventPolling_ValueChanged);
//
// lblEventPollInterval
//
this.lblEventPollInterval.AutoSize = true;
this.lblEventPollInterval.Location = new System.Drawing.Point(185, 26);
this.lblEventPollInterval.Name = "lblEventPollInterval";
this.lblEventPollInterval.Size = new System.Drawing.Size(167, 13);
this.lblEventPollInterval.TabIndex = 9;
this.lblEventPollInterval.Text = "Event Polling Interval (in seconds)";
//
// chkEventPolling
//
this.chkEventPolling.AutoSize = true;
this.chkEventPolling.Location = new System.Drawing.Point(33, 25);
this.chkEventPolling.Name = "chkEventPolling";
this.chkEventPolling.Size = new System.Drawing.Size(130, 17);
this.chkEventPolling.TabIndex = 7;
this.chkEventPolling.Text = "Event Polling Enabled";
this.chkEventPolling.UseVisualStyleBackColor = true;
this.chkEventPolling.CheckedChanged += new System.EventHandler(this.chkEventPolling_CheckedChanged);
//
// DManagement
//
this.AcceptButton = this.cmdClose;
@ -1227,6 +1302,9 @@ namespace IndianHealthService.ClinicalScheduling
this.groupBox1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.tpConfiguration.ResumeLayout(false);
this.tpConfiguration.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudEventPolling)).EndInit();
this.ResumeLayout(false);
}
@ -2401,5 +2479,31 @@ namespace IndianHealthService.ClinicalScheduling
}
#endregion Workstations
private void chkEventPolling_CheckedChanged(object sender, EventArgs e)
{
if (chkEventPolling.Checked)
{
nudEventPolling.Enabled = true;
int interval = Convert.ToInt32(nudEventPolling.Value);
string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", interval.ToString());
this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = (interval * 1000);
this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
}
else
{
nudEventPolling.Enabled = false;
string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", "0");
this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = 5000;
this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
}
}
private void nudEventPolling_ValueChanged(object sender, EventArgs e)
{
string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", nudEventPolling.Value.ToString());
this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = (Convert.ToInt32(nudEventPolling.Value) * 1000);
this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
}
}
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="ClinicalScheduling.application" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<assemblyIdentity name="ClinicalScheduling.application" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="ClinicalScheduling" asmv2:product="ClinicalScheduling" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
@ -8,13 +8,13 @@
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="ClinicalScheduling.exe.manifest" size="8350">
<assemblyIdentity name="ClinicalScheduling.exe" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<assemblyIdentity name="ClinicalScheduling.exe" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>j5w40iyHj1z9mmfDIEACj+b+ltk=</dsig:DigestValue>
<dsig:DigestValue>E9N0YhCSPMvozxYigYswtTijFvY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@ -11,5 +11,20 @@
<add key="smtpPort" value="25" />
<add key="userPassword" value="lyhlobkkvvqieebd" />
<add key="enableSSL" value="true" />
<add key="enableSMS" value="true" />
<add key="smsHttpService" value="http://api.clickatell.com/http/sendmsg?user=faisalsami&amp;password=cOaCIHXdJNZULQ&amp;api_id=3578792&amp;to={{TO}}&amp;text={{MSG}}" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="ClinicalScheduling.exe" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<asmv1:assemblyIdentity name="ClinicalScheduling.exe" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<description asmv2:iconFile="hwIco281.ICO" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="ClinicalScheduling" version="2.0.0.18765" language="neutral" processorArchitecture="msil" />
<assemblyIdentity name="ClinicalScheduling" version="2.0.1.36047" language="neutral" processorArchitecture="msil" />
<commandLine file="ClinicalScheduling.exe" parameters="" />
</entryPoint>
<trustInfo>
@ -43,50 +43,50 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXNET40.dll" size="102400">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXNET40.dll" size="98304">
<assemblyIdentity name="BMXNET40" version="4.0.0.1" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>87hyS0Cc8g0C25p8lM/YJxDWmS0=</dsig:DigestValue>
<dsig:DigestValue>BuPNd0YwOUCOVZHLX1mbUngBCRA=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXWIN40.dll" size="89600">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXWIN40.dll" size="86528">
<assemblyIdentity name="BMXWIN40" version="4.0.0.1" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>Bat1XLf4HJ6KVnk8jAG0GWO3Btw=</dsig:DigestValue>
<dsig:DigestValue>GUd/pXlwaLDjoY/43aEkcBkqBKY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ClinicalScheduling.exe" size="724992">
<assemblyIdentity name="ClinicalScheduling" version="2.0.0.18765" language="neutral" processorArchitecture="msil" />
<assemblyIdentity name="ClinicalScheduling" version="2.0.1.36047" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>kLWcOlE0wrV4llowt87RoKjIMgg=</dsig:DigestValue>
<dsig:DigestValue>9kNK3139SoUY6RVxrpqC/e+Jrjg=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ar\ClinicalScheduling.resources.dll" size="5120">
<assemblyIdentity name="ClinicalScheduling.resources" version="2.0.0.18765" language="ar" processorArchitecture="msil" />
<assemblyIdentity name="ClinicalScheduling.resources" version="2.0.1.36047" language="ar" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>uGPZoM38EhWW3xqvMljNbIyrwX0=</dsig:DigestValue>
<dsig:DigestValue>MfE38dsPcWZ3BLKvbiIPDrfZaDo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -102,13 +102,13 @@
</hash>
</dependentAssembly>
</dependency>
<file name="ClinicalScheduling.exe.config" size="613">
<file name="ClinicalScheduling.exe.config" size="1672">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>lEUsBWWQtJix6v4p2Q8lns1f5Vk=</dsig:DigestValue>
<dsig:DigestValue>BCce4nUOp5hl3qvhPufpWRGw9q4=</dsig:DigestValue>
</hash>
</file>
<file name="dsPatientApptDisplay2.xsd" size="8748">