예제 #1
0
 public IPCCamera(FormDemo mf)
 {
     if (MF == null)
     {
         MF = mf;
     }
 }
예제 #2
0
 public StopType(FormDemo mf)
 {
     if (MF == null)
     {
         MF = mf;
     }
 }
예제 #3
0
        private static string sql_port;     //端口


        #region ******数据库连接******
        public SQLServerInter(FormDemo mf, string sqlname, string sqlhost, string sqlusername, string sqlpassword, string connstr)
        {
            if (MF == null)
            {
                MF = mf;
            }
            sql_dbname   = sqlname;
            sql_ip       = sqlhost;
            sql_username = sqlusername;
            sql_password = sqlpassword;
            connStr      = connstr;
        }
예제 #4
0
 public MysqlInter(FormDemo mf, string Databasetemp, string DataSourcetemp, string UserIdtemp, string Passwordtemp, string porttemp, string connstrtemp)
 {
     if (MF == null)
     {
         MF = mf;
     }
     sql_dbname   = Databasetemp;
     sql_ip       = DataSourcetemp;
     sql_username = UserIdtemp;
     sql_password = Passwordtemp;
     sql_port     = porttemp;
     connStr      = connstrtemp;
 }
예제 #5
0
        public GridDouclickShowPicDialog(string veht, string plateno, string path, string forcetim, string otype, string onumber, string laser_vehlenth, string laser_vehheight, FormDemo fm)
        {
            InitializeComponent();

            vehtype      = veht;            //激光车型
            getplateno   = plateno;         //摄像机车牌
            imagepath    = path;            //图片路径
            forcetime    = forcetim;        //时间
            ovehtype     = otype;           //Obu车型
            oplatenumber = onumber;         //OBU车牌
            vehlenth     = laser_vehlenth;  //车长
            vehheight    = laser_vehheight; //车高
            MF           = fm;
        }