Focas Fwlib32 Cnc Library on Linux Platform

Question about making a UITabbar dissappear and then reappear when a UITableViewCell is clicked

This is because the view itself does not fill the whole screen, only the areas outside the tab bar. Hiding the tab bar will not resize the view.

View area

The easiest way to overcome this is to create a new view, which fills the entire screen (thus, not part of the tab bar controller), and push that when needed:

- (IBAction)buttonPressed:(id)sender {

ThirdViewController *third = [[ThirdViewController alloc] initWithNibName:@"ThirdView" bundle:nil];
[self.navigationController pushViewController:third animated:YES];

[[[UIApplication sharedApplication] keyWindow] addSubview:third.view];

[third release];
}

How to get data from a cnc controller and store it in a database?

(Sorry my example is for the 32bit implementation, but the 64 bit should parallel it)

Please take a look at your Fanuc Focus API CD.

You should find a directory like this:

\Fanuc Focas2 Drivers & Libraries V4.20\Fwlib\Dot NET sample

In that directory there will be the file:

fwlib32.vb

Add this file to your project. It will define all the possible function imports that you can use in Focas (Later you can trip this down of course, but to get started learning this, just use this file)

Find two consecutive rows

Assuming the rows have sequential IDs, something like this may be what you're looking for:

select top 1 * 
from
Bills b1
inner join Bills b2 on b1.id = b2.id - 1
where
b1.IsEstimate = 1 and b2.IsEstimate = 1
order by
b1.BillDate desc


Related Topics



Leave a reply



Submit