public void start(IVehicleDataSetting _dataSetting)
        {
            dataSetting      = _dataSetting;
            vehicle_contorls = dataSetting.loadAllReleaseVehicleControlData();
            cmbo_VehicleID_Value.DataSource    = vehicle_contorls;
            cmbo_VehicleID_Value.DisplayMember = "VEHICLE_ID";

            uc_bt_Save1.MyClick += Uc_bt_Save1_MyClick;
        }
예제 #2
0
        public void start(IVehicleDataSetting _dataSetting)
        {
            dataSetting      = _dataSetting;
            vehicle_contorls = dataSetting.loadAllReleaseVehicleControlData();
            cmbo_VehicleID_Value.DataSource    = vehicle_contorls;
            cmbo_VehicleID_Value.DisplayMember = "VEHICLE_ID";

            uc_bt_Save1.MyClick += Uc_bt_Save1_MyClick;

            cmbo_DirectOfHome_Value.DataSource    = Enum.GetValues(typeof(E_DIRC_DRIV)).Cast <E_DIRC_DRIV>();
            cmbo_TravelDirection_Value.DataSource = Enum.GetValues(typeof(E_DIRC_DRIV)).Cast <E_DIRC_DRIV>();
            cmbo_PoleOfEncoder_Value.DataSource   = Enum.GetValues(typeof(E_ENCODER_POLE)).Cast <E_ENCODER_POLE>();
        }