Changeset 1731


Ignore:
Timestamp:
Apr 28, 2016, 9:49:25 AM (6 years ago)
Author:
Faisal Sami
Message:

BSDX Scheduling changes for version 2.0.1.

Location:
Scheduling/trunk/cs/bsdx0200GUISourceCode
Files:
16 edited

Legend:

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

    r1728 r1731  
    2828// by using the '*' as shown below:
    2929
    30 [assembly: AssemblyVersion("2.0.0.*")]
     30[assembly: AssemblyVersion("2.0.1.*")]
    3131
    3232//
     
    5858[assembly: AssemblyKeyFile("")]
    5959[assembly: AssemblyKeyName("")]
    60 [assembly: AssemblyFileVersion("2.0.0.0")]
     60[assembly: AssemblyFileVersion("2.0.1.0")]
    6161[assembly: ComVisibleAttribute(false)]
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r1728 r1731  
    390390                //path = path.Substring(0, path.LastIndexOf('\\'));
    391391                path = path + '\\' + "Putty\\putty.exe";
     392               
    392393                if (System.IO.File.Exists(path))
    393394                {
     
    920921            setProgressDelegate(21);
    921922            _current.RemoteSession.EventServices.Subscribe("BSDX ADMIN SHUTDOWN");
    922 
    923                         _current.RemoteSession.EventServices.EventPollingInterval = 5000; //in milliseconds
    924                         _current.RemoteSession.EventServices.IsEventPollingEnabled = true;
     923                       
     924            string result = _current.RemoteSession.TransmitRPC("VEFA GET BMX POLL INTERVAL","");
     925            bool eventPoolEnabled = false;
     926            if (result.Split('^')[0] == "1")
     927            {
     928                eventPoolEnabled = true;
     929            }
     930            int eventPoolInterval = Convert.ToInt32(result.Split('^')[1]);
     931            _current.RemoteSession.EventServices.EventPollingInterval = (eventPoolInterval * 1000); //in milliseconds
     932                        _current.RemoteSession.EventServices.IsEventPollingEnabled = eventPoolEnabled;           
    925933                       
    926934            //PORT TODO: No Autofire in BMX 4.0
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs

    r1728 r1731  
    40424042        private void mnuRefresh_Click(object sender, EventArgs e)
    40434043        {
     4044            //this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = 50000;
     4045            //this.m_DocManager.RemoteSession.EventServices.RefreshEventPoll();
     4046            this.DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
     4047            this.DocManager.RemoteSession.EventServices.RefreshEventPoll();
     4048            this.DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
    40444049            ForceRefreshGrid();
    40454050        }
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj

    r1728 r1731  
    5353    <UpdateRequired>false</UpdateRequired>
    5454    <MapFileExtensions>true</MapFileExtensions>
    55     <ApplicationRevision>1</ApplicationRevision>
    56     <ApplicationVersion>2.0.0.%2a</ApplicationVersion>
     55    <ApplicationRevision>0</ApplicationRevision>
     56    <ApplicationVersion>2.0.1.%2a</ApplicationVersion>
    5757    <UseApplicationTrust>false</UseApplicationTrust>
    5858    <PublishWizardCompleted>true</PublishWizardCompleted>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user

    r1728 r1731  
    3737    </RemoteDebugMachine>
    3838    <StartAction>Project</StartAction>
    39     <StartArguments>
    40     </StartArguments>
     39    <StartArguments>/s=166.78.184.181 /p=9260 /su=client9260 /sp=not#1sostrong</StartArguments>
    4140    <StartPage>
    4241    </StartPage>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DManagement.cs

    r1513 r1731  
    112112                private System.Windows.Forms.Label lblWorkstations;
    113113                private System.Windows.Forms.DataGrid grdWorkStations;
    114                 private System.Windows.Forms.TextBox txtSendMessage;
     114        private TabPage tpConfiguration;
     115        private CheckBox chkEventPolling;
     116        private Label lblEventPollInterval;
     117        private NumericUpDown nudEventPolling;
     118        private System.Windows.Forms.TextBox txtSendMessage;
    115119
    116120                #endregion Fields
     
    385389                        cboBSDXClinic.ValueMember = "RESOURCEID";
    386390
    387                 }
     391            string result = docManager.RemoteSession.TransmitRPC("VEFA GET BMX POLL INTERVAL", "");
     392            if (result.Split('^')[0] == "1")
     393            {
     394                chkEventPolling.Checked = true;
     395                nudEventPolling.Enabled = true;
     396                nudEventPolling.Value = Convert.ToInt32(result.Split('^')[1]);
     397            }           
     398        }
    388399
    389400                private void DManagement_Load(object sender, System.EventArgs e)
    390401                {
    391                         this.cmdChangeResource.Enabled = false;
     402            this.cmdChangeResource.Enabled = false;
    392403                        this.cmdRemoveUser.Enabled = false;
    393404                        //Select the grid's zeroeth row
     
    514525            this.cmdWorkStationsShutdown = new System.Windows.Forms.Button();
    515526            this.cmdWorkStationsRefresh = new System.Windows.Forms.Button();
     527            this.tpConfiguration = new System.Windows.Forms.TabPage();
     528            this.nudEventPolling = new System.Windows.Forms.NumericUpDown();
     529            this.lblEventPollInterval = new System.Windows.Forms.Label();
     530            this.chkEventPolling = new System.Windows.Forms.CheckBox();
    516531            this.pnlPageBottom.SuspendLayout();
    517532            this.tabMain.SuspendLayout();
     
    546561            this.groupBox1.SuspendLayout();
    547562            this.panel1.SuspendLayout();
     563            this.tpConfiguration.SuspendLayout();
     564            ((System.ComponentModel.ISupportInitialize)(this.nudEventPolling)).BeginInit();
    548565            this.SuspendLayout();
    549566            //
     
    574591            this.tabMain.Controls.Add(this.tpTransferAppts);
    575592            this.tabMain.Controls.Add(this.tpWorkStations);
     593            this.tabMain.Controls.Add(this.tpConfiguration);
    576594            this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
    577595            this.tabMain.Location = new System.Drawing.Point(0, 0);
     
    831849            this.label1.TabIndex = 1;
    832850            this.label1.Text = " Use the Access Types panel to define the kinds of access available for schedulin" +
    833                 "g at this facility.  Common types of access include Walkin, Scheduled, Same Day," +
    834                 " and Dental Expanded Functions.";
     851    "g at this facility.  Common types of access include Walkin, Scheduled, Same Day," +
     852    " and Dental Expanded Functions.";
    835853            //
    836854            // pnlAddEditAT
     
    11821200            this.cmdWorkStationsRefresh.Text = "&Refresh";
    11831201            this.cmdWorkStationsRefresh.Click += new System.EventHandler(this.cmdWorkStationsRefresh_Click);
     1202            //
     1203            // tpConfiguration
     1204            //
     1205            this.tpConfiguration.BackColor = System.Drawing.SystemColors.Control;
     1206            this.tpConfiguration.Controls.Add(this.nudEventPolling);
     1207            this.tpConfiguration.Controls.Add(this.lblEventPollInterval);
     1208            this.tpConfiguration.Controls.Add(this.chkEventPolling);
     1209            this.tpConfiguration.Location = new System.Drawing.Point(4, 22);
     1210            this.tpConfiguration.Name = "tpConfiguration";
     1211            this.tpConfiguration.Padding = new System.Windows.Forms.Padding(3);
     1212            this.tpConfiguration.Size = new System.Drawing.Size(696, 428);
     1213            this.tpConfiguration.TabIndex = 7;
     1214            this.tpConfiguration.Text = "Configuration";
     1215            //
     1216            // nudEventPolling
     1217            //
     1218            this.nudEventPolling.Enabled = false;
     1219            this.nudEventPolling.Location = new System.Drawing.Point(374, 24);
     1220            this.nudEventPolling.Maximum = new decimal(new int[] {
     1221            9999999,
     1222            0,
     1223            0,
     1224            0});
     1225            this.nudEventPolling.Minimum = new decimal(new int[] {
     1226            5,
     1227            0,
     1228            0,
     1229            0});
     1230            this.nudEventPolling.Name = "nudEventPolling";
     1231            this.nudEventPolling.Size = new System.Drawing.Size(74, 20);
     1232            this.nudEventPolling.TabIndex = 11;
     1233            this.nudEventPolling.Value = new decimal(new int[] {
     1234            5,
     1235            0,
     1236            0,
     1237            0});
     1238            this.nudEventPolling.ValueChanged += new System.EventHandler(this.nudEventPolling_ValueChanged);
     1239            //
     1240            // lblEventPollInterval
     1241            //
     1242            this.lblEventPollInterval.AutoSize = true;
     1243            this.lblEventPollInterval.Location = new System.Drawing.Point(185, 26);
     1244            this.lblEventPollInterval.Name = "lblEventPollInterval";
     1245            this.lblEventPollInterval.Size = new System.Drawing.Size(167, 13);
     1246            this.lblEventPollInterval.TabIndex = 9;
     1247            this.lblEventPollInterval.Text = "Event Polling Interval (in seconds)";
     1248            //
     1249            // chkEventPolling
     1250            //
     1251            this.chkEventPolling.AutoSize = true;
     1252            this.chkEventPolling.Location = new System.Drawing.Point(33, 25);
     1253            this.chkEventPolling.Name = "chkEventPolling";
     1254            this.chkEventPolling.Size = new System.Drawing.Size(130, 17);
     1255            this.chkEventPolling.TabIndex = 7;
     1256            this.chkEventPolling.Text = "Event Polling Enabled";
     1257            this.chkEventPolling.UseVisualStyleBackColor = true;
     1258            this.chkEventPolling.CheckedChanged += new System.EventHandler(this.chkEventPolling_CheckedChanged);
    11841259            //
    11851260            // DManagement
     
    12281303            this.panel1.ResumeLayout(false);
    12291304            this.panel1.PerformLayout();
     1305            this.tpConfiguration.ResumeLayout(false);
     1306            this.tpConfiguration.PerformLayout();
     1307            ((System.ComponentModel.ISupportInitialize)(this.nudEventPolling)).EndInit();
    12301308            this.ResumeLayout(false);
    12311309
     
    24022480        #endregion Workstations
    24032481
     2482        private void chkEventPolling_CheckedChanged(object sender, EventArgs e)
     2483        {
     2484            if (chkEventPolling.Checked)
     2485            {
     2486                nudEventPolling.Enabled = true;
     2487                int interval = Convert.ToInt32(nudEventPolling.Value);
     2488                string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", interval.ToString());               
     2489                this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = (interval * 1000);
     2490                this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
     2491            }
     2492            else
     2493            {
     2494                nudEventPolling.Enabled = false;
     2495                string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", "0");               
     2496                this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = 5000;
     2497                this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
     2498            }
     2499        }
     2500
     2501        private void nudEventPolling_ValueChanged(object sender, EventArgs e)
     2502        {
     2503            string result = this.m_DocManager.RemoteSession.TransmitRPC("VEFA SET BMX POLL INTERVAL", nudEventPolling.Value.ToString());
     2504            this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = false;
     2505            this.m_DocManager.RemoteSession.EventServices.EventPollingInterval = (Convert.ToInt32(nudEventPolling.Value) * 1000);
     2506            this.m_DocManager.RemoteSession.EventServices.IsEventPollingEnabled = true;
     2507        }
    24042508    }
    24052509}
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.application

    r1728 r1731  
    11<?xml version="1.0" encoding="utf-8"?>
    22<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">
    3   <assemblyIdentity name="ClinicalScheduling.application" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
     3  <assemblyIdentity name="ClinicalScheduling.application" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
    44  <description asmv2:publisher="ClinicalScheduling" asmv2:product="ClinicalScheduling" xmlns="urn:schemas-microsoft-com:asm.v1" />
    55  <deployment install="true" mapFileExtensions="true" />
     
    99  <dependency>
    1010    <dependentAssembly dependencyType="install" codebase="ClinicalScheduling.exe.manifest" size="8350">
    11       <assemblyIdentity name="ClinicalScheduling.exe" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
     11      <assemblyIdentity name="ClinicalScheduling.exe" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
    1212      <hash>
    1313        <dsig:Transforms>
     
    1515        </dsig:Transforms>
    1616        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    17         <dsig:DigestValue>j5w40iyHj1z9mmfDIEACj+b+ltk=</dsig:DigestValue>
     17        <dsig:DigestValue>E9N0YhCSPMvozxYigYswtTijFvY=</dsig:DigestValue>
    1818      </hash>
    1919    </dependentAssembly>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe.config

    r1728 r1731  
    1212    <add key="userPassword" value="lyhlobkkvvqieebd" />
    1313    <add key="enableSSL" value="true" />
     14    <add key="enableSMS" value="true" />
     15    <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}}" />
     16    <add key="ClientSettingsProvider.ServiceUri" value="" />
    1417  </appSettings>
     18  <system.web>
     19    <membership defaultProvider="ClientAuthenticationMembershipProvider">
     20      <providers>
     21        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
     22      </providers>
     23    </membership>
     24    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
     25      <providers>
     26        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
     27      </providers>
     28    </roleManager>
     29  </system.web>
    1530</configuration>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe.manifest

    r1728 r1731  
    11<?xml version="1.0" encoding="utf-8"?>
    22<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">
    3   <asmv1:assemblyIdentity name="ClinicalScheduling.exe" version="2.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
     3  <asmv1:assemblyIdentity name="ClinicalScheduling.exe" version="2.0.1.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
    44  <description asmv2:iconFile="hwIco281.ICO" xmlns="urn:schemas-microsoft-com:asm.v1" />
    55  <application />
    66  <entryPoint>
    7     <assemblyIdentity name="ClinicalScheduling" version="2.0.0.18765" language="neutral" processorArchitecture="msil" />
     7    <assemblyIdentity name="ClinicalScheduling" version="2.0.1.36047" language="neutral" processorArchitecture="msil" />
    88    <commandLine file="ClinicalScheduling.exe" parameters="" />
    99  </entryPoint>
     
    4444  </dependency>
    4545  <dependency>
    46     <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXNET40.dll" size="102400">
     46    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXNET40.dll" size="98304">
    4747      <assemblyIdentity name="BMXNET40" version="4.0.0.1" language="neutral" processorArchitecture="msil" />
    4848      <hash>
     
    5151        </dsig:Transforms>
    5252        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    53         <dsig:DigestValue>87hyS0Cc8g0C25p8lM/YJxDWmS0=</dsig:DigestValue>
     53        <dsig:DigestValue>BuPNd0YwOUCOVZHLX1mbUngBCRA=</dsig:DigestValue>
    5454      </hash>
    5555    </dependentAssembly>
    5656  </dependency>
    5757  <dependency>
    58     <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXWIN40.dll" size="89600">
     58    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="BMXWIN40.dll" size="86528">
    5959      <assemblyIdentity name="BMXWIN40" version="4.0.0.1" language="neutral" processorArchitecture="msil" />
    6060      <hash>
     
    6363        </dsig:Transforms>
    6464        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    65         <dsig:DigestValue>Bat1XLf4HJ6KVnk8jAG0GWO3Btw=</dsig:DigestValue>
     65        <dsig:DigestValue>GUd/pXlwaLDjoY/43aEkcBkqBKY=</dsig:DigestValue>
    6666      </hash>
    6767    </dependentAssembly>
     
    6969  <dependency>
    7070    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ClinicalScheduling.exe" size="724992">
    71       <assemblyIdentity name="ClinicalScheduling" version="2.0.0.18765" language="neutral" processorArchitecture="msil" />
     71      <assemblyIdentity name="ClinicalScheduling" version="2.0.1.36047" language="neutral" processorArchitecture="msil" />
    7272      <hash>
    7373        <dsig:Transforms>
     
    7575        </dsig:Transforms>
    7676        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    77         <dsig:DigestValue>kLWcOlE0wrV4llowt87RoKjIMgg=</dsig:DigestValue>
     77        <dsig:DigestValue>9kNK3139SoUY6RVxrpqC/e+Jrjg=</dsig:DigestValue>
    7878      </hash>
    7979    </dependentAssembly>
     
    8181  <dependency>
    8282    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ar\ClinicalScheduling.resources.dll" size="5120">
    83       <assemblyIdentity name="ClinicalScheduling.resources" version="2.0.0.18765" language="ar" processorArchitecture="msil" />
     83      <assemblyIdentity name="ClinicalScheduling.resources" version="2.0.1.36047" language="ar" processorArchitecture="msil" />
    8484      <hash>
    8585        <dsig:Transforms>
     
    8787        </dsig:Transforms>
    8888        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    89         <dsig:DigestValue>uGPZoM38EhWW3xqvMljNbIyrwX0=</dsig:DigestValue>
     89        <dsig:DigestValue>MfE38dsPcWZ3BLKvbiIPDrfZaDo=</dsig:DigestValue>
    9090      </hash>
    9191    </dependentAssembly>
     
    103103    </dependentAssembly>
    104104  </dependency>
    105   <file name="ClinicalScheduling.exe.config" size="613">
     105  <file name="ClinicalScheduling.exe.config" size="1672">
    106106    <hash>
    107107      <dsig:Transforms>
     
    109109      </dsig:Transforms>
    110110      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    111       <dsig:DigestValue>lEUsBWWQtJix6v4p2Q8lns1f5Vk=</dsig:DigestValue>
     111      <dsig:DigestValue>BCce4nUOp5hl3qvhPufpWRGw9q4=</dsig:DigestValue>
    112112    </hash>
    113113  </file>
Note: See TracChangeset for help on using the changeset viewer.