private void ProcessUpdateMsg(string sLine) { // Update messages are sent to the client anytime one of the fields in the current fieldset are updated. //var x = "Q,@ESU17,2463.50,2,08:26:54.256829,43,170391,2463.25,116,2463.50,159,2460.25,2463.75,2456.50,2459.75,a,01,"; m_priceUpdate.FromUpdateMsg(sLine); UpdatePrices?.Invoke(m_priceUpdate); }
// Process a summary message from the feed. private void ProcessSummaryMsg(string sLine) { // Summary data will be in the same format as the Update messages and will contain the most recent data for each field at the time you watch the symbol. //var x = "P,@RB#,0.15150,0,20:10:53.968110,110,0,,,0.15058,1,,,,0.14994,Cascv,01," m_priceUpdate.FromUpdateMsg(sLine); UpdatePrices?.Invoke(m_priceUpdate); output(sLine); }
public frmInsumos() { InitializeComponent(); string connectionString = ConfigurationManager.ConnectionStrings["sdprolizaEntitiessp"].ConnectionString; cnInsumos = new CNInsumos(connectionString, -1, null, false, 0); updatePrices = new UpdatePrices(connectionString); llenarComboProveedores(); llenarComboMonedas(); llenarComboFamilia(); llenarComboUnidadMedida(); HabilitarCampos(false); btnBorrar.Links[0].Visible = false; }