Coder Social home page Coder Social logo

astm's People

Contributors

yigityus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

astm's Issues

Tests Scheme

Thank you for the code it's very helpful.
I have a question, the tests that ASTM device need to know the test information, I have test code (ex: SLTFT ) and SCode (ex: TFT). and have another table contains ParamterCode
[ DBSS, RERF, THYR, HSDG, TRII ] as foreign table

`
static void SerialWrite()
{
wh = new AutoResetEvent(false);

        Message m = new Message(_barcode);

        string sql = "select C.CIHAZ_TEST from CHZ_ORDER O, CHZ_TEST C where O.TUBE_BARCODE=" +
            _barcode.ToString() + "and C.CIHAZ_ID=" + cihazId + "and C.LIS_TEST=O.LIS_TEST and O.PENDING='P'";
        
        OracleCommand cmd = new OracleCommand(sql, conn);
        List<string> tests = new List<string>();
        OracleDataReader read;
        try
        {
            conn.Open();
            read = cmd.ExecuteReader();


            while (read.Read())
            {
                tests.Add(read[0].ToString());
            }

        }


        catch (OracleException OEx)
        {
            Console.WriteLine(OEx.Message);
        }
        finally
        {
            conn.Close();
            cmd.Dispose();
        }


        string[] send = m.SendOrder(tests);

        for (int i = 0; i < send.Length; i++)
        {
            sp.Write(send[i]);
            wh.WaitOne();
        }

        Console.WriteLine("[Host ~]$ ordered: {0}", "tests");
    }`

so what I send in sp.Write(send[i]); ?

Laboratory equipment

Hello i'm a software developer in Iraq and I developed several LIMS and I have so many clients currently I have ABBOTT devices that I want to connect to my application is that possible can you help me ? and does your code work the correct way ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.